unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50406: fill-paragraph error
@ 2021-09-05 16:10 Juri Linkov
  2021-09-06  9:18 ` Lars Ingebrigtsen
  2022-08-22 20:46 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Juri Linkov @ 2021-09-05 16:10 UTC (permalink / raw)
  To: 50406

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

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.


[-- Attachment #2: fill-paragraph --]
[-- Type: application/octet-stream, Size: 209 bytes --]

; -*- comment-start: "; "; fill-column: 75; indent-tabs-mode: nil; truncate-lines: t; -*-

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-23 10:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-08-23 10:46     ` Lars Ingebrigtsen

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).