[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linebreak after 78characters

From: bernhard
Subject: Re: linebreak after 78characters
Date: Sat, 27 Aug 2005 09:24:26 +0200
User-agent: Pan/ (As She Crawled Across the Table (Debian GNU/Linux))

Am Fri, 26 Aug 2005 13:10:02 -0700 schrieb rgb:

>> I just wondered where I can set permanently the option, that emacs breaks eac
>> line after 78characters. I can`t find it on the menu.
> If you want auto-fill-mode to be on when in a particular mode you
> need to add this to the mode's hook.
> (add-hook 'foo-mode-hook  'auto-fill-mode)
> If you want it on for every buffer regardless of mode you could try
> putting it on the after-change-major-mode-hook but that won't cover
> fundamental mode.
> Personally I use (global-set-key [f12] 'auto-fill-mode) so I can
> toggle it on and off with a single key no matter what mode I'm in.

I donot know how it is done, but in auctex (latex) mode the following
lines at the end of a file set the column width to 90 columns.

%%% Local Variables
%%% mode: latex
%%% fill-column: 90
%%% End:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]