From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw Date: Fri, 06 Dec 2024 18:11:10 +0100 Message-ID: References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> <87bjxoc058.fsf@gmail.com> <86bjxolr2k.fsf@gnu.org> <877c8cbvms.fsf@gmail.com> <867c8clpbo.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="22878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yoichi.nakayama@gmail.com, Robert Pluim , 74619@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 06 18:13:21 2024 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 1tJbtI-0005ow-IK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Dec 2024 18:13:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJbt2-0002GE-Co; Fri, 06 Dec 2024 12:13:04 -0500 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 1tJbt1-0002Fz-Bn for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 12:13:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJbt0-0006Zy-MH for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 12:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=aOr/wlTiv+2BD3UsKcrJ4cfh9B9rAh7iDfwp8EtV9+g=; b=Zw6HCxFGQ9xK/8TexIfq0ym98dkmjt2WcNUbaH5EwUhBATqD+NQRAidfAfMGSW/RnI7oX+2taM2Q1ln4HjQ3xeHd7DiCK7Q/Jsr1gan3xyRTdl6FHFHsUCHRGwTTEIampxFlKag/Cn3EjEVSz1xiGGxqGVJ3YNawUP2IjrQtiCUTgK/fBhDE+vRryBadu2AEf6vTtOzMXx7cEw6SQOGPOinvwzvKRIPaoALWFgmJeAZl1eKvR7s5mowUo7AtGB/gRNZ7D/BDOcmXCJLvILLp68A2dgbyjq9D/a8v2/YLg7ITCEJx2jhs+Vl8Al4bhQofWfcFbbgkx4Duoz9kCYPkcA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJbt0-0003t1-8W for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 12:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2024 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74619 X-GNU-PR-Package: emacs Original-Received: via spool by 74619-submit@debbugs.gnu.org id=B74619.173350514114872 (code B ref 74619); Fri, 06 Dec 2024 17:13:02 +0000 Original-Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 17:12:21 +0000 Original-Received: from localhost ([127.0.0.1]:44149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbsL-0003rn-1E for submit@debbugs.gnu.org; Fri, 06 Dec 2024 12:12:21 -0500 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:44221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbsI-0003rU-RA for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 12:12:19 -0500 Original-Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-434ab938e37so15602885e9.0 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 09:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733505073; x=1734109873; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aOr/wlTiv+2BD3UsKcrJ4cfh9B9rAh7iDfwp8EtV9+g=; b=X5mI6QN/NpQl5uLTy3ZSKyaq8hZrSntwuuS6E7LyQgqdFzaKE+F5hDFtpgnBeFYkoy dkjxWLK/S4Q0rnAJSfa1w5X6Q1ntV33hVc1HQxJe5ujI1FkmvQWIp7/8vSUg3UjTVxTa xKu0TsN399eNO/uoWsbAlXEp97konT0JOhdS0yzpmBBzw6s/iQzf4gF6gHxkYW/D5kQS +rUhJ4NrlLu9gc9+2t8E4bvKL+hByr0ITLbGSEueAJF/KvZaMgPMoQ41spN+g7vE19Q6 4YLsGx+pl+fFxHQV9HmsCINNRmDg+7BQQsPcJj1hX3vbGCIyJyA5CzbbApFRFWDf2zvp UvmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733505073; x=1734109873; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aOr/wlTiv+2BD3UsKcrJ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 2002:a05:600c:4fc9:b0:434:a529:3b87 with SMTP id 5b1f17b1804b1-434ddeb53b9mr39711225e9.10.1733505072505; Fri, 06 Dec 2024 09:11:12 -0800 (PST) Original-Received: from pro2 (p200300e0b715b300957629880f1d3439.dip0.t-ipconnect.de. [2003:e0:b715:b300:9576:2988:f1d:3439]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52cbd72sm100446985e9.44.2024.12.06.09.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 09:11:11 -0800 (PST) In-Reply-To: <867c8clpbo.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Dec 2024 18:59:55 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296514 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, >> 74619@debbugs.gnu.org >> Date: Fri, 06 Dec 2024 17:53:47 +0100 >> >> >>>>> On Fri, 06 Dec 2024 18:22:11 +0200, Eli Zaretskii said: >> >> Eli> I admit that I don't understand the issue, and not how an NS-specific >> Eli> problem is solved in common-win.el. Can you summarize the >> Eli> discussion's conclusions till now? >> >> common-win.el has a definition of `x-setup-function-keys' that does >> the appropriate magic with `system-key-alist' to fix this issue. That >> code is conditional on (featurep 'ns), and `x-setup-function-keys' is >> called when creating a GUI frame on macOS, but not when creating a tty >> frame. >> >> So the solution is to somehow perform the magic just when (featurep >> 'ns), regardless of frame type. One way of doing that is by just >> putting it at the toplevel in common-win.el (although putting it at >> the toplevel in ns-win.el works as well). > > NS specific code should definitely go to ns-win.el. But is that file > loaded in a -nw session, especially if Emacs is compiled to only > support TTY frames (if that can be done with the NS port)? I configure --without-ns, and ns-win.el is not loaded in that case.