From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] ignoring Info extensions Date: Thu, 1 Apr 2004 20:50:01 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200404020150.i321o1B26583@f7.net> References: <87ad1v8xox.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080871322 26264 80.91.224.253 (2 Apr 2004 02:02:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2004 02:02:02 +0000 (UTC) Cc: emacs-devel@gnu.org, janneke@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 02 04:01:57 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9E0L-0002m4-00 for ; Fri, 02 Apr 2004 04:01:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9E0L-0008HL-00 for ; Fri, 02 Apr 2004 04:01:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9DuS-0000aO-25 for emacs-devel@quimby.gnus.org; Thu, 01 Apr 2004 20:55:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9Dqm-0007YN-1L for emacs-devel@gnu.org; Thu, 01 Apr 2004 20:52:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B9Dpy-0006qO-Sf for emacs-devel@gnu.org; Thu, 01 Apr 2004 20:51:47 -0500 Original-Received: from [209.61.216.22] (helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9Doo-0005gM-Tj; Thu, 01 Apr 2004 20:50:02 -0500 Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id i321o1B26583; Thu, 1 Apr 2004 20:50:01 -0500 Original-To: juri@jurta.org In-Reply-To: <87ad1v8xox.fsf@mail.jurta.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21180 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21180 Perhaps makeinfo should produce a warning about it, but still It does now (in the current sources, in some circumstances). [ \t\n]+\*[Nn]ote[ \t\n]+ There are many cases where the preceding character is not whitespace, such as (@pxref{foo}) -> (*note foo::). So that part of the proposed regexp won't work. However, I cannot find or think of any case where the *following* character will not be whitespace. Looking at makeinfo/xref.c and texinfmt.el, it looks to me like when *[nN]ote is output, it is always followed by a space. So it seems this would be a good improvement! I don't think anything else generates Info files, and even if it does, it seems highly unlikely it would output anything else. Eli, can you think of a way \*[Nn]ote[ \t\n]+ could fail? I also looked in all the dozens of info files installed on my system, and could not find any problematic cases. As Juri says, there are tons of places where "*Note*" is output for various reasons. It would be nice if it just worked, this has been a longstanding nagging problem. Thanks, k