Changes between Version 10 and Version 11 of Emacs


Ignore:
Timestamp:
Oct 6, 2013 8:03:10 PM (6 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Emacs

    v10 v11  
    77== IDO mode 
    88 
    9 '''Description''': IDO stands for Interactively Do Things and it greatly improves file opening and switching between buffers. When opening a file it shows the list of files and directories in a current directory, allows to navigate the directory tree in an easy manner, provides intuitive filtering capabilities and allows to select a file easily by selecting its name using arrow keys. Similar behaviour is provided when switching between opened buffers. A nice introductory tutorial to IDO can be found [http://www.masteringemacs.org/articles/2010/10/10/introduction-to-ido-mode/ here]. 
     9'''Description''': IDO stands for Interactively Do Things and it greatly improves file opening and switching between buffers. When opening a file it shows the list of files and directories in a current directory, allows to navigate the directory tree in an easy manner, provides intuitive filtering capabilities and allows to select a file by selecting its name using arrow keys. Similar behaviour is provided when switching between opened buffers. A nice introductory tutorial to IDO can be found [http://www.masteringemacs.org/articles/2010/10/10/introduction-to-ido-mode/ here]. 
    1010 
    1111'''How to enable''': 
     
    1818== Disable tabs for indentation 
    1919 
    20 '''Description''': We used to use tabs for indentation, but now aim to have no tabs in the source code. There is a hook that will prevent you from pushing tabs into repository (unless file already contained tabs). This setting will prevent you from introducing tabs in the source code. 
     20'''Description''': We used to use tabs for indentation, but now we aim to have no tabs in the source code. There is a hook that will prevent you from pushing tabs into repository (unless file already contained tabs). This setting will prevent you from introducing tabs in the source code. 
    2121 
    2222'''How to enable''': 
     
    3737}}} 
    3838 
     39== Automatically removes trailing whitespaces when file is saved 
     40 
     41'''Description''': Currently source code of GHC contains lots of trailing whitespaces, which means that '''this setting is dangerous'''. It will remove ALL trailing whitespaces in every file that you edit, which means you might have one or two lines changed by you and a hundred lines automatically changed by removing trailing whitespaces. This will require you to separate whitespaces into a separate commit by using `git add -i`. This is tedious, so be warned. 
     42 
     43'''How to enable''': 
     44{{{#!elisp  
     45(add-hook 'before-save-hook 'delete-trailing-whitespace) 
     46}}} 
     47 
    3948== Highlight trailing whitespaces 
    4049 
     
    4655(setq-default show-trailing-whitespace t) 
    4756(setq-default indicate-empty-lines t) 
    48 }}} 
    49  
    50 == Automatically removes trailing whitespaces when file is saved 
    51  
    52 '''Description''': Currently source code of GHC contains lots of trailing whitespaces, which means that '''this setting is dangerous'''. It will remove ALL trailing whitespaces in every file that you edit, which means you might have one or two lines changed by you and a hundred lines automatically changed by removing trailing whitespaces. This will require you to separate whitespaces into a separate commit by using `git add -i`. This is tedious, so be warned. 
    53  
    54 '''How to enable''': 
    55 {{{#!elisp  
    56 (add-hook 'before-save-hook 'delete-trailing-whitespace) 
    5757}}} 
    5858