[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-RET ok, C-RET wrong?
From: |
Eli Zaretskii |
Subject: |
Re: M-RET ok, C-RET wrong? |
Date: |
Sat, 24 Aug 2024 12:30:13 +0300 |
> From: Arash Esbati <arash@gnu.org>
> Cc: help-gnu-emacs@gnu.org
> Date: Sat, 24 Aug 2024 09:56:57 +0200
>
> 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'?
I guess so. Patches welcome to fix that.