merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 18 Jan 2011 09:31:28 +0200
changeset 547 9f098b5f9269
parent 542 22eb7a31b689 (diff)
parent 546 083974006b4a (current diff)
child 548 1bfa0cf51c9c
merged
.emacs-my
--- a/.emacs-my	Mon Jan 17 16:28:51 2011 +0200
+++ b/.emacs-my	Tue Jan 18 09:31:28 2011 +0200
@@ -18,6 +18,10 @@
 ;; Set the debug option to enable a backtrace when a problem occurs.
 (setq debug-on-error nil)               ; t/nil
 
+;; Prevent Emacs from loading 'default.el', which loaded after '.emacs'.
+;; Also '-q' prevent loading your init file.
+(setq inhibit-default-init nil)         ; t/nil
+
 ;;; ----------------------------------------------------------------
 (message "user info")
 
@@ -315,6 +319,12 @@
   (setq null-device "/dev/null")
   )
 
+;; -ls produce very noisy output:
+;; (setq find-ls-option '("-ls" . ""))
+;; So I use next expression, which work with GNU find, I replace %s with '0'
+;; to avoid unnecessary sys calls and this make output aligned by column:
+(setq find-ls-option '("-printf ' -rw-rw-rw- 0 %AY-%Am-%Ad %AH:%AM %p\n'" . ""))
+
 ;; Do not set t because some grep do not has --color options.
 (setq grep-highlight-matches nil)
 (setq grep-use-null-device nil)
@@ -1133,6 +1143,8 @@
     )
   )
 
+(global-set-key "\M-\r" 'complete-tag)
+
 ;;; ----------------------------------------------------------------
 (message "CEDET, semantic")
 
--- a/.emacs-post	Mon Jan 17 16:28:51 2011 +0200
+++ b/.emacs-post	Tue Jan 18 09:31:28 2011 +0200
@@ -22,3 +22,9 @@
 ;;         )
 ;;   (jabber-connect-all)
 ;;   )
+
+;; (setq etags-table-alist
+;;       (list
+;;        '(".*\\.\\([ch]\\|cpp\\|rc\\)" "c:/Program Files/Microsoft SDKs/Windows/v6.1/Include/TAGS")
+;;        ))
+
--- a/Makefile	Mon Jan 17 16:28:51 2011 +0200
+++ b/Makefile	Tue Jan 18 09:31:28 2011 +0200
@@ -2,6 +2,17 @@
 #
 # You can do anything with this file without any warranty.
 
+SHELL = /bin/sh
+
+# Disable built in pattern rules.
+MAKEFLAGS += -r
+# Disable built in variables.
+MAKEFLAGS += -R
+# Disable built in suffix rules.
+.SUFFIXES:
+# Default target.
+.DEFAULT_GOAL = all
+
 ################################################################
 # Helper definition.