# HG changeset patch # User Oleksandr Gavenko # Date 1314859763 -10800 # Node ID 5ddce6e50379544150a5987fea6ee3934a5f9827 # Parent 563751ecd385004694b99244333c5bebe7322192# Parent 54a77c8a091ab68d0321f537427b25c8e2787f6f merge diff -r 54a77c8a091a -r 5ddce6e50379 .emacs-my --- a/.emacs-my Wed Aug 31 09:43:10 2011 +0300 +++ b/.emacs-my Thu Sep 01 09:49:23 2011 +0300 @@ -215,6 +215,7 @@ ;; Also useful such format: (setq display-time-format " %H:%M %d-%m-%y ") (setq display-time-24hr-format t) +(setq display-time-day-and-date nil) (setq display-time-default-load-average nil) (display-time) ; display-time-mode @@ -226,12 +227,19 @@ (setq cursor-type 'box) ; box, hollow, bar, hbar ;;(setq blink-matching-delay 0.01) (blink-cursor-mode 1) + (setq use-file-dialog t) + (setq use-dialog-box t) ;; (set-face-font 'default "7x14") ) ;; See what I am typing immediately (for keystroke in minibuffer). (setq echo-keystrokes 0.2) +(fset 'yes-or-no-p 'y-or-n-p) + +(when (boundp 'confirm-kill-emacs) + (setq confirm-kill-emacs 'y-or-n-p)) + ;;; ---------------------------------------------------------------- (message "silent runing") @@ -304,9 +312,6 @@ ;;; ---------------------------------------------------------------- (message "standart/general settings") -(when (boundp 'confirm-kill-emacs) - (setq confirm-kill-emacs 'y-or-n-p)) - ;; Try to speed things up, especially in VM. (setq gc-cons-threshold 2000000) @@ -379,6 +384,8 @@ (require 'uniquify) (setq uniquify-buffer-name-style 'post-forward) +(setq uniquify-separator "|") +(setq uniquify-after-kill-buffer-p t) ;; buffer-menu better then buffer-list, but ibuffer much better. (global-set-key "\C-x\C-b" 'ibuffer) @@ -1265,6 +1272,7 @@ (setq compile-command "gmake ")) ;; With '1' compilation window shall scroll down, with `first-error' stops scrolling at the first error. (setq compilation-scroll-output 1) +(setq compilation-ask-about-save t) ;; Show error in EN locale to easy search how fix problem in docs and Internet. (setq compilation-environment '("LANG=C"))