Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


How to set AUTO-FILL-MODE by default

If you want Emacs to be in Auto Fill mode every time you use it, then
you need to put the following lines into a file named ~/.emacs:

(setq default-major-mode 'text-mode)
(setq text-mode-hook
      '(lambda nil
	 (setq fill-column 72)
	 (auto-fill-mode 1)))

The first line makes Text Mode the default for all files without another
defined mode (such as C Mode).  (You can leave that line out if you
wish.)  The other lines make Auto Fill mode the default for all Text
Mode buffers, and make the lines break at the 72nd column.

Last updated: 9/20/95

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.