Commit graph

4 commits

Author SHA1 Message Date
Tom Willemsen
2e3c5df4d7 EMACS: lots of changes
* Extended
** emacs.d/functions.el
   - Added a optional ~else~ part to ~foreach~ in HTML keywords, since
     smarty *can* also use ~foreachelse~, and this was only fontifying
     the ~foreach~ part.
   - Only load (and modify) naquadah-theme when we're running in
     X. I'd prefer to know if we have 256 colors available, but I
     haven't found that yet.
   - Only try to go to fullscreen if X is running.
   - Show a lambda symbol when the word lambda is found in a prog-mode
     buffer.
   - Enable auto-fill-mode when prog-mode is started.
   - Don't set pear options, pi-php-mode does it.
   - Added function to show ~lambda~ as a lambda symbol
   - Added function to create or update gtags file.
** emacs.el
   - Add pi-php-mode.
   - Removed muttrc-mode.
   - Use pi-php-mode instead of php-mode-improved.
   - Use ~(getenv)~ to get the browser.
   - Don't care about ~org-babel-confirm-evaluate~ and
     ~org-ditaa-jar-path~.
   - Set ~org-return-follows-link~ to ~t~, enter follows a link in
     ~org-mode~.
   - Set ~mouse-autoselect-window~ to ~t~, moving the mouse changes
     buffer focus.
   - Set ~pop-up-windows~ to ~nil~, so that popup functions use an
     existing window.
   - Set ~org-log-into-drawer~ to ~t~, so that activities are put in a
     drawer in ~org-mode~.
   - Set ~mail-header-separator~ to an empty string for
     ~message-mode~.
   - Use ~message-mode~ instead of ~mail-mode~.
2011-07-15 19:08:07 +02:00
Tom Willemsen
0786ae7687 EMACS: New modes, functions and keys
Added lua-mode
Added muttrc-mode
Moved all functions to emacs.d/functions.el
Added go-mode
Set keys M-left, M-right, M-up and M-down to move to relative windows
2011-06-26 12:41:49 +02:00
Tom Willemsen
62f897fdf5 New .emacs style
* .emacs only loops through .emacs.d and runs the *.el files there.

 * files are automatically compiled before loading. But only if it
   hasn't already been compiled.

 * all emacs el files, save for the startup scripts, have been moved
   to .emacs.d/elisp
2011-02-21 00:27:43 +01:00
Tom Willemsen
15d8264356 Added emacs config 2010-12-05 12:41:38 +01:00