GNU bug report logs - #50406
fill-paragraph error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juri Linkov <juri@HIDDEN>; dated Sun, 5 Sep 2021 16:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 50406 <at> debbugs.gnu.org:


Received: (at 50406) by debbugs.gnu.org; 6 Sep 2021 09:18:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 06 05:18:22 2021
Received: from localhost ([127.0.0.1]:51848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mNAlh-00005a-R2
	for submit <at> debbugs.gnu.org; Mon, 06 Sep 2021 05:18:22 -0400
Received: from quimby.gnus.org ([95.216.78.240]:33684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mNAlg-00005I-As
 for 50406 <at> debbugs.gnu.org; Mon, 06 Sep 2021 05:18:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=WyM64JnmjdUCyJA97bCy2gVmwQKR10RPKZV+BYL0YK8=; b=m/yMB5xNRy9JAUhqHwzqTwQSp7
 EvakAr5PeazF8EJYvk72rcIEpnbyGRvhzSKngV0DPZFBZ6BXsiB3sXJ3Fi+6f1SlIWIDRXdVb4DGo
 g6hcrIWLjZayf+CiSSKknYHUjWTwvuS+npKN/CBJlsQCOuwnZNeCuAj+qVZqRrtT3MMY=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mNAlX-0008F7-PW; Mon, 06 Sep 2021 11:18:14 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#50406: fill-paragraph error
References: <87lf4bxoq5.fsf@HIDDEN>
Date: Mon, 06 Sep 2021 11:18:11 +0200
In-Reply-To: <87lf4bxoq5.fsf@HIDDEN> (Juri Linkov's message of "Sun, 
 05 Sep 2021 19:10:10 +0300")
Message-ID: <871r62jc4s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Juri Linkov <juri@HIDDEN> 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 entere [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50406
Cc: 50406 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Juri Linkov <juri@HIDDEN> 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 =E2=80=98eval-expression-debug-on-error=E2=80=99 is non-nil, which is th=
e default,
this command arranges for all errors to enter the debugger.
---


--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50406; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Sep 2021 16:41:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 05 12:41:45 2021
Received: from localhost ([127.0.0.1]:50871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mMvDF-0008D8-9s
	for submit <at> debbugs.gnu.org; Sun, 05 Sep 2021 12:41:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:45636)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1mMvDD-0008D1-Ou
 for submit <at> debbugs.gnu.org; Sun, 05 Sep 2021 12:41:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43574)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1mMvDD-00089f-0Z
 for bug-gnu-emacs@HIDDEN; Sun, 05 Sep 2021 12:41:43 -0400
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:54073)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1mMvDA-0006ho-IS
 for bug-gnu-emacs@HIDDEN; Sun, 05 Sep 2021 12:41:42 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id DA41BE0002
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 Sep 2021 16:41:36 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: fill-paragraph error
Organization: LINKOV.NET
Date: Sun, 05 Sep 2021 19:10:10 +0300
Message-ID: <87lf4bxoq5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=217.70.183.196; envelope-from=juri@HIDDEN;
 helo=relay4-d.mail.gandi.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

--=-=-=
Content-Type: text/plain

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.


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=fill-paragraph
Content-Transfer-Encoding: base64

OyAtKi0gY29tbWVudC1zdGFydDogIjsgIjsgZmlsbC1jb2x1bW46IDc1OyBpbmRlbnQtdGFicy1t
b2RlOiBuaWw7IHRydW5jYXRlLWxpbmVzOiB0OyAtKi0KCmFiYyBhYmMgYWJjIGFiYyBhYmMgYWJj
IGFiYyBhYmMgYWJjIGFiYyBhYmMgYWJjIGFiYyBhYmMgYWJjIGFiYyBhYmMgYWJjIGFiYyBhYmMg
YWJjIGFiYyBhYmMgOyBkZWYgZGVmIGRlZiBkZWYgZGVmIGdoaQo=
--=-=-=--




Acknowledgement sent to Juri Linkov <juri@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50406; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 6 Sep 2021 09:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.