Changes between Version 3 and Version 4 of Emacs


Ignore:
Timestamp:
Oct 6, 2013 2:43:00 PM (2 years ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Emacs

    v3 v4  
    55= General
    66
     7== IDO mode
     8
     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].
     10
     11'''How to enable''':
     12{{{
     13(setq ido-enable-flex-matching t)
     14(setq ido-everywhere t)
     15(ido-mode 1)
     16}}}
     17
     18== Disable tabs for indentation
     19
     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.
     21
     22'''How to enable''':
     23{{{
     24(setq-default indent-tabs-mode nil)
     25}}}
     26
    727== Highlight text beyond 80th column
    828
     
    1030
    1131'''How to enable''':
    12 {{{#!elisp
     32{{{
    1333(require 'whitespace)
    1434(setq whitespace-style '(face lines-tail))
     
    2242
    2343'''How to enable''':
    24 {{{#!elisp
     44{{{
    2545(add-hook 'before-save-hook 'delete-trailing-whitespace)
     46}}}
     47
     48== C-k kills whole line and newline if at beginning of line
     49
     50'''Description''': Allows to avoid typing `C-k` twice when cursor is placed at the beginning of a line.
     51
     52'''How to enable''':
     53{{{
     54(setq kill-whole-line t)
     55}}}
     56
     57== Toggle line number display
     58
     59'''Description''': Allows you to toggle line number display with F11. For those who like to see line numbers at the beginning of each line.
     60
     61'''How to enable''':
     62{{{
     63(global-set-key (kbd "<f11>") 'global-linum-mode)
     64}}}
     65
     66== Always display column number in mode line
     67
     68'''Description''': By default Emacs only displays line number in the mode line. This setting adds column number.
     69
     70'''How to enable''':
     71{{{
     72(column-number-mode 1)
    2673}}}
    2774
     
    3077= GHC-specific
    3178
     79==
     80
    3281'''Description''':
    3382