* C-x a C-x C-h
@ 2009-08-26 21:31 Deniz Dogan
2009-08-26 22:06 ` Drew Adams
2009-08-26 22:55 ` Andreas Schwab
0 siblings, 2 replies; 7+ messages in thread
From: Deniz Dogan @ 2009-08-26 21:31 UTC (permalink / raw)
To: Emacs-Devel devel
When I hit `C-x a C-x' in the latest Emacs, it awaits further input,
as if it was a prefix key sequence. However, `C-x a C-x C-h' reveals
that there are no commands bound to anything beginning with that
prefix. Why?
Output:
\fGlobal Bindings Starting With C-x a C-x:
key binding
--- -------
[back]
--
Deniz Dogan
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: C-x a C-x C-h
2009-08-26 21:31 C-x a C-x C-h Deniz Dogan
@ 2009-08-26 22:06 ` Drew Adams
2009-08-26 22:21 ` Deniz Dogan
2009-08-26 22:55 ` Andreas Schwab
1 sibling, 1 reply; 7+ messages in thread
From: Drew Adams @ 2009-08-26 22:06 UTC (permalink / raw)
To: 'Deniz Dogan', 'Emacs-Devel devel'
> When I hit `C-x a C-x' in the latest Emacs, it awaits further input,
> as if it was a prefix key sequence. However, `C-x a C-x C-h' reveals
> that there are no commands bound to anything beginning with that
> prefix. Why?
Good question. I wonder too. Same thing in Emacs 22, 21, and 20.
And C-x C-x C-x C-x C-x ... just keeps on keepin on.
`C-x a' is bound to `abbrev-map', but its value is this:
(keymap
(110 . expand-jump-to-next-slot)
(112 . expand-jump-to-previous-slot)
(39 . expand-abbrev)
(101 . expand-abbrev)
(45 . inverse-add-global-abbrev)
(105 keymap
(108 . inverse-add-mode-abbrev)
(103 . inverse-add-global-abbrev))
(43 . add-mode-abbrev)
(103 . add-global-abbrev)
(1 . add-mode-abbrev)
(108 . add-mode-abbrev))
No entry for C-x, that I can see.
And in English:
key binding
--- -------
C-a add-mode-abbrev
' expand-abbrev
+ add-mode-abbrev
- inverse-add-global-abbrev
e expand-abbrev
g add-global-abbrev
i Prefix Command
l add-mode-abbrev
n expand-jump-to-next-slot
p expand-jump-to-previous-slot
i g inverse-add-global-abbrev
i l inverse-add-mode-abbrev
I don't see anything that would explain this in the Lisp sources, grepping for
`abbrev-map'. I'm curious what the answer will be.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: C-x a C-x C-h
2009-08-26 22:06 ` Drew Adams
@ 2009-08-26 22:21 ` Deniz Dogan
2009-08-26 22:35 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: Deniz Dogan @ 2009-08-26 22:21 UTC (permalink / raw)
To: Drew Adams; +Cc: Emacs-Devel devel
2009/8/27 Drew Adams <drew.adams@oracle.com>:
>> When I hit `C-x a C-x' in the latest Emacs, it awaits further input,
>> as if it was a prefix key sequence. However, `C-x a C-x C-h' reveals
>> that there are no commands bound to anything beginning with that
>> prefix. Why?
>
> Good question. I wonder too. Same thing in Emacs 22, 21, and 20.
> And C-x C-x C-x C-x C-x ... just keeps on keepin on.
That doesn't happen here, it only gets to `C-x a C-x C-x', after which
any further keypresses will say the sequence undefined.
--
Deniz Dogan
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: C-x a C-x C-h
2009-08-26 22:21 ` Deniz Dogan
@ 2009-08-26 22:35 ` Drew Adams
2009-08-26 22:38 ` Deniz Dogan
0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2009-08-26 22:35 UTC (permalink / raw)
To: 'Deniz Dogan'; +Cc: 'Emacs-Devel devel'
> >> When I hit `C-x a C-x' in the latest Emacs, it awaits
> further input,
> >> as if it was a prefix key sequence. However, `C-x a C-x
> C-h' reveals
> >> that there are no commands bound to anything beginning with that
> >> prefix. Why?
> >
> > Good question. I wonder too. Same thing in Emacs 22, 21, and 20.
> > And C-x C-x C-x C-x C-x ... just keeps on keepin on.
>
> That doesn't happen here, it only gets to `C-x a C-x C-x', after which
> any further keypresses will say the sequence undefined.
I wasn't quite right.
On Emacs 20 and 21, you can just keep repeating C-x forever, with no apparent
effect.
On Emac 22 and 23, it seems that C-x a C-x C-x C-x calls
`exchange-point-and-mark', and every other `C-x' after that calls it again. So
here too I can keep repeating C-x C-x..., but each such pair invokes
`exchange-point-and-mark'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: C-x a C-x C-h
2009-08-26 22:35 ` Drew Adams
@ 2009-08-26 22:38 ` Deniz Dogan
2009-08-26 22:43 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: Deniz Dogan @ 2009-08-26 22:38 UTC (permalink / raw)
To: Drew Adams; +Cc: Emacs-Devel devel
2009/8/27 Drew Adams <drew.adams@oracle.com>:
>> >> When I hit `C-x a C-x' in the latest Emacs, it awaits
>> further input,
>> >> as if it was a prefix key sequence. However, `C-x a C-x
>> C-h' reveals
>> >> that there are no commands bound to anything beginning with that
>> >> prefix. Why?
>> >
>> > Good question. I wonder too. Same thing in Emacs 22, 21, and 20.
>> > And C-x C-x C-x C-x C-x ... just keeps on keepin on.
>>
>> That doesn't happen here, it only gets to `C-x a C-x C-x', after which
>> any further keypresses will say the sequence undefined.
>
> I wasn't quite right.
>
> On Emacs 20 and 21, you can just keep repeating C-x forever, with no apparent
> effect.
>
> On Emac 22 and 23, it seems that C-x a C-x C-x C-x calls
> `exchange-point-and-mark', and every other `C-x' after that calls it again. So
> here too I can keep repeating C-x C-x..., but each such pair invokes
> `exchange-point-and-mark'.
>
You're right, I tried it without having set mark. It wasn't undefined here.
--
Deniz Dogan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: C-x a C-x C-h
2009-08-26 21:31 C-x a C-x C-h Deniz Dogan
2009-08-26 22:06 ` Drew Adams
@ 2009-08-26 22:55 ` Andreas Schwab
1 sibling, 0 replies; 7+ messages in thread
From: Andreas Schwab @ 2009-08-26 22:55 UTC (permalink / raw)
To: Deniz Dogan; +Cc: Emacs-Devel devel
Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
> When I hit `C-x a C-x' in the latest Emacs, it awaits further input,
> as if it was a prefix key sequence. However, `C-x a C-x C-h' reveals
> that there are no commands bound to anything beginning with that
> prefix. Why?
Probably because C-x is a prefix key in key-translation-map.
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."
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-08-26 22:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-26 21:31 C-x a C-x C-h Deniz Dogan
2009-08-26 22:06 ` Drew Adams
2009-08-26 22:21 ` Deniz Dogan
2009-08-26 22:35 ` Drew Adams
2009-08-26 22:38 ` Deniz Dogan
2009-08-26 22:43 ` Drew Adams
2009-08-26 22:55 ` Andreas Schwab
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).