From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: M-RET ok, C-RET wrong? Date: Sat, 24 Aug 2024 09:56:57 +0200 Message-ID: References: <172447507961.7.156324894633917283.414263303@slmails.com> <864j7aphjh.fsf@gnu.org> <86v7zqnzns.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28719"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 24 09:57:39 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1shleV-0007K4-GB for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 24 Aug 2024 09:57:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shldv-0004m3-Q9; Sat, 24 Aug 2024 03:57:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shldu-0004lu-QM for help-gnu-emacs@gnu.org; Sat, 24 Aug 2024 03:57:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shldu-0001wm-HD for help-gnu-emacs@gnu.org; Sat, 24 Aug 2024 03:57:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=R5hl9xBG7dCieKa2hO0FrHHLCjC85LIpgPN7RSnlx1I=; b=OLhGKjj3qoWp/QGdNoa/ /OQJUGhWshWNVBL8uj7phXuGDKFcR5M2O1Y6QQeBFVMg3NgSZgypI7hjVKGdoFP8eEmjgj5QD1mHa 6YIT/MEVlNYkmQD8Bn8HiViiFFLhiBZD2jyz8+OMFZVjWnKHkTvZV9FeGQbF83cncGPTg2PEi9iGh /H8HkoJZjbBASQoPoIjJM07UREkEaTastNt7QE/UOFh8+vVV6BrkLMNHKxXk8LMzFUAFnEL7YtMeN braFCRjKUHk7Wq41YA0rM2tzwbxw25VEBQVmwY0qkVlZC1nCvPF5WvJruVIbDgN5aYZONcwwS762y zzp/WaRvAK1ITw==; In-Reply-To: <86v7zqnzns.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Aug 2024 10:33:11 +0300") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147790 Archived-At: Eli Zaretskii writes: >> From: Arash Esbati >> Date: Sat, 24 Aug 2024 09:16:04 +0200 >> >> Eli Zaretskii 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