all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: any Emacs features to help keep code/comments under 80 columns width?
Date: Sat, 30 Nov 2002 18:19:29 +0100	[thread overview]
Message-ID: <84of87asbi.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: mailman.1038620491.29401.help-gnu-emacs@gnu.org

ken <ken@cleveland.lug.net> writes:

> (setq text-mode-hook 'turn-on-auto-fill)

Don't do that!  (At least, don't advise others to do it.)

In general, a mode hook can contain many functions, and usually one
wants to add a function (or, more rarely, remove one).  Therefore,
add-hook (and possibly remove-hook) is your friend.

(add-hook 'text-mode-hook 'turn-on-auto-fill)

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

       reply	other threads:[~2002-11-30 17:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1038620491.29401.help-gnu-emacs@gnu.org>
2002-11-30 17:19 ` Kai Großjohann [this message]
2002-11-30 23:26   ` any Emacs features to help keep code/comments under 80 columns width? ken
2002-12-01 13:17     ` Kai Großjohann
     [not found] <20021202173058.A3985@spawar.navy.mil>
2002-12-03 21:09 ` ken
     [not found] <mailman.1038525802.11759.help-gnu-emacs@gnu.org>
2002-11-28 23:48 ` lawrence mitchell
2002-11-29 12:32 ` Phillip Lord
2002-12-02 15:03 ` kgold
2002-12-04 14:38 ` Gareth Rees
2002-11-28 23:22 seberino
2002-11-30  1:40 ` ken

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=84of87asbi.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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.