GNU bug report logs - #23236
25.0.90; Document command remapping in Emacs manual, not just Elisp manual

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 7 Apr 2016 15:05:02 UTC

Severity: wishlist

Found in version 25.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 23236 <at> debbugs.gnu.org
Subject: Re: bug#23236: 25.0.90;
 Document command remapping in Emacs manual, not just Elisp manual
Date: Thu, 07 Apr 2016 18:30:22 +0300
> Date: Thu, 7 Apr 2016 08:04:19 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> Search the Emacs manual for "remap".  You will find nothing about
> command remapping.

Because it's not a user-level feature.

> (global-set-key [remap foo] 'bar) is something that _users_ do.
> Likewise (define-key some-map [remap foo] 'bar).

It doesn't matter who does it.  What matters is that these are Lisp
expressions, and those are usually documented in the ELisp manuals.
global-set-key is only documented in the user manual as a command, not
as a function.  We only show a few examples of using it as a function.

> This is not something that is only for Elisp code.

I think it is.




This bug report was last modified 9 years and 26 days ago.

Previous Next


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