Berkeley CSUA MOTD:Entry 12484
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2004/3/2 [Computer/SW/Editors/Emacs] UID:12484 Activity:kinda low
3/2     How do I disable tab in emacs and make it output space only
        automatically (without doing "untabify" manually)? Thanks.
        \_ Why don't emacs users just mail directly to psb?  He's the only
           one here who knows anything about it.
           \_ on the contrary. (setq indent-tabs-mode nil). but since that
              only does it for the current buffer, you may want to do
              (setq-default indent-tabs-mode nil) in .emacs.el
              or whatever.
           \_ do not underestimate the motd
        \_ Just do it on write?
      (add-hook 'c-mode-common-hook
                (lambda ()
                  (add-hook 'local-write-file-hooks
                            (lambda () (untabify (point-min)(point-max)))) ...