emacs:emacs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
emacs:emacs [2015/09/12 20:14] – [Show whitespace] deva | emacs:emacs [2015/09/12 20:24] (current) – [Show whitespace] deva | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Emacs====== | ======Emacs====== | ||
+ | |||
+ | =====Set up custom lisp path===== | ||
+ | <code lisp> | ||
+ | (add-to-list ' | ||
+ | </ | ||
=====Show trailing whitespace===== | =====Show trailing whitespace===== | ||
Line 5: | Line 10: | ||
<code lisp> | <code lisp> | ||
(custom-set-variables | (custom-set-variables | ||
- | ' | + | ' |
+ | ) | ||
</ | </ | ||
Line 21: | Line 27: | ||
Add the following lines to the '' | Add the following lines to the '' | ||
<code lisp> | <code lisp> | ||
- | (add-to-list | + | (require |
- | (load-file " | + | |
- | (load-file " | + | |
(autoload ' | (autoload ' | ||
Line 32: | Line 36: | ||
(smart-tabs-insinuate 'c 'c++ 'java ' | (smart-tabs-insinuate 'c 'c++ 'java ' | ||
</ | </ | ||
- | |||
=====Switch between cc/h files===== | =====Switch between cc/h files===== | ||
Switch between the header and implementation using Alt-o. | Switch between the header and implementation using Alt-o. | ||
Line 53: | Line 56: | ||
Use sane colors: | Use sane colors: | ||
<code lisp> | <code lisp> | ||
- | (set-face-attribute ' | + | (set-face-attribute ' |
- | (set-face-attribute ' | + | (set-face-attribute ' |
- | (set-face-attribute ' | + | (set-face-attribute ' |
(set-face-attribute ' | (set-face-attribute ' | ||
</ | </ | ||
- | Disable newlines: | + | Disable newlines |
<code lisp> | <code lisp> | ||
(custom-set-variables | (custom-set-variables | ||
- | ' | + | ' |
+ | ) | ||
</ | </ | ||
- |
emacs/emacs.1442081667.txt.gz · Last modified: 2015/09/12 20:14 by deva