unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 23236@debbugs.gnu.org
Subject: bug#23236: 25.0.90; Document command remapping in Emacs manual, not just Elisp manual
Date: Thu, 07 Apr 2016 18:30:22 +0300	[thread overview]
Message-ID: <83h9fdl9m9.fsf@gnu.org> (raw)
In-Reply-To: <24ddcbf0-337e-401f-a539-4d957030236b@default> (message from Drew Adams on Thu, 7 Apr 2016 08:04:19 -0700 (PDT))

> Date: Thu, 7 Apr 2016 08:04:19 -0700 (PDT)
> From: Drew Adams <drew.adams@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.





  reply	other threads:[~2016-04-07 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07 15:04 bug#23236: 25.0.90; Document command remapping in Emacs manual, not just Elisp manual Drew Adams
2016-04-07 15:30 ` Eli Zaretskii [this message]
2016-04-30 23:10   ` Lars Ingebrigtsen
     [not found] <<24ddcbf0-337e-401f-a539-4d957030236b@default>
     [not found] ` <<83h9fdl9m9.fsf@gnu.org>
2016-04-07 15:58   ` Drew Adams
2016-04-07 16:49     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h9fdl9m9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23236@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).