unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kepa via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Kepa via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: M-RET ok, C-RET wrong?
Date: Sat, 24 Aug 2024 04:51:16 +0000	[thread overview]
Message-ID: <172447507961.7.156324894633917283.414263303@slmails.com> (raw)

Hello,



I’m experiencing strange behavior when setting a keybinding.

C-RET keybinding does not work for me, and I have had to use C-<return>, although M-RET does work:

This doesn’t work:

(define-key dired-mode-map (kbd "C-RET") 'dired-w32explore)

I receive this message:

C-<return> is undefined


This works, though:

(define-key dired-mode-map (kbd "C-<return>") 'dired-w32explore)

This works too:

(define-key dired-mode-map (kbd "M-RET") 'dired-create-directory)


GNU Emacs 29.3 (build 2, x86_64-w64-mingw32) of 2024-03-24


Best regards

             reply	other threads:[~2024-08-24  4:51 UTC|newest]

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=172447507961.7.156324894633917283.414263303@slmails.com \
    --to=help-gnu-emacs@gnu.org \
    --cc=gnu.cognition199@slmails.com \
    /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.
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).