GNU bug report logs -
#50406
fill-paragraph error
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sun, 5 Sep 2021 16:42:02 UTC
Severity: normal
Tags: moreinfo
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50406 in the body.
You can then email your comments to 50406 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Sun, 05 Sep 2021 16:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 05 Sep 2021 16:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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)
BTW, evaluating debug-on-error in *scratch* shows t by default,
but 'C-h v debug-on-error' shows it's nil actually, strange.
[fill-paragraph (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Mon, 06 Sep 2021 09:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 50406 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
> 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)
I can reproduce this bug, too.
> BTW, evaluating debug-on-error in *scratch* shows t by default,
> but 'C-h v debug-on-error' shows it's nil actually, strange.
With `C-x C-e'? Then this happens:
---
If ‘eval-expression-debug-on-error’ is non-nil, which is the default,
this command arranges for all errors to enter the debugger.
---
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Mon, 06 Sep 2021 15:42:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 50406 <at> debbugs.gnu.org (full text, mbox):
>> 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)
>
> I can reproduce this bug, too.
>
>> BTW, evaluating debug-on-error in *scratch* shows t by default,
>> but 'C-h v debug-on-error' shows it's nil actually, strange.
>
> With `C-x C-e'?
Yep.
> Then this happens:
>
> ---
> If ‘eval-expression-debug-on-error’ is non-nil, which is the default,
> this command arranges for all errors to enter the debugger.
> ---
This is fine, just a little strange.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Mon, 22 Aug 2022 20:47:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 50406 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
> 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.
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 22 Aug 2022 20:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Tue, 23 Aug 2022 08:09:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 50406 <at> debbugs.gnu.org (full text, mbox):
>> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50406
; Package
emacs
.
(Tue, 23 Aug 2022 10:47:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 50406 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
> This is what it always did in all earlier versions until the recent
> breakage that is fixed now.
OK, then I guess everything works here, and I'm closing this bug report.
bug marked as fixed in version 29.1, send any further explanations to
50406 <at> debbugs.gnu.org and Juri Linkov <juri <at> linkov.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 23 Aug 2022 10:47:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 20 Sep 2022 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.