help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-RET ok, C-RET wrong?


From: Arash Esbati
Subject: Re: M-RET ok, C-RET wrong?
Date: Sat, 24 Aug 2024 09:56:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Arash Esbati <arash@gnu.org>
>> Date: Sat, 24 Aug 2024 09:16:04 +0200
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > I think that's because RET is actually C-m, and you cannot have two
>> > Ctrl modifiers on the same key.
>> 
>> (key-valid-p "C-RET") => t
>
> Ha!
>
>> @Kepa: What do you get with:
>> 
>> (keymap-set dired-mode-map "C-RET" 'dired-w32explore)
>
> I'm not Kepa, but I get the same result.  Although I actually tried
>
>    (keymap-set global-map "C-RET" 'dired)

I can confirm this with your recipe as well.  So this is a deficiency in
`key-valid-p'?

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]