unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* H in info-mode as another describe-mode?
@ 2014-02-14 16:23 Karl Berry
  2014-02-16  2:22 ` Glenn Morris
  2014-02-16 19:06 ` N. Jackson
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Berry @ 2014-02-14 16:23 UTC (permalink / raw)
  To: emacs-devel

Hello Emacs folks.  Would you be ok with a change to make H in info-mode
do describe-mode (it's currently unbound), plus mention it up front in
the info.texi manual?

The principal reason would be to unify behavior between Emacs Info and
standalone Info; there are remarkably few discrepancies, and we can
eliminate this one, so my theory was, why not?  Although regular Emacs
users would probably think first of describe-mode (C-h m or whatever) no
matter what, there's no equivalent to that in standalone Info, and it
seems harmless to allow it.

Wdyt?

(For the record, standalone info has swapped meanings of h and H a few
times, and it's currently the opposite of the above.  I plan to swap
them again for the next release to match Emacs.)

Thanks,
karl


2014-02-14  Karl Berry  <karl@gnu.org>

	* info.el (Info-mode-map): H for describe-mode, to synchronize
	with standalone Info.

--- ./ORIG/lisp/info.el	2014-02-13 17:31:56.293310724 -0800
+++ ./lisp/info.el	2014-02-13 17:32:08.513914853 -0800
@@ -3840,4 +3840,5 @@ (defvar Info-mode-map
     (define-key map "g" 'Info-goto-node)
     (define-key map "h" 'Info-help)
+    (define-key map "H" 'describe-mode)
     (define-key map "i" 'Info-index)
     (define-key map "I" 'Info-virtual-index)


2014-02-14  Karl Berry  <karl@gnu.org>

	* info.texi (Top): mention H for a summary of all commands.

--- ./ORIG/doc/misc/info.texi	2013-01-01 12:37:17.000000000 -0800
+++ ./doc/misc/info.texi	2014-02-14 08:13:14.574523127 -0800
@@ -69,4 +69,6 @@ To read about advanced Info commands, ty
 brings you to @cite{Advanced Info Commands}, skipping over the `Getting
 Started' chapter.
+
+Type @kbd{H} to see a summary of all available commands.
 @end ifinfo
 @end ifnottex



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-16 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 16:23 H in info-mode as another describe-mode? Karl Berry
2014-02-16  2:22 ` Glenn Morris
2014-02-16 22:19   ` Karl Berry
2014-02-16 19:06 ` N. Jackson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).