(standard-display-european 1)
(defconst my-fg "DarkOrange1")
(defconst my-bg "Black")
(defconst my-mg "DarkRed")
(setq default-frame-alist
`((font . "-*-Fixedsys-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(foreground-color . ,my-fg)
(background-color . ,my-bg)
(cursor-color . ,my-fg)
(width . 81) (height . 36) ,@default-frame-alist))
(set-default-font "-*-Fixedsys-normal-r-*-*-17-102-*-*-c-*-*-ansi-") (set-frame-width (selected-frame) 81) frame
(set-frame-height (selected-frame) 36)
(set-face-background 'modeline my-mg)
(set-face-foreground 'modeline my-fg)
(set-face-background 'region my-mg)
(set-face-background 'highlight my-fg)
(set-face-foreground 'highlight my-bg)
(set-face-font 'bold "-*-Terminal-normal-r-*-*-18-108-*-*-c-*-*-oem-")
(set-face-font 'italic "-*-Lucida
Console-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(iconify-frame (selected-frame))
(autoload 'haskell-mode "haskell"
"Major mode for editing Haskell scripts." t)
(autoload 'literate-haskell-mode "haskell"
"Major mode for editing literate Haskell scripts." t)
(setq auto-mode-alist
(cons '("\\.lhl\\'" . literate-haskell-mode)
(cons '("\\.hl\\'" . haskell-mode)
(cons '("\\.l\\'" . c-mode)
(cons '("\\.inc\\'" . asm-mode) auto-mode-alist)))))
(global-set-key [?\M-\C-g] 'goto-line)
(show-paren-mode 1)
(setq ange-ftp-ftp-program-name
(expand-file-name "ftp.exe" exec-directory))
(setq load-path (cons (expand-file-name "e:/gnus-5.4.55/lisp")
load-path))
(setq Info-default-directory-list
(cons "e:/gnus-5.4.53/texi" Info-default-directory-list))
(load-library "etags")
(defun my-C-find-tag-default ()
(or (save-excursion
(beginning-of-line)
(if (looking-at
"^[ \\t]*#[ \\t]*include[ \\t]*[<\"]\\([^>\"]+\\)[>\"]")
(match-string 1)))
(find-tag-default)))
(setq librarys-recognize-table (car tags-table-format-hooks))
(setcar tags-table-format-hooks
'(lambda ()
(if (funcall librarys-recognize-table)
(set-syntax-table
(save-excursion
(goto-char (point-min))
(search-forward "\f\n")
(set-buffer (find-file-noselect (file-of-tag)))
(syntax-table)))
nil)))
(defun re-search-forward-sensitive (REGEXP &optional BOUND NOERROR COUNT)
"wrapper for re-search-forward that locally binds case-fold-search to
nil to force a case-sensitive search."
(let ((case-fold-search nil))
(re-search-forward REGEXP BOUND NOERROR COUNT)))
(defun my-tags-search (arg regexp &optional file-list-form)
"Search through all files listed in tags table for match for REGEXP.
Stops when a match is found.
To continue searching for next match, use command
\\[tags-loop-continue].
See documentation of variable `tags-file-name'.
With prefix arg, force case-sensitivity"
(interactive "P\nsTags search (regexp): ")
(let ((search-function (if arg 're-search-forward-sensitive
're-search-forward)))
(if (and (equal regexp "")
(eq (car tags-loop-scan) search-function)
(null tags-loop-operate))
(tags-loop-continue nil)
(setq tags-loop-scan
(list search-function (list 'quote regexp) nil t)
tags-loop-operate nil)
(tags-loop-continue (or file-list-form t)))))
(setq tags-file-name "f:/arg/testbuild/tags")
(global-set-key "\C-x," 'my-tags-search)
(load-library "cc-mode")
(add-hook 'c-mode-hook
'(lambda ()
(setq comment-start "// "
comment-end ""
comment-multi-line nil
c-comment-start-regexp c-C++-comment-start-regexp
c-double-slash-is-comments-p t)
(c-setup-dual-comments c-mode-syntax-table)
(modify-syntax-entry ?_ "w")))
(setq c-hanging-braces-alist '((brace-list-open after)
(substatement-open after)
(block-close . c-snug-do-while)))
(add-hook 'c-mode-common-hook
'(lambda ()
(put major-mode 'find-tag-default-function
'my-C-find-tag-default)
(setq tab-width 3)
(c-set-style "bsd")
(setq c-basic-offset 3)
(c-set-offset 'knr-argdecl-intro 0)
(c-set-offset 'label -1000)
(c-toggle-auto-state 1)))
(load-library "font-lock")
(global-set-key [?\C-\S-l] 'font-lock-mode)
(setq font-lock-maximum-decoration t)
(setq font-lock-face-attributes
'((font-lock-comment-face "Orange")
(font-lock-string-face "LightSalmon")
(font-lock-keyword-face "SandyBrown")
(font-lock-function-name-face "Salmon")
(font-lock-variable-name-face "Sienna1")
(font-lock-type-face "Goldenrod1")
(font-lock-reference-face "Goldenrod1")))
(font-lock-make-faces)
(set-face-font 'font-lock-function-name-face
"-*-Terminal-normal-r-*-*-18-108-*-*-c-*-*-oem-")
(set-face-font 'font-lock-comment-face
"-*-Courier New-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(set-face-font 'font-lock-string-face
"-*-Lucida Console-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(set-face-font 'font-lock-keyword-face
"-*-Courier New-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(set-face-font 'font-lock-type-face
"-*-Courier New-normal-r-*-*-17-102-*-*-c-*-*-ansi-")
(set-face-font 'font-lock-reference-face
"-*-Terminal-normal-r-*-*-18-108-*-*-c-*-*-oem-")
(put 'narrow-to-region 'disabled nil)
(shell-command "net use /persistent:no lpt1: \\\\robtp\\Nashua" nil)
(switch-to-buffer "*scratch*")
(delete-other-windows)
(defun ps-print-to-local-HP-LaserJet ()
"print to local HP LaserJet"
(interactive)
(ps-print-buffer "lpt1"))
(global-set-key [f12] 'ps-print-to-local-HP-LaserJet)
(set-frame-height (selected-frame) 36)
(setq ediff-ignore-similar-regions t)
(setq ediff-use-last-dir t)
(setq ediff-diff-options " -b ")
(defun make-tab-stops-like-I-like-em ()
(if (and (/= tab-width 8) (eq major-mode 'text-mode))
(let ((column (* tab-width (/ 131 tab-width)))
(stops ()))
(while (>= column 0)
(setq stops (cons column stops)
column (- column tab-width)))
(setq tab-stop-list stops))))
(add-hook 'hack-local-variables-hook 'make-tab-stops-like-I-like-em)
(setq auto-mode-alist
(append
auto-mode-alist
(list (cons "\\.[bB][aA][tT]$" 'bat-mode))
(list (cons "CONFIG\\." 'bat-mode))
(list (cons "AUTOEXEC\\." 'bat-mode))))
(autoload 'bat-mode "bat-mode"
"DOS and WIndows BAT files" t)
(autoload 'woman "woman"
"Decode and browse a UN*X man page." t)
(autoload 'woman-find-file "woman"
"Find, decode and browse a specific UN*X man-page file." t)
(load-library "message")
(load "mime-setup")
(setq mail-host-address "AspenRes.Com")
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "rose.aspenres.com")
(setq smtpmail-smtp-service "smtp")
(setq smtpmail-local-domain "aspenres.com")
(setq smtpmail-debug-info t)
(load-library "smtpmail")
(setq smtpmail-code-conv-from nil)
(setq user-full-name "Robert Praetorius")
(setq mail-self-blind t)
(setq gnus-select-method '(nnfolder "")
gnus-secondary-select-methods nil
nnmail-spool-file "po:robert"
nnmail-pop-password-required t
nnmail-treat-duplicates 'warn
nnfolder-get-new-mail t
gnus-message-archive-method
`(nnfolder "archive"
(nnfolder-directory ,(nnheader-concat message-directory "archive"))
(nnfolder-active-file,(nnheader-concat message-directory "archive/active"))
(nnfolder-get-new-mail nil)
(nnfolder-inhibit-expiry t))
gnus-message-archive-group
'((if (message-news-p) "misc-news" "misc-mail"))
gnus-outgoing-message-group "nnfolder+archive:sent-mail")
(setq nnmail-split-methods
'(
("mail.NTEmacs"
"^To:.*ntemacs-\\(us\\|hack\\)ers\\|^Cc:.*ntemacs-\\(us\\|hack\\)ers")
("mail.gnu-win32" "^To:.*gnu-win32\\|^Cc:.*gnu-win32")
("mail.misc" "")))
(require 'gnuserv)
(gnuserv-start)
(put 'downcase-region 'disabled nil)
(put 'set-goal-column 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(setq enable-recursive-minibuffers t)
(put 'eval-expression 'disabled nil)
|