From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17476: 24.3.91; [PATCH] unimplemented info entry Date: Mon, 12 May 2014 20:34:59 +0300 Message-ID: <83wqdqq4sc.fsf@gnu.org> References: <26CF6DFA759674shigeru.fukaya@gmail.com> <83y4y7os42.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1399916186 11095 80.91.229.3 (12 May 2014 17:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2014 17:36:26 +0000 (UTC) Cc: 17476@debbugs.gnu.org To: shigeru.fukaya@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 12 19:36:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wju9C-0004NJ-2W for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 19:36:18 +0200 Original-Received: from localhost ([::1]:39084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wju9B-0000mf-Np for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 13:36:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wju92-0000mB-NJ for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 13:36:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wju8w-00018Y-QH for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 13:36:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wju8w-00018U-Me for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wju8w-0003MU-CC for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 May 2014 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17476 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 17476-submit@debbugs.gnu.org id=B17476.139991612012846 (code B ref 17476); Mon, 12 May 2014 17:36:02 +0000 Original-Received: (at 17476) by debbugs.gnu.org; 12 May 2014 17:35:20 +0000 Original-Received: from localhost ([127.0.0.1]:60971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wju8E-0003L6-4j for submit@debbugs.gnu.org; Mon, 12 May 2014 13:35:19 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:39636) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wju8B-0003Kf-62 for 17476@debbugs.gnu.org; Mon, 12 May 2014 13:35:16 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N5H009001V4MY00@mtaout26.012.net.il> for 17476@debbugs.gnu.org; Mon, 12 May 2014 20:32:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5H009AE21OFV10@mtaout26.012.net.il>; Mon, 12 May 2014 20:32:12 +0300 (IDT) In-reply-to: <83y4y7os42.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88977 Archived-At: > Date: Mon, 12 May 2014 19:54:05 +0300 > From: Eli Zaretskii > Cc: 17476@debbugs.gnu.org > > > Cygwin info command treat them as info files. > > No, it doesn't. A reference such as 'foo::' is parsed as a _node_ > named "foo" in the 'dir' file. Info then searches for such a node in > the file 'dir', and doesn't find it. It then falls back on a kludgy > feature, whereby typing "info foo" from the shell prompt looks for a > _file_ 'foo' or 'foo.info', on the assumption that the > bozo^H^H^H^Huser forgot to type -f, as in "info -f foo". > > IOW, the above dir file abuses a kludge in the Info reader introduced > to shut up all those who complain because they cannot be bothered to > invoke the reader as prescribed in the documentation. > > In any case, this kludge is for invoking the Info reader from the > shell prompt, not for navigating inside Info files. IOW, this is > actually a buglet in Info, which therefore can disappear without > notice. > > > With the attached patch, Emacs regards the above format in a dir node > > as info file names. > > This patch is incorrect. It treats the dir file specially, whereas it > is simply an Info file with a menu, and nothing prevents the Cygwin > maintainers from putting such menu items in any other Info files. > More importantly, it tramps on a useful feature, whereby a reference > such as "foo::" is actually a shortcut for "(dir)foo::". > > So I hope we will not accept this change. Maybe I should explain why I'm so agitated about this. You see, I wrote the code which is responsible for interpreting "foo::" as a reference to a file "foo" if there's no menu item by that name. I wrote that code, under protest, more than 12 years ago, only because the head maintainer asked for that, in order to stop complaints that "info SOMETHING" didn't show the manual for that SOMETHING. So imagine how I feel 12 years later when I see that a kludge concocted in order to cater to some user sloppiness is now treated as a first-class feature, and Emacs is requested to follow suit. Sorry if my response sounded harsh.