all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 50406@debbugs.gnu.org
Subject: bug#50406: fill-paragraph error
Date: Tue, 23 Aug 2022 10:35:27 +0300	[thread overview]
Message-ID: <86pmgrlah8.fsf@mail.linkov.net> (raw)
In-Reply-To: <875yikvweu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 22 Aug 2022 22:46:33 +0200")

>> Please try to open the attached file in emacs -Q, and after moving point
>> to the beginning of the 3rd line, type 'M-q'.  When debug-on-error is t,
>> it fails with such backtrace:
>>
>> Debugger entered--Lisp error: (error "Invalid search bound (wrong side
>> of point)")
>>   re-search-backward("[ \11]\\|\\c|.\\|.\\c|" 280 0)
>>   fill-move-to-break-point(280)
>>   fill-region-as-paragraph(184 210 nil nil 186)
>>   fill-comment-paragraph(nil)
>>   fill-paragraph(nil t)
>>   funcall-interactively(fill-paragraph nil t)
>>   command-execute(fill-paragraph)
>
> This doesn't happen now in Emacs 29.  Instead I get:
>
> abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc ; def
> 											    ; def
> 											    ; def
> 											    ; def
> 											    ; def
> 											    ; ghi
>
> Is that the result we're supposed to get, though?  I'm not at all sure
> how fill-paragraph/comment-start are supposed to interact here.

This is what it always did in all earlier versions until the recent
breakage that is fixed now.





  reply	other threads:[~2022-08-23  7:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 16:10 bug#50406: fill-paragraph error Juri Linkov
2021-09-06  9:18 ` Lars Ingebrigtsen
2021-09-06 15:14   ` Juri Linkov
2022-08-22 20:46 ` Lars Ingebrigtsen
2022-08-23  7:35   ` Juri Linkov [this message]
2022-08-23 10:46     ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86pmgrlah8.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50406@debbugs.gnu.org \
    --cc=larsi@gnus.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.