From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: comment-auto-fill-only-comments stops auto-fill in Message mode? Date: Thu, 19 Feb 2004 14:54:52 +0100 (CET) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1077199526 14634 80.91.224.253 (19 Feb 2004 14:05:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 14:05:26 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 15:05:10 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Atone-0004U6-00 for ; Thu, 19 Feb 2004 15:05:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtolG-0003zf-Tj for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2004 09:02:42 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Atogq-0002WR-3y for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2004 08:58:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AtogE-0002AH-Ev for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2004 08:58:01 -0500 Original-Received: from [213.228.0.62] (helo=postfix4-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Atodl-000138-A2 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2004 08:54:57 -0500 Original-Received: from mnemosyne (bobillot-3-82-67-147-59.fbx.proxad.net [82.67.147.59]) by postfix4-1.free.fr (Postfix) with ESMTP id 69C26B235B for ; Thu, 19 Feb 2004 14:54:54 +0100 (CET) X-X-Sender: rrt@mnemosyne.localdomain Original-To: Emacs Bugs X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7022 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