unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* comment-auto-fill-only-comments stops auto-fill in Message mode?
@ 2004-02-19 13:54 Reuben Thomas
  0 siblings, 0 replies; only message in thread
From: Reuben Thomas @ 2004-02-19 13:54 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-19 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 13:54 comment-auto-fill-only-comments stops auto-fill in Message mode? Reuben Thomas

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).