From: Tomas Nordin <tomasn@posteo.net>
To: Jose Antonio Ortega Ruiz <jao@gnu.org>,
Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 29767@debbugs.gnu.org
Subject: bug#29767: 26.0.90; Failing auto-fill in message-mode because of bad state (comment-skip-end)
Date: Thu, 04 Jan 2018 20:52:04 +0100 [thread overview]
Message-ID: <87fu7lflln.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87vagigayz.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me>
Please ignore this my message (was ignored I think already). I feel a
bit dumb, because the same idea but with better detail was given in the
OP of this thread already.
Tomas Nordin <tomasn@posteo.net> writes:
> Jose Antonio Ortega Ruiz <jao@gnu.org> writes:
>
>> not for me. i am answering here with a long line, and the two quoted
>> lines above don't trigger the bug on my side. here you see the lines
>> that was auto-filled without any extra >.
>
> I have been experimenting with this, debugging with debugger. An early
> function called is do-auto-fill. In the process at some point later, the
> function comment-beginning is called to determine if we are in a comment
> or not. If it returns nil, there will be no problems, when it returns a
> value there will be problems. In that case point is also moved to the
> place above the text where the comment syntax is picked (or prefix if
> you want).
>
> I have been in reply buffers where there is no problem and then in reply
> buffers where there is problem. But also in a buffer where there was
> this problem in the bottom of the buffer but not in the mid of the
> buffer.
>
> Anyhow, I claim that if you eval (comment-beginning) with point close to
> the break point and it returns nil, there will be no problem. Else, a
> value is returned and point will move back in the buffer and there will
> be problems when filling.
>
> No fix here but just adding in the hope it could be of any use.
>
> Regards
> --
> Tomas
next prev parent reply other threads:[~2018-01-04 19:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 21:17 bug#29767: 26.0.90; Failing auto-fill in message-mode because of bad state (comment-skip-end) Jose A. Ortega Ruiz
2017-12-19 11:52 ` Michael Heerdegen
2017-12-19 16:16 ` Eli Zaretskii
2017-12-20 0:21 ` Katsumi Yamaoka
2017-12-20 0:39 ` Jose Antonio Ortega Ruiz
2017-12-20 0:59 ` Katsumi Yamaoka
2017-12-20 1:20 ` Jose A. Ortega Ruiz
2017-12-20 7:25 ` Katsumi Yamaoka
2017-12-20 17:04 ` Jose A. Ortega Ruiz
2017-12-20 17:16 ` Jose A. Ortega Ruiz
2018-01-03 16:31 ` Tomas Nordin
2018-01-04 19:52 ` Tomas Nordin [this message]
2017-12-25 14:38 ` Michael Heerdegen
2018-01-04 4:59 ` Stefan Monnier
2018-01-10 4:59 ` Katsumi Yamaoka
2018-01-11 3:32 ` Jose A. Ortega Ruiz
2018-01-11 13:41 ` Stefan Monnier
2018-01-12 3:54 ` Katsumi Yamaoka
2018-01-11 15:11 ` Stefan Monnier
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=87fu7lflln.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
--to=tomasn@posteo.net \
--cc=29767@debbugs.gnu.org \
--cc=jao@gnu.org \
--cc=michael_heerdegen@web.de \
--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).