all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Can't activate auto-fill-mode for fundamental (default) mode *from .emacs*...
Date: Wed, 29 Jan 2003 14:48:03 +0100	[thread overview]
Message-ID: <m3adhkhxt8.fsf@defun.localdomain> (raw)
In-Reply-To: bf23f78f.0301282153.3ea9c93f@posting.google.com

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	other threads:[~2003-01-29 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  5:53 Can't activate auto-fill-mode for fundamental (default) mode *from .emacs* Christian Seberino
2003-01-29 13:48 ` Jesper Harder [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3adhkhxt8.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.