unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 20528@debbugs.gnu.org
Subject: bug#20528: 25.0.50; `keymap' property to work for symbol-value, not just symbol-function
Date: Fri, 08 May 2015 17:33:19 +0200	[thread overview]
Message-ID: <878uczt77k.fsf@igel.home> (raw)
In-Reply-To: <2b90d00b-d8b9-463e-a6e1-e60f0f391a3e@default> (Drew Adams's message of "Fri, 8 May 2015 08:25:58 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

>> > Please allow it to also be a symbol, such as `Info-mode-map',
>> > whose `symbol-value' is a keymap.  It is used only as a keymap.
>> > It is not used as a function.  It is convenient to be able to
>> > reuse an existing keymap variable to provide a map for a given
>> > portion of text.
>> 
>> Why can't you dereference the variable when assigning the property?
>
> Why can't you dereference the function symbol when assigning the
> property? ;-)

That's how lisp works, fundamentally.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2015-05-08 15:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 20:14 bug#20528: 25.0.50; `keymap' property to work for symbol-value, not just symbol-function Drew Adams
2015-05-08  6:38 ` Andreas Schwab
2015-05-08 15:25   ` Drew Adams
2015-05-08 15:33     ` Andreas Schwab [this message]
2015-05-08 17:51     ` Stefan Monnier
2021-09-04  7:22       ` Lars Ingebrigtsen

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=878uczt77k.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=20528@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).