GNU bug report logs - #15830
24.3.50; `current-active-maps' misses bindings (?)

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 7 Nov 2013 20:44:01 UTC

Severity: minor

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15830: closed (24.3.50; `current-active-maps' misses bindings
 (?))
Date: Fri, 08 Nov 2013 01:25:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 07 Nov 2013 20:24:19 -0500
with message-id <jwviow3660c.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
has caused the debbugs.gnu.org bug report #15830,
regarding 24.3.50; `current-active-maps' misses bindings (?)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15830: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15830
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; `current-active-maps' misses bindings (?)
Date: Thu, 7 Nov 2013 12:43:07 -0800 (PST)
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 <at> 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'


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15830-done <at> debbugs.gnu.org
Subject: Re: bug#15830: 24.3.50; `current-active-maps' misses bindings (?)
Date: Thu, 07 Nov 2013 20:24:19 -0500
> 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


This bug report was last modified 11 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.