From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49558: fill paragraph in texinfo-mode fails with @ Date: Sun, 07 Nov 2021 23:58:39 +0100 Message-ID: <87ee7refog.fsf@gnus.org> References: <87h7gxmj5s.fsf@gnus.org> <83im1d85pt.fsf@gnu.org> <87y2a9jbi7.fsf@gnus.org> <835yxd82d7.fsf@gnu.org> <87k0ltjauf.fsf@gnus.org> <831r8181yg.fsf@gnu.org> <877dhtj921.fsf@gnus.org> <83y2a96lb6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7639"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, 49558@debbugs.gnu.org, lisa-asket@perso.be To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 23:59:29 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 1mjr8K-0001hD-Hx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 23:59:28 +0100 Original-Received: from [::1] (port=57148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjr8J-00088z-FM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 17:59:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjr7v-00086h-SV for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 17:59:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjr7t-0005uF-VQ for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 17:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjr7t-0004K4-Sy for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 17:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 22:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49558-submit@debbugs.gnu.org id=B49558.163632593616593 (code B ref 49558); Sun, 07 Nov 2021 22:59:01 +0000 Original-Received: (at 49558) by debbugs.gnu.org; 7 Nov 2021 22:58:56 +0000 Original-Received: from localhost ([127.0.0.1]:55193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjr7o-0004JZ-82 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 17:58:56 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:39772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjr7l-0004JH-Vr for 49558@debbugs.gnu.org; Sun, 07 Nov 2021 17:58:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=vKbqSdv97txSnXPSduRzZ9K8XTqG+6j6Vi1g0GQvgqg=; b=Q+JBEIs5lsRuDxtNLx/0duP5Xn 08Qtw1C13ywjxPwPNu5q0X0qVAS1KIEAIip4Xp/iAxvrR+bbPKcz1tjNCAPI3Bq9pJ0Rnwqs6O1rA s6AvBZyTpHxUnfneWKEzRAbJ7ROA6oi3NbB4lO6tM58mFos8zGxLRkY0CD5Zi91I1GqU=; Original-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 ) id 1mjr7a-0004YS-8B; Sun, 07 Nov 2021 23:58:45 +0100 X-Now-Playing: Leslie Winer's _When I Hit You, You'll Feel It_: "Dunderhead" In-Reply-To: <83y2a96lb6.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Jul 2021 17:07:25 +0300") 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:219300 Archived-At: Eli Zaretskii writes: >> texinfo-mode relies on the paragraph definition being... >> eccentric... to avoid filling lines that start with "@word ". > > Yes, that is true. > >> I think the paragraph definition should be more traditional, and >> `fill-paragraph-function' should be adjusted to do the right thing on >> the @directives that we don't want to have filled. > > Could be. I've now done this, and tested with all of the examples in this file (and also in a couple of real-life texinfo files), and this approach seems to work (and solves the original reported problem). (I also made 'C-x n d' narrow to the current node, because that's something I've missed for years, but it's unrelated.) Let me know if I broke anything. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no