From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: Can't activate auto-fill-mode for fundamental (default) mode *from .emacs*... Date: Wed, 29 Jan 2003 14:48:03 +0100 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043848176 2259 80.91.224.249 (29 Jan 2003 13:49:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 13:49:36 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dsaq-0000Zz-00 for ; Wed, 29 Jan 2003 14:49:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dsbc-00022H-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 29 Jan 2003 08:50:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6044 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6044 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.