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#397: 23.0.60; T in Info when in (dir) Date: Wed, 27 Apr 2016 20:58:21 +0300 Message-ID: <83vb33x7b6.fsf@gnu.org> References: <007c01c8cca4$686e6fb0$c2b22382@us.oracle.com> <87eg9rhvzy.fsf@gnus.org> <285bd041-cb56-4d42-a085-88605bd08f44@default> <87twingfso.fsf@gnus.org> <72369d48-65c7-4468-9d49-21dcb045cdf2@default> <8760v3gdkm.fsf@gnus.org> <5a64ed8a-d9c7-4b33-b63a-11d83b7dab99@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1461779975 21001 80.91.229.3 (27 Apr 2016 17:59:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2016 17:59:35 +0000 (UTC) Cc: larsi@gnus.org, 397@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 19:59:18 2016 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 1avTk4-0006zO-Gt for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 19:59:16 +0200 Original-Received: from localhost ([::1]:44562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avTk3-0003TM-LJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 13:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avTju-0003Be-0g for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 13:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avTjq-00077k-Rr for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 13:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avTjq-00077e-Oh for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 13:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avTjq-0007F4-JZ for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 13:59: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: Wed, 27 Apr 2016 17:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 397-submit@debbugs.gnu.org id=B397.146177992627767 (code B ref 397); Wed, 27 Apr 2016 17:59:02 +0000 Original-Received: (at 397) by debbugs.gnu.org; 27 Apr 2016 17:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:50465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avTja-0007Dm-Fw for submit@debbugs.gnu.org; Wed, 27 Apr 2016 13:58:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avTjZ-0007Da-Gu for 397@debbugs.gnu.org; Wed, 27 Apr 2016 13:58:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avTjR-000714-AL for 397@debbugs.gnu.org; Wed, 27 Apr 2016 13:58:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avTjR-000710-7h; Wed, 27 Apr 2016 13:58:37 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1avTjQ-0007M4-ET; Wed, 27 Apr 2016 13:58:36 -0400 In-reply-to: <5a64ed8a-d9c7-4b33-b63a-11d83b7dab99@default> (message from Drew Adams on Wed, 27 Apr 2016 10:46:38 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116943 Archived-At: > Date: Wed, 27 Apr 2016 10:46:38 -0700 (PDT) > From: Drew Adams > Cc: 397@debbugs.gnu.org > > `Info-toc' should raise an error immediately, if the current node > is the top. Something like this, perhaps: > > (defun Info-toc () > "@@@@@@@@@" > (interactive) > (when (equal Info-current-file "dir") (error "@@@@@@@@@@@@@@@@@")) So, from now on, no Info manual can be called "dir" or "dir.info", or suchlikes? Does dimming an option in a rarely-used menu really justify this? I don't think so. We should look for a better solution, if one exists. If it doesn't, then it isn't a catastrophe to have that option be available and fail if invoked where it cannot work. No one who knows something about Info will invoke that function in this situation, anyway. > But probably not. `Info-index' does only this: > (equal Info-current-file "dir") Bad, bad Info-index!