unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 15830@debbugs.gnu.org
Subject: bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
Date: Thu, 7 Nov 2013 12:43:07 -0800 (PST)	[thread overview]
Message-ID: <057a647b-9214-4568-ab52-9d3148b07936@default> (raw)

emacs -Q

(defun foo () (interactive) (message "FOOOOOOOOOOOO"))
(global-set-key [(control meta shift ?u)] 'foo)
(current-active-maps t)

Evaluate all of those, the last one, at least, using `pp-eval-last-sexp'.

C-h f foo RET shows that `foo' is bound to `C-M-S-u' (aka `C-M-U').

Search for `foo' in *Pp Eval Output*.  It's not there.  Shouldn't it be?

The doc for `current-active-maps' leads me to believe that `foo's
binding should be included.  Am I missing something, or is this a bug?

Same thing for `(current-active-maps)', i.e., without any arg.

If I am misunderstanding, what is a way to get all of the currently
active bindings, i.e., what I have been expecting from
`current-active-maps'?



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2013-11-07 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 20:43 Drew Adams [this message]
2013-11-08  1:24 ` bug#15830: 24.3.50; `current-active-maps' misses bindings (?) Stefan Monnier
2013-11-08  3:46   ` Drew Adams

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=057a647b-9214-4568-ab52-9d3148b07936@default \
    --to=drew.adams@oracle.com \
    --cc=15830@debbugs.gnu.org \
    /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).