unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Hong Xu <hong@topbug.net>
Cc: 30958@debbugs.gnu.org
Subject: bug#30958: 26.0.91; No documentation for key and value in the function passed to `map-keymap'
Date: Tue, 27 Mar 2018 11:35:20 +0200	[thread overview]
Message-ID: <mvm1sg5dfon.fsf@suse.de> (raw)
In-Reply-To: <dabc36a6-255f-1b7f-fedd-f07e6ac11d31@topbug.net> (Hong Xu's message of "Tue, 27 Mar 2018 01:07:33 -0700")

On Mär 27 2018, Hong Xu <hong@topbug.net> wrote:

> However, I searched the document, and could not find any useful
> information regarding the value of the binding.

It is whatever you've put there, see define-key.  A keymap is really
just a mapping from a key to an arbitrary value, though if the keymap is
to be used as a local keymap each value should have one of the forms as
listed in the doc for define-key.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





  reply	other threads:[~2018-03-27  9:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-25 21:44 bug#30958: 26.0.91; No documentation for key and value in the function passed to `map-keymap' Hong Xu
2018-03-27  4:15 ` Drew Adams
2018-03-27  8:07   ` Hong Xu
2018-03-27  9:35     ` Andreas Schwab [this message]
2018-03-27 14:27       ` Drew Adams
2018-03-27 17:39         ` Hong Xu
2021-10-23 18:03           ` Stefan Kangas
2021-10-23 19:03             ` bug#30958: [External] : " Drew Adams
2021-10-24  6:26               ` Stefan Kangas

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=mvm1sg5dfon.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=30958@debbugs.gnu.org \
    --cc=hong@topbug.net \
    /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).