unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
@ 2013-11-07 20:43 Drew Adams
  2013-11-08  1:24 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2013-11-07 20:43 UTC (permalink / raw)
  To: 15830

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'





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
  2013-11-07 20:43 bug#15830: 24.3.50; `current-active-maps' misses bindings (?) Drew Adams
@ 2013-11-08  1:24 ` Stefan Monnier
  2013-11-08  3:46   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2013-11-08  1:24 UTC (permalink / raw)
  To: Drew Adams; +Cc: 15830-done

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

No, it shouldn't be, because it's in the symbol-function slot of
the symbol `esc-map'.


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
  2013-11-08  1:24 ` Stefan Monnier
@ 2013-11-08  3:46   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2013-11-08  3:46 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15830-done

> it's in the symbol-function slot of the symbol `esc-map'.

Yes, of course.  Sorry about that.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-08  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 20:43 bug#15830: 24.3.50; `current-active-maps' misses bindings (?) Drew Adams
2013-11-08  1:24 ` Stefan Monnier
2013-11-08  3:46   ` Drew Adams

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).