help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Can't activate auto-fill-mode for fundamental (default) mode *from .


From: Jesper Harder
Subject: Re: Can't activate auto-fill-mode for fundamental (default) mode *from .emacs*...
Date: Wed, 29 Jan 2003 14:48:03 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

seberino@spawar.navy.mil (Christian Seberino) writes:

> I cannot seem to get .emacs to turn on auto-fill-mode for
> default/fundamental mode?... Please help...
>
> This doesn't make emacs default to auto-fill-mode...
>
>    (add-hook 'fundamental-mode-hook 'turn-on-auto-fill)

This doesn't work because fundamental mode does not have any hooks:

     The `fundamental-mode' function does _not_ run any hooks; you're
     not supposed to customize it.  (If you want Emacs to behave
     differently in Fundamental mode, change the _global_ state of
     Emacs.)

> Neither does this in .emacs help either....
>
>    (turn-on-auto-fill)

No, I think the point of fundamental mode is that every option and
command has the default non-customized behaviour.  So if you want auto
fill, you should probably use some other mode than fundamental mode --
maybe change the option `default-major-mode' to something else.


reply via email to

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