all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: M-RET ok, C-RET wrong?
Date: Sat, 24 Aug 2024 12:30:13 +0300	[thread overview]
Message-ID: <86y14mmfoa.fsf@gnu.org> (raw)
In-Reply-To: <m2zfp2tkty.fsf@macmutant.fritz.box> (message from Arash Esbati on Sat, 24 Aug 2024 09:56:57 +0200)

> 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.



  reply	other threads:[~2024-08-24  9:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-24  4:51 M-RET ok, C-RET wrong? Kepa via Users list for the GNU Emacs text editor
2024-08-24  6:21 ` Eli Zaretskii
2024-08-24  7:16   ` Arash Esbati
2024-08-24  7:33     ` Eli Zaretskii
2024-08-24  7:56       ` Arash Esbati
2024-08-24  9:30         ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-24 10:22 Kepa via Users list for the GNU Emacs text editor
2024-08-24 12:43 ` Eli Zaretskii
2024-08-24 10:06 Kepa via Users list for the GNU Emacs text editor
2024-08-24 10:16 ` Eli Zaretskii
2024-08-23 22:27 Kepa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y14mmfoa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.