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: Wed, 14 Jul 2021 15:53:42 +0200 Message-ID: <877dhtj921.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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 Wed Jul 14 15:54:09 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 1m3fKy-0009yp-W6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jul 2021 15:54:09 +0200 Original-Received: from localhost ([::1]:45304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3fKx-0004jk-Ut for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jul 2021 09:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3fKr-0004jS-Vu for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 09:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3fKr-0004MT-Oc for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 09:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3fKr-0003zg-P3 for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2021 09:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jul 2021 13:54: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 moreinfo Original-Received: via spool by 49558-submit@debbugs.gnu.org id=B49558.162627083415338 (code B ref 49558); Wed, 14 Jul 2021 13:54:01 +0000 Original-Received: (at 49558) by debbugs.gnu.org; 14 Jul 2021 13:53:54 +0000 Original-Received: from localhost ([127.0.0.1]:43458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3fKk-0003zK-Bp for submit@debbugs.gnu.org; Wed, 14 Jul 2021 09:53:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:43658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3fKi-0003z7-Kk for 49558@debbugs.gnu.org; Wed, 14 Jul 2021 09:53:53 -0400 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=f81PkZcd2SGBCfIFV77JQaTwdl0vZsGQPbJzcC/N1yY=; b=mUmOy6JzZ8uYIM7AUEf78A4Nc3 alwO6Bif40zHDHUeHzEgRWA+EEUC3SenA03ykea1Tn7c6aPHH13ahusztDbGgqvTdXDB7VEhWZRcd n/87mCtUU4My9n2vbmpDJ+jx8Uq/qV1y1nwi9j8kTZOurEQrmH8ZZm+YA9vzIWUDzG/k=; Original-Received: from cm-84.212.220.105.getinternet.no ([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 1m3fKY-0004CU-V4; Wed, 14 Jul 2021 15:53:45 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXk49z4+PLS0sqt raZ/hm4rLR9OVytVWUn///+1xwLuAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHDg0RAfSkC2cAAAGX SURBVDjLlZRLkoIwEIYRL6BzAitY5V5g2JtoDqCdXGA67iGB608HIiSMLqarCFR/6cffJmab/Vvb Zf8FXxk97I35iBGcF18Zg+Nj9k+fu5Cqxi74C4fnGDx1SPatA5hSXY1rQ0CPlwg41FOVk0ZsI4Co aGNZUijEoFAGjO4BBoVK3WOAoMEYCgQw9zRCGTKkN64BEgK/4Z50pWAE/t0mwLxA2u6VnAEYiAXW Y2H/KJOM5CO49qRh7JdAMqseSRn5aV2PBD0ASHUQoKGoHwLmBfYLAPsOeM2gRv0r4L1KLTUWECwB DHyjflG0xMCRMo9o7C8d+3BKfK4n+kxBeThXtN8SejgwyYE7KRxuGrSSzuj4iBaAehDOSuvG2jNg NWghbkJIHH+nBRw9cFYIfLAZ5D5XDUMPanBQzmCXjdflOrXLzyvACkntal6wNWCsGux84yaQz/es eH3sPci3VlZCtFXXNBfBpW1jIPlFWNlwK6ToAsi2ZVWJ8sx5U5WdECWfwNdhqcGWGhuKIGMs/wM+ /MkUh7cg/wWZ2eYgU4514AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xNFQxMzoxNzowMSsw MDowMKf9TAgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTRUMTM6MTc6MDErMDA6MDDWoPS0 AAAAAElFTkSuQmCC X-Now-Playing: My Cat Is An Alien's _Mort Aux Vaches_: "Blue Abstractions" In-Reply-To: <831r8181yg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Jul 2021 16:22:31 +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:209934 Archived-At: Eli Zaretskii writes: > That's because you think about it as plain text. It isn't. > Basically, lines that start with @foo are directives, not text. > > It could be somewhat surprising, because it otherwise looks very much > like plain text, but without those definitions of paragraph-start and > paragraph-separate, things would be much worse. E.g., copy this to a > text-mode buffer, then type M-q: > > @itemize @bullet > @item > If the text consists of a special glyph, the glyph can specify a > particular face. @xref{Glyphs}. Filling is one thing, but paragraphs are another. texinfo-mode relies on the paragraph definition being... eccentric... to avoid filling lines that start with "@word ". 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no