all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
@ 2015-12-07 21:45 Artur Malabarba
       [not found] ` <mailman.1609.1449524829.31583.bug-gnu-emacs@gnu.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Artur Malabarba @ 2015-12-07 21:45 UTC (permalink / raw)
  To: 22111

From emacs -Q:

1. Type (this-command-keys)
2. Type C-u C-x C-e
3. The result will not include C-u





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

* bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
       [not found] ` <mailman.1609.1449524829.31583.bug-gnu-emacs@gnu.org>
@ 2015-12-07 21:59   ` Alan Mackenzie
  2015-12-07 22:09     ` Artur Malabarba
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2015-12-07 21:59 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: 22111

Hello, Artur.

In article <mailman.1609.1449524829.31583.bug-gnu-emacs@gnu.org> you wrote:
>>From emacs -Q:

> 1. Type (this-command-keys)
> 2. Type C-u C-x C-e
> 3. The result will not include C-u

I don't think this is a bug: C-u is bound to command
`universal-argument', and it works by setting `prefix-arg'.  Once it's
done that, `univeral-argument''s runtime is finished.

Then the next command is `eval-last-sexp', whose `this-command-keys' are
precisely C-x C-e.

-- 
Alan Mackenzie (Nuremberg, Germany).






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

* bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
  2015-12-07 21:59   ` Alan Mackenzie
@ 2015-12-07 22:09     ` Artur Malabarba
  2015-12-08  3:36       ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Artur Malabarba @ 2015-12-07 22:09 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: 22111

Alan Mackenzie <acm@muc.de> writes:

> I don't think this is a bug: C-u is bound to command
> `universal-argument', and it works by setting `prefix-arg'.  Once it's
> done that, `univeral-argument''s runtime is finished.

That's what I thought at first, but the docs say it should.
See the docstring of `this-single-command-keys' or the elisp manual on
this function.





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

* bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
  2015-12-07 22:09     ` Artur Malabarba
@ 2015-12-08  3:36       ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2015-12-08  3:36 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: acm, 22111

> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Date: Mon, 07 Dec 2015 22:09:21 +0000
> Cc: 22111@debbugs.gnu.org
> 
> Alan Mackenzie <acm@muc.de> writes:
> 
> > I don't think this is a bug: C-u is bound to command
> > `universal-argument', and it works by setting `prefix-arg'.  Once it's
> > done that, `univeral-argument''s runtime is finished.
> 
> That's what I thought at first, but the docs say it should.
> See the docstring of `this-single-command-keys' or the elisp manual on
> this function.

Can you bisect to see which commit caused this?





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

end of thread, other threads:[~2015-12-08  3:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 21:45 bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys Artur Malabarba
     [not found] ` <mailman.1609.1449524829.31583.bug-gnu-emacs@gnu.org>
2015-12-07 21:59   ` Alan Mackenzie
2015-12-07 22:09     ` Artur Malabarba
2015-12-08  3:36       ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.