From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50406: fill-paragraph error Date: Sun, 05 Sep 2021 19:10:10 +0300 Organization: LINKOV.NET Message-ID: <87lf4bxoq5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2041"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) To: 50406@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 18:42:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMvDg-0000PX-3n for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 18:42:12 +0200 Original-Received: from localhost ([::1]:42686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMvDe-0008Tc-Ev for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 12:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMvDW-0008Sv-Vl for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMvDW-00072p-OV for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMvDW-0008EX-M6 for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Sep 2021 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50406 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163086010531570 (code B ref -1); Sun, 05 Sep 2021 16:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Sep 2021 16:41:45 +0000 Original-Received: from localhost ([127.0.0.1]:50871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMvDF-0008D8-9s for submit@debbugs.gnu.org; Sun, 05 Sep 2021 12:41:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMvDD-0008D1-Ou for submit@debbugs.gnu.org; Sun, 05 Sep 2021 12:41:43 -0400 Original-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 ) id 1mMvDD-00089f-0Z for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:41:43 -0400 Original-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 ) id 1mMvDA-0006ho-IS for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 12:41:42 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id DA41BE0002 for ; Sun, 5 Sep 2021 16:41:36 +0000 (UTC) Received-SPF: pass client-ip=217.70.183.196; envelope-from=juri@linkov.net; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213511 Archived-At: --=-=-= 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= --=-=-=--