unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
Subject: comment-auto-fill-only-comments stops auto-fill in Message mode?
Date: Thu, 19 Feb 2004 14:54:52 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.58.0402191444270.5454@mnemosyne.localdomain> (raw)

If I set comment-auto-fill-only-comments to t, then auto-fill stops
working in Message mode. Presumably message-mode defines a comment
syntax... I'm not sure if this counts as a bug, but it's pretty
unfriendly. The following is a workaround I put in my .emacs:

;; Message mode
;; Stop comment-auto-fill-only-comments preventing auto-fill
(add-hook 'message-mode-hook
          '(lambda ()
             (set (make-local-variable 'comment-auto-fill-only-comments)
                  nil)))

-- 
http://www.mupsych.org/~rrt/
Kleineken: refreshes the dimensions other beers cannot reach

                 reply	other threads:[~2004-02-19 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0402191444270.5454@mnemosyne.localdomain \
    --to=rrt@sc3d.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).