From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#28003: 26.0.50; Auto fill broken in Message mode Date: Wed, 09 Aug 2017 17:41:49 +0200 Message-ID: <873790ychu.fsf@rosalinde> References: <87shh3cft1.fsf@rosalinde> <87valxxglm.fsf@rosalinde> <8760dwx6g9.fsf@pokyo> <87efskyjrb.fsf@rosalinde> <87a838yeos.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502293401 22156 195.159.176.226 (9 Aug 2017 15:43:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2017 15:43:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Katsumi Yamaoka , Tom Tromey , 28003@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 09 17:43:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfT8Y-0005Cc-Qu for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 17:43:10 +0200 Original-Received: from localhost ([::1]:48585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfT8f-0002ls-3W for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 11:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfT8V-0002k9-KC for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 11:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfT8Q-0005j6-JT for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 11:43:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44785) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfT8Q-0005iy-GA for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dfT8Q-0005eo-8S for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Aug 2017 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28003-submit@debbugs.gnu.org id=B28003.150229333721695 (code B ref 28003); Wed, 09 Aug 2017 15:43:02 +0000 Original-Received: (at 28003) by debbugs.gnu.org; 9 Aug 2017 15:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:53466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfT7g-0005dr-VK for submit@debbugs.gnu.org; Wed, 09 Aug 2017 11:42:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:56024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfT7f-0005de-GI for 28003@debbugs.gnu.org; Wed, 09 Aug 2017 11:42:16 -0400 Original-Received: from rosalinde ([83.135.6.205]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MD9uq-1drXQ40up2-00GaPH; Wed, 09 Aug 2017 17:41:52 +0200 In-Reply-To: <87a838yeos.fsf@rosalinde> (Stephen Berman's message of "Wed, 09 Aug 2017 16:54:27 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b3LHCr9hMCy4xQ4YUJk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135602 Archived-At: On Wed, 09 Aug 2017 16:54:27 +0200 Stephen Berman wrote: > On Wed, 09 Aug 2017 15:04:56 +0200 Stephen Berman wrote: > >> This prompted me to look closer at Katsumi Yamaoka's patch above, and it >> turns out that message-do-auto-fill is not being called, although it is >> the value of normal-auto-fill-function in the Message mode buffer I'm >> typing in right now; instead, the default value do-auto-fill is called. >> When you try my recipe is message-do-auto-fill being used? That may >> explain why you can't reproduce the problem. I have no idea why >> message-do-auto-fill isn't being called here... > > It's not being called because internal-auto-fill calls do-auto-fill > instead of funcalling auto-fill-function. But changing it to do the > latter makes no difference, since message-do-auto-fill also calls > do-auto-fill, unless point is on a message header. (So it's still a > mystery to me why you can't reproduce the problem...) Well, I'm a bit slow today, but making internal-auto-fill funcall auto-fill-function together with Yamaoka-san's patch does restore auto-filling to non-comment lines in Message mode; though I can't judge whether that's the right fix. Steve Berman