--- a/.emacs-my Mon Jan 17 16:16:05 2011 +0200
+++ b/.emacs-my Mon Jan 17 16:22:30 2011 +0200
@@ -10,7 +10,7 @@
;; For load order see README.
;;; ----------------------------------------------------------------
-;;; debugging.
+(message "debugging")
;; Shut off message buffer by setting nil.
(setq message-log-max 512)
@@ -19,7 +19,7 @@
(setq debug-on-error nil) ; t/nil
;;; ----------------------------------------------------------------
-;;; user info.
+(message "user info")
(setq user-full-name "Oleksandr Gavenko")
(setq user-mail-address "gavenkoa@gmail.com")
@@ -27,7 +27,7 @@
(setenv "ORGANIZATION" (concat user-full-name " <" user-mail-address ">"))
;;; ----------------------------------------------------------------
-;;; mode groups.
+(message "mode groups")
(defun my-modelist-to-hooklist (modes)
"Convert list of MODES to list of hooks for these modes."
@@ -78,7 +78,7 @@
"List of text mode hooks.")
;;; ----------------------------------------------------------------
-;;; appearance.
+(message "appearance")
(setq default-directory "~/")
@@ -164,13 +164,13 @@
(setq echo-keystrokes 0.2)
;;; ----------------------------------------------------------------
-;;; silent runing.
+(message "silent runing")
;; (setq inhibit-splash-screen t) ; nonexist on 21.4.1
(setq inhibit-startup-message t)
;;; ----------------------------------------------------------------
-;;; whitespaces.
+(message "whitespaces")
(setq default-indicate-empty-lines t)
(setq default-indicate-buffer-boundaries 'left)
@@ -183,7 +183,7 @@
(add-hook 'text-mode-hook (lambda () (setq require-final-newline nil)))
;;; ----------------------------------------------------------------
-;;; gnu serv, server.
+(message "gnu serv, server")
;; (load "~/emacs/bin/gnuserv/gnuserv.el")
;; (require 'gnuserv)
@@ -200,7 +200,7 @@
;; (desktop-read)
;;; ----------------------------------------------------------------
-;;; standart/general settings.
+(message "standart/general settings")
(if (boundp 'confirm-kill-emacs)
(setq confirm-kill-emacs 'yes-or-no-p))
@@ -259,7 +259,7 @@
)
;;; ----------------------------------------------------------------
-;;; switching, creating, selecting buffers.
+(message "switching, creating, selecting buffers")
(iswitchb-mode 1)
(setq iswitchb-buffer-ignore
@@ -279,7 +279,7 @@
(global-set-key "\C-x\C-b" 'ibuffer)
;;; ----------------------------------------------------------------
-;;; scrolling.
+(message "scrolling")
(defvar my-scroll-margin 4)
@@ -296,7 +296,7 @@
(append my-text-mode-hook-list my-devel-mode-hook-list my-scroll-margin-mode-hook-list) )
;;; ----------------------------------------------------------------
-;;; search, isearch, occur.
+(message "search, isearch, occur")
(setq case-fold-search t)
@@ -304,7 +304,7 @@
(setq search-highlight t) ; highlight incremental search
;;; ----------------------------------------------------------------
-;;; grep, find.
+(message "grep, find")
;; This settings have effect from Emacs 22.x.
(when (eq system-type 'windows-nt)
@@ -334,13 +334,13 @@
(global-set-key [M-f7] 'rgrep)
;;; ----------------------------------------------------------------
-;;; syntax highlighting.
+(message "syntax highlighting")
(setq font-lock-maximum-decoration t)
(global-font-lock-mode 1)
;;; ----------------------------------------------------------------
-;;; highlight selected text.
+(message "highlight selected text")
;; 1/-1, when the mark is active, the region is highlighted.
(transient-mark-mode 1)
@@ -360,7 +360,7 @@
)
;;; ----------------------------------------------------------------
-;;; highlighting current line.
+(message "highlighting current line")
(when window-system
(custom-set-faces '(hl-line ((t (:inherit highlight :background "light yellow")))))
@@ -368,13 +368,13 @@
)
;;; ----------------------------------------------------------------
-;;; paren, braces.
+(message "paren, braces")
(show-paren-mode 1) ; Parenthesis matching via highlighting.
(setq show-paren-style (quote parenthesis))
;;; ----------------------------------------------------------------
-;;; keyboard, mouse.
+(message "keyboard, mouse")
;; cyrillic-jis-russian for 567 is :,.
;; cyrillic-jcuken for SHIFT 567 is :,.
@@ -385,13 +385,13 @@
;; (pc-bindings-mode) ; Myself define keybinding, see
;;; ----------------------------------------------------------------
-;;; completion.
+(message "completion")
;; I remove partial-completion-mode because it depricated in Emacs 24.0.
;; Completion controled by 'completion-styles' variable.
;;; ----------------------------------------------------------------
-;;; mouse.
+(message "mouse")
;; Scroll Bar gets dragged by mouse butn 1
(global-set-key [vertical-scroll-bar down-mouse-1] 'scroll-bar-drag)
@@ -402,7 +402,7 @@
)
;;; ----------------------------------------------------------------
-;;; key binding, short-keys.
+(message "key binding, short-keys")
(global-set-key [home] 'beginning-of-line)
(global-set-key [end] 'end-of-line)
@@ -441,7 +441,7 @@
;; (global-set-key [language-change] 'ignore)
;;; ----------------------------------------------------------------
-;;; coding system, charset, locale, lang.
+(message "coding system, charset, locale, lang")
;; Emacs 23.1 no longer need codepage-setup.
(when (<= emacs-major-version 22)
@@ -482,12 +482,12 @@
)
;;; ----------------------------------------------------------------
-;;; open file, ffap.
+(message "open file, ffap")
(setq-default save-place t)
(require 'saveplace)
;;; ----------------------------------------------------------------
-;;; dired.
+(message "dired")
(require 'dired)
@@ -553,7 +553,7 @@
(define-key dired-mode-map (kbd "`") 'my-dired-flag-tmp-files)
;;; ----------------------------------------------------------------
-;;; ls-lisp, dired ls.
+(message "ls-lisp, dired ls")
;; If non-nil - use 'insert-directory-program', which I dislike.
(setq ls-lisp-use-insert-directory-program nil)
@@ -570,7 +570,7 @@
(require 'ls-lisp)
;;; ----------------------------------------------------------------
-;;; compression, archive.
+(message "compression, archive")
(require 'jka-compr) ; Automatic decompression, hooks for tar-mode.
(if (fboundp 'auto-compression-mode)
@@ -581,13 +581,13 @@
(add-to-list 'auto-mode-alist '("\\.\\(war\\|ear\\|sar\\|egg\\)\\'" . archive-mode))
;;; ----------------------------------------------------------------
-;;; image.
+(message "image")
(when (fboundp 'auto-image-file-mode)
(auto-image-file-mode 1))
;;; ----------------------------------------------------------------
-;;; recentf.
+(message "recentf")
(require 'recentf)
;; Prevent TRAMP to login on remote host when loading.
@@ -598,14 +598,14 @@
(global-set-key (kbd "\e\eq") 'recentf-open-files)
;;; ----------------------------------------------------------------
-;;; revert buffer.
+(message "revert buffer")
(global-set-key [f5] 'revert-buffer)
(setq revert-without-query (quote (".*")))
(setq auto-revert-interval 2)
;;; ----------------------------------------------------------------
-;;; convenient.
+(message "convenient")
(defun reglen()
"Show region length."
@@ -613,7 +613,7 @@
(message "%s" (- (region-end) (region-beginning))))
;;; ----------------------------------------------------------------
-;;; minibuffer.
+(message "minibuffer")
(require 'icomplete) ; Interactive completion in minibuffer.
(icomplete-mode 1)
@@ -627,13 +627,13 @@
) )
;;; ----------------------------------------------------------------
-;;; music.
+(message "music")
(setq gnus-audio-au-player "winamp.exe"
gnus-audio-directory "D:\\music"
gnus-audio-wav-player "winamp.exe")
;;; ----------------------------------------------------------------
-;;; browser.
+(message "browser")
(cond
((equal window-system 'w32)
@@ -644,7 +644,7 @@
(setq browse-url-browser-function 'browse-url-mozilla)))
;;; ----------------------------------------------------------------
-;;; calendar.
+(message "calendar")
;; (setq mark-holidays-in-calendar t)
;; (setq all-christian-calendar-holidays t)
@@ -654,12 +654,12 @@
(setq european-calendar-style t)
;;; ----------------------------------------------------------------
-;;; STANDARD HOOKS.
+(message "standard hooks")
(add-hook 'write-file-hooks 'time-stamp)
;;; ----------------------------------------------------------------
-;;; auto-fill.
+(message "auto-fill")
(setq-default fill-column 78)
@@ -675,7 +675,7 @@
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;;; ----------------------------------------------------------------
-;;; unknown.
+(message "unknown")
;; browse-url mailcrypt gnus message sendmail bbdb pilot bibtex eiffel-mode emacs-w3m
;; eudc filladapt hugs-mode mpg123 php-mode ps-print
@@ -683,7 +683,7 @@
;; discography - variant of BibTeX mode for discographies
;;; ----------------------------------------------------------------
-;;; cacl, calculator.
+(message "cacl, calculator")
(setq-default calc-group-digits t)
(setq-default calc-group-char "'")
@@ -702,12 +702,12 @@
(insert result)))))
;;; ----------------------------------------------------------------
-;;; TeX, LaTeX.
+(message "TeX, LaTeX")
(setq tex-run-command "initex")
;;; ----------------------------------------------------------------
-;;; AUC TeX.
+(message "AUC TeX")
;(add-hook 'LaTeX-mode-hook 'LaTeX-install-toolbar)
;; (setq TeX-parse-self t) ; Enable parse on load.
@@ -744,7 +744,7 @@
; 'TeX-run-command nil t))))
;;; ----------------------------------------------------------------
-;;; reftex.
+(message "reftex")
;; Reftex is included with Emacs 21.1.
@@ -756,7 +756,7 @@
;; (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
;;; ----------------------------------------------------------------
-;;; PreviewLatex.
+(message "PreviewLatex")
;(load "preview-latex.el" nil t t)
@@ -764,7 +764,7 @@
;(autoload 'LaTeX-preview-setup "preview")
;;; ----------------------------------------------------------------
-;;; Info.
+(message "Info")
;; Because of Debian policy documentation covered by FDL license with invariant sections not allowed in packet
;; repository tree. So it must be installed manually. My usual configuration is install user local software
@@ -773,13 +773,13 @@
(setenv "INFOPATH" "~/usr/share/info:"))
;;; ----------------------------------------------------------------
-;;; man, woman.
+(message "man, woman")
(setq woman-use-own-frame nil)
(setq woman-fill-frame t)
;;; ----------------------------------------------------------------
-;;; comint.
+(message "comint")
;; If non-nil, add a `/' to completed directories, ` ' to file names.
(setq comint-completion-addsuffix t)
@@ -787,7 +787,7 @@
(setq comint-eol-on-send t)
;;; ----------------------------------------------------------------
-;;; shell, sh, bash.
+(message "shell, sh, bash")
;; Setup Emacs to run bash as its primary shell.
;; (setq binary-process-input t)
@@ -824,7 +824,7 @@
)
;;; ----------------------------------------------------------------
-;;; spell, ispell, aspell.
+(message "spell, ispell, aspell")
;; Settings for spelling done in '.emacs-autogen'.
;(add-hook 'text-mode-hook 'flyspell-mode)
@@ -832,10 +832,10 @@
;(setq flyspell-delay '1)
;;; ----------------------------------------------------------------
-;;; GTD, PIM, organize, todo mode.
+(message "GTD, PIM, organize, todo mode")
;;; ----------------------------------------------------------------
-;;; org-mode.
+(message "org-mode")
(if (>= emacs-major-version 22)
(progn
@@ -864,7 +864,7 @@
(setq org-agenda-files '("~/.gtd/todo.org")) ))
;;; ----------------------------------------------------------------
-;;; remember-mode.
+(message "remember-mode")
(if (or (featurep 'remember) (fboundp 'remember))
(progn
@@ -882,7 +882,7 @@
) ))
;;; ----------------------------------------------------------------
-;;; TODO, XXX, FIXME highlight.
+(message "TODO, XXX, FIXME highlight")
;; Show blanks and FIXME
;; http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule
@@ -909,10 +909,10 @@
)
;;; ----------------------------------------------------------------
-;;; communication.
+(message "communication")
;;; ----------------------------------------------------------------
-;;; jabber.
+(message "jabber")
(when (featurep 'jabber)
(setq
@@ -974,7 +974,7 @@
(global-set-key (kbd "C-x C-j C-s") 'my-jabber-send)
;;; ----------------------------------------------------------------
-;;; rcirc.
+(message "rcirc")
;; Turn on logging everything to a special buffer, for debugging.
;; (setq rcirc-debug-flag t)
@@ -990,7 +990,7 @@
(setq rcirc-default-user-full-name user-full-name)
;;; ----------------------------------------------------------------
-;;; erc.
+(message "erc")
;; Take off noise message.
(setq erc-track-exclude-types '("JOIN" "PART" "QUIT" "NICK" "MODE"))
@@ -1001,7 +1001,7 @@
(setq erc-server-coding-system 'utf-8)
;;; ----------------------------------------------------------------
-;;; VCS, version control, cvs, svn, mercurial, hg, bazaar, bzr, git, fossil.
+(message "VCS, version control, cvs, svn, mercurial, hg, bazaar, bzr, git, fossil")
(if (equal window-system 'w32)
(progn
@@ -1039,20 +1039,20 @@
)
;;; ----------------------------------------------------------------
-;;; psvn.
+(message "psvn")
(setq svn-status-verbose t)
(setq svn-status-hide-unmodified t)
;;; ----------------------------------------------------------------
-;;; DVC.
+(message "DVC")
(when (featurep 'dvc-emacs)
(setq dvc-tips-enabled nil)
)
;;; ----------------------------------------------------------------
-;;; devel, prog, programming.
+(message "devel, prog, programming")
(add-to-list 'auto-mode-alist '("\\.cu$" . c-mode))
@@ -1076,7 +1076,7 @@
my-devel-mode-hook-list)
;;; ----------------------------------------------------------------
-;;; diff, patch, ediff, emerge.
+(message "diff, patch, ediff, emerge")
(setq diff-switches "-u")
@@ -1084,7 +1084,7 @@
(setq ediff-custom-diff-options "-u")
;;; ----------------------------------------------------------------
-;;; indenting.
+(message "indenting")
(setq standard-indent 4)
(setq c-basic-offset 4)
@@ -1104,7 +1104,7 @@
(setq i (- i 4))))
;;; ----------------------------------------------------------------
-;;; compile.
+(message "compile")
(setq compile-auto-highlight t
compile-command "make ")
@@ -1121,7 +1121,7 @@
;; (add-to-list 'compilation-mode-font-lock-keywords '("[ ]\\(/F[oe][^ ]+\\)" . 1))
;;; ----------------------------------------------------------------
-;;; TAGS, etags, ctags, GNU GLOBAL.
+(message "TAGS, etags, ctags, GNU GLOBAL")
;; One of 'tags-table-list' or 'tags-file-name' control which TAGS files to
;; use.
@@ -1136,7 +1136,7 @@
)
;;; ----------------------------------------------------------------
-;;; CEDET, semantic.
+(message "CEDET, semantic")
;; For debug use 'semantic-debug-idle-function' and 'semantic-debug-idle-work-function'.
@@ -1193,7 +1193,7 @@
)
;;; ----------------------------------------------------------------
-;;; imenu.
+(message "imenu")
(require 'imenu)
(when window-system
@@ -1207,17 +1207,17 @@
)
;;; ----------------------------------------------------------------
-;;; windows inf files for driver installing
+(message "windows inf files for driver installin")
(add-to-list 'auto-mode-alist '("\\.inf\\'" . conf-mode))
;;; ----------------------------------------------------------------
-;;; makefile, make.
+(message "makefile, make")
(add-to-list 'auto-mode-alist '("\\(Makefile\\|Makefile\\..+\\)\\'" . makefile-gmake-mode))
;;; ----------------------------------------------------------------
-;;; asm, assembler.
+(message "asm, assembler")
;; (setq-default asm-comment-char 59)
(add-hook 'asm-mode-hook '(lambda () (setq comment-start "/*") (setq comment-end "*/")) t)
@@ -1228,7 +1228,7 @@
;; (add-hook 'asm-mode-hook '(lambda () (local-set-key ":" ":")))
;;; ----------------------------------------------------------------
-;;; linker.
+(message "linker")
(when (fboundp 'iar-linker-config-mode)
(add-to-list 'auto-mode-alist '("\\.icf\\'" . iar-linker-config-mode))
@@ -1238,12 +1238,12 @@
)
;;; ----------------------------------------------------------------
-;;; lisp.
+(message "lisp")
(setq list-command-history-max 256)
;;; ----------------------------------------------------------------
-;;; C, c-mode, C++, c++-mode.
+(message "C, c-mode, C++, c++-mode")
(setq c-echo-syntactic-information-p t)
(add-hook 'c-mode-common-hook
@@ -1313,7 +1313,7 @@
))
;;; ----------------------------------------------------------------
-;;; javascript, js.
+(message "javascript, js")
(if (>= emacs-major-version 23)
(add-to-list 'auto-mode-alist '("\\.js$" . js-mode))
@@ -1321,53 +1321,53 @@
)
;;; ----------------------------------------------------------------
-;;; bat file, batch.
+(message "bat file, batch")
;; loaded from 'generic-x.el'
;;; ----------------------------------------------------------------
-;;; nsis-mode.
+(message "nsis-mode")
(when (fboundp 'nsis-mode)
(add-to-list 'auto-mode-alist '("\\.\\(nsi\\|nsh\\)\\'" . nsis-mode))
)
;;; ----------------------------------------------------------------
-;;; csharp, c-sharp.
+(message "csharp, c-sharp")
(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
;;; ----------------------------------------------------------------
-;;; java.
+(message "java")
;;; ----------------------------------------------------------------
-;;; ECB.
+(message "ECB")
(setq ecb-tip-of-the-day nil)
;;; ----------------------------------------------------------------
-;;; html.
+(message "html")
;;; ----------------------------------------------------------------
-;;; nxml.
+(message "nxml")
(setq nxml-sexp-element-flag t)
(setq nxml-child-indent 2)
(setq nxml-attribute-indent 4)
;;; ----------------------------------------------------------------
-;;; psgml.
+(message "psgml")
(setq sgml-set-face t) ; for highlighting in sgml
;;; ----------------------------------------------------------------
-;;; sh, bash.
+(message "sh, bash")
(add-to-list 'auto-mode-alist '("\\.cygport\\'" . shell-script-mode))
;;; ----------------------------------------------------------------
-;;; printing.
+(message "printing")
;; Use Notepad to print plain text files to the default Windows printer
;(setq lpr-command "notepad")
@@ -1406,12 +1406,12 @@
; 'TeX-run-command nil t))))
;;; ----------------------------------------------------------------
-;;; SQL.
+(message "SQL")
(setq sql-password "")
;;; ----------------------------------------------------------------
-;;; backuping.
+(message "backuping")
(setq
make-backup-files t
@@ -1424,7 +1424,7 @@
version-control t) ; use versioned backups
;;; ----------------------------------------------------------------
-;;; auto save.
+(message "auto save")
(setq auto-save-default t)
;; If nil autosave to different than original to buffer file.
@@ -1433,7 +1433,7 @@
(setq delete-auto-save-files t)
;;; ----------------------------------------------------------------
-;;; User welcome msg.
+(message "User welcome msg")
(add-hook 'emacs-startup-hook
(lambda ()