From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55940: macOS: displayed as keybinding for \\[customize] Date: Mon, 13 Jun 2022 17:07:17 +0200 Message-ID: <87mtegr49m.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29002"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55940@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 17:08:27 2022 Return-path: Envelope-to: geb-bug-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 1o0lg2-0007M6-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 17:08:26 +0200 Original-Received: from localhost ([::1]:57316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0lg1-0000lc-1M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 11:08:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0lff-0000jJ-OU for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 11:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0lff-0004lB-Gi for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 11:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0lfe-0001lu-CD for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2022 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55940 X-GNU-PR-Package: emacs Original-Received: via spool by 55940-submit@debbugs.gnu.org id=B55940.16551328556769 (code B ref 55940); Mon, 13 Jun 2022 15:08:02 +0000 Original-Received: (at 55940) by debbugs.gnu.org; 13 Jun 2022 15:07:35 +0000 Original-Received: from localhost ([127.0.0.1]:60126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lfC-0001l7-P1 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 11:07:35 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lf5-0001kX-Vb for 55940@debbugs.gnu.org; Mon, 13 Jun 2022 11:07:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d/WsZOYpSP+MeFY89YGePFzuk9v4frkabnbu4K+hw0U=; b=qovF0Q7tVF0yXpID3/lbYlCnRc 92UNRqN1Pe+88yY7+1JXDY0TSXFW30pIRzw76eQ+zP/Rx9QsLmVZQ41wZb+AJu3GWxJXoQxWMM2vx MTLCz/7FPI5NbR9D3pjhz+PbtqEOhSU0yXyPAJrejydMCt8RR8kY7rjhCfwmIyH1aack=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0lex-0001Ps-6I; Mon, 13 Jun 2022 17:07:21 +0200 X-Now-Playing: Kelly Lee Owens's _Inner Song_: "Night" In-Reply-To: (Stefan Kangas's message of "Mon, 13 Jun 2022 14:01:40 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234417 Archived-At: Stefan Kangas writes: > I have no idea how to press the key "" - I don't think > there is such a button? There is also the keybinding "s-," which is > slightly more useful (but not as useful as showing just "M-x > customize", IMHO.) That is pretty obscure. Do we have some mechanism for making `substitute-command-keys' avoid such "keys"? I vaguely remember a similar problem with a different event like this showing up in doc strings... On the other hand, as Po says -- "" is an actual key binding in NS builds, apparently? So... Uhm... > Please consider showing "s-," or "M-x customize" instead of > "" here. > > Steps to reproduce: > 0. emacs -Q > 1. C-h v calendar-date-style RET I see that the \\=`...' syntax doesn't allow saying \\=`M-x foo' (it has to be a valid key stroke). I think it would make sense to allow explicit M-x commands like this, so I've added this to Emacs 29. But I've not amended the calendar-date-style doc string, because this should be fixed in a more general way for `M-x customize', which I'm sure is in a whole bunch of doc strings. I'm not sure what the solution here would be, though. It would be easy enough to add a block-list mechanism for `substitute-command-keys', but it seems a bit hacky. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no