unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>, Tom Tromey <tom@tromey.com>,
	28003@debbugs.gnu.org
Subject: bug#28003: 26.0.50; Auto fill broken in Message mode
Date: Wed, 09 Aug 2017 17:41:49 +0200	[thread overview]
Message-ID: <873790ychu.fsf@rosalinde> (raw)
In-Reply-To: <87a838yeos.fsf@rosalinde> (Stephen Berman's message of "Wed, 09 Aug 2017 16:54:27 +0200")

On Wed, 09 Aug 2017 16:54:27 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> On Wed, 09 Aug 2017 15:04:56 +0200 Stephen Berman <stephen.berman@gmx.net> 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





  reply	other threads:[~2017-08-09 15:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07 19:56 bug#28003: 26.0.50; Auto fill broken in Message mode Stephen Berman
2017-08-09  3:33 ` Katsumi Yamaoka
2017-08-09  8:58   ` Stephen Berman
2017-08-09 12:37     ` Tom Tromey
2017-08-09 13:04       ` Stephen Berman
2017-08-09 14:54         ` Stephen Berman
2017-08-09 15:41           ` Stephen Berman [this message]
2017-08-09 22:08             ` Tom Tromey
2017-08-09 23:06               ` Katsumi Yamaoka
2017-08-10  8:07                 ` Stephen Berman
2017-08-27 16:55 ` bug#28003: done Tom Tromey

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=873790ychu.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=28003@debbugs.gnu.org \
    --cc=tom@tromey.com \
    --cc=yamaoka@jpl.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).