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: Bernhard _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs