all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: 50406@debbugs.gnu.org
Subject: bug#50406: fill-paragraph error
Date: Sun, 05 Sep 2021 19:10:10 +0300	[thread overview]
Message-ID: <87lf4bxoq5.fsf@mail.linkov.net> (raw)

[-- 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

             reply	other threads:[~2021-09-05 16:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 16:10 Juri Linkov [this message]
2021-09-06  9:18 ` bug#50406: fill-paragraph error 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

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=87lf4bxoq5.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50406@debbugs.gnu.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.