[wp-hackers] Which editor do you use?

Braydon ronin at braydon.com
Tue Oct 18 10:34:35 UTC 2011


On 10/18/2011 01:19 AM, Harish Narayanan wrote:
> (...)
> GNU Emacs.
Also use Emacs with this as my profile ~/.emacs to use tabs instead of 
spaces, and now prefer to work this way especially when writing HTML/PHP 
side by side, where auto indentation becomes tricky.

(global-set-key (kbd "TAB") 'self-insert-command)

(global-set-key (kbd "TAB") 'tab-to-tab-stop)

(setq-default tab-width 4)

(setq-default tab-stop-list (list 4 8 12 16 20 24 28 32 36 40 44 48 52 
56 60 64\
  68 72 76 80 84 88 92 96 100 104 108))

(setq-default c-electric-flag nil)



More information about the wp-hackers mailing list