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

2005/12/16-19 [Computer/SW/Editors/Emacs] UID:41050 Activity:low
12/16   Anyone figure out how to fix tabbing inside emacs?
        \_ Maybe if you mentioned what you perceive to be wrong with tabbing
           inside emacs, someone could offer a helpful response.
        \_ Try it now.  I changed the default file motdedit uses to edit.  It
           previously had a .c in there and that caused emacs to snort cocaine.
           \_ Thanks. It runs in Fundamental mode now. Works well.
              \- among the emacs standard modes, i'd use text-mode over
                 fundamental-mode for the motd.
                  \_ What's the best way to set that?
                  \_ Wow, you're right, text-mode is great for the motd!
                     What's the best way to automatically set that mode
                     for files named motd.public.r
                     \_ (setq auto-mode-alist
                          (append
                            '(("\\.xsl\\'" . sgml-mode)
                             ("\\motd.public.r\\'" . text-mode))
                          auto-mode-alist))