GNU bug report logs - #39042
26.3; Undocumented keys for Info mode

Previous Next

Package: emacs;

Reported by: Mark Harig <idirectscm <at> aim.com>

Date: Wed, 8 Jan 2020 17:37:01 UTC

Severity: minor

Tags: patch

Found in version 26.3

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 39042 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39042 <at> debbugs.gnu.org, idirectscm <at> aim.com
Subject: Re: bug#39042: 26.3; Undocumented keys for Info mode
Date: Tue, 28 Apr 2020 09:44:41 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Please see the attached patch, where I also suggest to move some menu
>> items to submenus.  This cuts down the number of items on the top
>> level of the menu to 17 compared to 21 before.  This buys us the space
>> to add three separators too.
>
> I think you've sent the wrong patch.

Oops, thanks.  The correct patch should be attached here.

Best regards,
Stefan Kangas

[0001-Improve-Info-mode-doc-and-menu.patch (text/x-diff, inline)]
From 8e44a3d4088a1cc9bca8c6042d136f46d8189d73 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas <at> gmail.com>
Date: Tue, 28 Apr 2020 01:05:20 +0200
Subject: [PATCH] Improve Info-mode doc and menu

* lisp/info.el (Info-mode-menu): Re-arrange to be more logical, move
items into submenus, add 'Info-directory' and separators.
(Info-mode): Add 'end-of-buffer' to doc string.  (Bug#39042)
---
 lisp/info.el | 35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

diff --git a/lisp/info.el b/lisp/info.el
index 703907b98f..004e08f0ea 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4079,22 +4079,28 @@ Info-check-pointer
     :help "Go to top node of file"]
    ["Final Node" Info-final-node
     :help "Go to final node in this file"]
+   "---"
    ("Menu Item" ["You should never see this" report-emacs-bug t])
    ("Reference" ["You should never see this" report-emacs-bug t])
    ["Search..." Info-search
     :help "Search for regular expression in this Info file"]
    ["Search Next" Info-search-next
     :help "Search for another occurrence of regular expression"]
-   ["Go to Node..." Info-goto-node
+   "---"
+   ("History"
+    ["Back in history" Info-history-back :active Info-history
+     :help "Go back in history to the last node you were at"]
+    ["Forward in history" Info-history-forward :active Info-history-forward
+     :help "Go forward in history"]
+    ["Show History" Info-history :active Info-history-list
+     :help "Go to menu of visited nodes"])
+   ("Jump to"
+    ["Go to Node..." Info-goto-node
     :help "Go to a named node"]
-   ["Back in history" Info-history-back :active Info-history
-    :help "Go back in history to the last node you were at"]
-   ["Forward in history" Info-history-forward :active Info-history-forward
-    :help "Go forward in history"]
-   ["History" Info-history :active Info-history-list
-    :help "Go to menu of visited nodes"]
-   ["Table of Contents" Info-toc
-    :help "Go to table of contents"]
+    ["Table of Contents" Info-toc
+     :help "Go to table of contents"]
+    ["Go to Directory" Info-directory
+     :help "Go to the Info directory node."])
    ("Index"
     ["Lookup a String..." Info-index
      :help "Look for a string in the index items"]
@@ -4104,10 +4110,12 @@ Info-check-pointer
      :help "Look for a string in the index items and display node with results"]
     ["Lookup a string in all indices..." info-apropos
      :help "Look for a string in the indices of all manuals"])
-   ["Copy Node Name" Info-copy-current-node-name
-    :help "Copy the name of the current node into the kill ring"]
-   ["Clone Info buffer" clone-buffer
-    :help "Create a twin copy of the current Info buffer."]
+   ("Misc"
+    ["Copy Node Name" Info-copy-current-node-name
+     :help "Copy the name of the current node into the kill ring"]
+    ["Clone Info buffer" clone-buffer
+     :help "Create a twin copy of the current Info buffer."])
+   "---"
    ["Exit" quit-window :help "Stop reading Info"]))
 
 
@@ -4358,6 +4366,7 @@ Info-mode
 	  already visible, try to go to the previous menu entry, or up
 	  if there is none.
 \\[beginning-of-buffer]	Go to beginning of node.
+\\[end-of-buffer]	Go to end of node.
 
 Advanced commands:
 \\[Info-search]	Search through this Info file for specified regexp,
-- 
2.26.2


This bug report was last modified 5 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.