.emacs-my
changeset 255 b10ea8a43839
parent 254 51b47da56551
child 256 51a386bc16b2
equal deleted inserted replaced
254:51b47da56551 255:b10ea8a43839
    79 (setq line-number-mode t)
    79 (setq line-number-mode t)
    80 
    80 
    81 (setq view-read-only t)
    81 (setq view-read-only t)
    82 
    82 
    83 (setq frame-title-format "Emacs - %b")
    83 (setq frame-title-format "Emacs - %b")
    84 
       
    85 ;; Control if end of file end with newline.
       
    86 ;; See also 'mode-require-final-newline'.
       
    87 (add-hook 'text-mode-hook (lambda () (setq require-final-newline nil)))
       
    88 
    84 
    89 (setq read-quoted-char-radix 16)
    85 (setq read-quoted-char-radix 16)
    90 
    86 
    91 ;; ----------------------------------------------------------------------
    87 ;; ----------------------------------------------------------------------
    92 ;; Switching, creating, selecting buffers.
    88 ;; Switching, creating, selecting buffers.
   643 ;; whitespace
   639 ;; whitespace
   644 
   640 
   645 (setq-default show-trailing-whitespace t)
   641 (setq-default show-trailing-whitespace t)
   646 (setq-default indicate-empty-lines t)
   642 (setq-default indicate-empty-lines t)
   647 (setq next-line-add-newlines nil)
   643 (setq next-line-add-newlines nil)
       
   644 
       
   645 ;; See also 'mode-require-final-newline'.
       
   646 (add-hook 'text-mode-hook (lambda () (setq require-final-newline nil)))
   648 
   647 
   649 ;; ----------------------------------------------------------------------
   648 ;; ----------------------------------------------------------------------
   650 ;; TODO, XXX, FIXME highlight.
   649 ;; TODO, XXX, FIXME highlight.
   651 ;; Show blanks and FIXME
   650 ;; Show blanks and FIXME
   652 ;; http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule
   651 ;; http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule