From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 30 02:41:13 2024 Received: (at submit) by debbugs.gnu.org; 30 Nov 2024 07:41:13 +0000 Received: from localhost ([127.0.0.1]:45260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHI6L-0008Kj-EC for submit@debbugs.gnu.org; Sat, 30 Nov 2024 02:41:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:59468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHI6J-0008KY-4O for submit@debbugs.gnu.org; Sat, 30 Nov 2024 02:41:11 -0500 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 1tHI6I-00011Q-Cq for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 02:41:10 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHI6F-0003Zv-IJ for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 02:41:10 -0500 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-724d8422f37so2157473b3a.2 for ; Fri, 29 Nov 2024 23:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732952464; x=1733557264; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DuL//WNEyq9qPjOjWx8VcbyhK5/ccw0hsQOXanG08oI=; b=L+8aNLggw4inIl0MiByW/ub/7aDPwYdTIgD0bd2aVs2fA6vbspAOrvbwMpKa+sg3Lr p2lMPiuyCNMcfTt2Jia64JnZ/tXXfQoCk6o5VTEDtviAImc8N+N63AgIPlrWYKEmXBia RmoN0g4DOi3Iw07DAR7G6eShhB3NQ8S4rIwOvr8KY7+7Xa0KIyGKlgDRcfEaEOIWMBf9 1ae/9eIiXGTKRcOyfqOgDagc5mRiqGXfhjIf35SqVdo/1crenLsCGEbkDzdGcc2lJh5g e4SPdn6X2u1lIznLQ6FMINEdyjH6vsJThi7nqmMa8hgouDHny7OTfDZ53tmV2XK7CSWZ Prjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732952464; x=1733557264; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DuL//WNEyq9qPjOjWx8VcbyhK5/ccw0hsQOXanG08oI=; b=k2AEQ4YXYA5k5ehTAGA85EwW+7QYOWnJ6RY0m26DtSV0ULyFFgbM2ZriGJ/sli4V5d RUsE9IkYann+1UjJ+43PNa2nW1/yfi3PUMkR4GeccADZCV3wiuuPu0WvlJ0c5VbMhSm1 ulwtxriBog1hDpdlZq2qVYshdjH0HSX3EhHjUhfiLNsdenaCNv6j2njQcN50oDW7XtwC B6YPVDg8lCbDm0KhszOsG/e+MsvQVYXtOW2au3S6/2+iVTJETVylQoAJHIiKleTMUCNK XdPpfw1Fxjf9FEUQDOpKlBO+o0yJqdoPibZU0R2AeEsOXYeUUlAV0fTYLZL0bo7GoIGw 4Z+g== X-Gm-Message-State: AOJu0YxubAfA5XwxG3fD3hkGCFxJjo/uwEPxMg4Tw4E86v6hERaFkPce IEjolwKv7t8OJU69mby+K8av72hRQOq/nYL9eEUhp2vX8MuTUTyNlM6G5mSxHadoQWY6DOPhIti y15Ad+MbOMhXul1i7+f9gMWLn4V6Wxx8U X-Gm-Gg: ASbGncthVoiIyrGdITx6zn4kjD8bN/A7ZKJExV6Hcoz7nCNBSUQIzZ8ZucZZbPO/pLC CTeIbP/ABB6dasklwh/+q/wZgHJ8sIcTQXm9jDIDXGdqE7V7bJ2ThdHYzpoldI2Y= X-Google-Smtp-Source: AGHT+IHah36De9T9aGvbd6nym715LWnca4nZRLDwzUFXCj3eayXTXEz0WS5g0ngtcSo0/rAiSGc2unD+37EwSGu7RyY= X-Received: by 2002:a05:6a00:4f88:b0:71e:cc7:c511 with SMTP id d2e1a72fcca58-7253014a11amr21412903b3a.23.1732952464436; Fri, 29 Nov 2024 23:41:04 -0800 (PST) MIME-Version: 1.0 From: Yoichi Nakayama Date: Sat, 30 Nov 2024 16:40:53 +0900 Message-ID: Subject: macOS: displayed as keybinding for \\[customize] on emacs -nw To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=yoichi.nakayama@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I found that bug#55940 (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55940) has not been fixed on Emacs started by "emacs -nw" (substitute-command-keys "\\[customize]") #("" 0 15 (font-lock-face help-key-binding face help-key-binding)) I think this is because make-non-key-event for ns-* is not called in this situation. Tested environment: GNU Emacs 29.4 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-08-03 -- Yoichi NAKAYAMA From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 09:10:37 2024 Received: (at 74619) by debbugs.gnu.org; 2 Dec 2024 14:10:37 +0000 Received: from localhost ([127.0.0.1]:54784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI78H-0002F6-BR for submit@debbugs.gnu.org; Mon, 02 Dec 2024 09:10:37 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:61517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI78E-0002En-QY for 74619@debbugs.gnu.org; Mon, 02 Dec 2024 09:10:35 -0500 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-434b3e32e9dso36326505e9.2 for <74619@debbugs.gnu.org>; Mon, 02 Dec 2024 06:10:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733148569; x=1733753369; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=y8IOILGpybSA8efcPLOi4HWc1j6eI06beviAEUgMUlE=; b=VC91kVXed6iz1Q8/8pNqu/d3uyE2QVGjG7z6lcUZ3zRxk7qzoNBiCFsHiVrhEmp9Nt Sb9KBosVJ9VCNnzIX1PkINBBpWbTnP4TrPMZuW8UpCLIxa9thOGj5IsOSF10aQ+yJzTx aGJTCUX9uHgxP89N0syfXG9V8dxc5udJQMHBKXAbiY9rYZmFSnlZoFXP7lqJZ199LiKj rKCzsoyBRqLlu7+1hkMiPst0sO7PvEB7Ts85DKp/AtyKZP4YG365a9KDxz8EEoWnB3hX oLUGRr8bHXHULXAkw8IdN/U5eD1YM7p0fLawq0YXnVevO/S5RPI/4RQGIbOdbM/UyOGL +vFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733148569; x=1733753369; h=content-transfer-encoding:mime-version: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=y8IOILGpybSA8efcPLOi4HWc1j6eI06beviAEUgMUlE=; b=gF6Lt9ynpKcxTHPCG33N1XcNEqaGQDvhxkH/M4yVu++UagM2sNarqOkmrKONO4WcA9 By2rl8f4T/nC5jVNqhcORg3ZM5FPgjLzxPdloWS/F0GKbrIz6VkTyYaREC8IMNhZ+nV/ tPmNq/EEQ1Q/0Ad2G7D/74BQtUp8Vmce8KsJu8R/nY6INCyK4K31fxG6yy58HQXF0eF5 uA9xalYDytaQWM+u2RnJBcwbjOLXIkN5gb7LADVgb0PuWLXwO6/hoTGWYncVHXqbT+kf iIA5X7CLLVniwx/cnqpkzefpGJCPXG5r3XBTGoEXVjtzx99p9rkbV52MF3si5az2nK2q k2Vg== X-Gm-Message-State: AOJu0Yw2qnGSDFTGxO6CVnJvZ/Ovc5JWcQn0lIR+Mn1Xhzq2TPE0LcnG VnUtshpmMd6n79dLMk00F4UflY3IJBMMcZu1M2S6e6p9G9E2Nv4D2Rl7bw== X-Gm-Gg: ASbGncvLOSPQarIlRdjTabWup2RmOjQA68P/ffFMkkJ241tfQGK1vq4jr/5aipCs2kC 43kCwd9WTpTHmDalPiIX1ZhvS8wjVHxSSBv+1qUC8s6LB2Zq3csNtECmLv4Wn57qFGLjvm2iugP EoiIqqMV4n5I3LenczxSp99FE3XzFLZvyAGuYDYuO9F0tcXftHIfUBRI5HJfMODjRB4r4lz8IFe KfEKFG6hiAkmiOvUeb8lNeSGqa8xyNFB5q/Qw== X-Google-Smtp-Source: AGHT+IFwNGZpOf186LS0+A/fe+7IDyEgSD6mKmx4t+2iELtqLjMcSiCFosC6MlVHFmlpQU/Dj93OXw== X-Received: by 2002:a05:600c:5102:b0:431:59ab:15cf with SMTP id 5b1f17b1804b1-434a9dc8227mr198904225e9.19.1733148568366; Mon, 02 Dec 2024 06:09:28 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:a7ec:4896:21f2:ffdf]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ea9c5952sm5474247f8f.67.2024.12.02.06.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:09:27 -0800 (PST) From: Robert Pluim To: Yoichi Nakayama Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: (Yoichi Nakayama's message of "Sat, 30 Nov 2024 16:40:53 +0900") References: Date: Mon, 02 Dec 2024 15:09:26 +0100 Message-ID: <87bjxufa7d.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Sat, 30 Nov 2024 16:40:53 +0900, Yoichi Nakayama said: Yoichi> I found that bug#55940 (https://debbugs.gnu.org/cgi/bugreport.c= gi?bug=3D55940) Yoichi> has not been fixed on Emacs started by "emacs -nw" Yoichi> (substitute-command-keys "\\[customize]") Yoichi> #("" 0 15 (font-lock-face help-key-binding face Yoichi> help-key-binding)) Yoichi> I think this is because make-non-key-event for ns-* is not call= ed Yoichi> in this situation. Right, but OTOH typical terminal setups don=CA=BCt allow you to use super as a modifier anyway (unless Gerd has a magic recipe). I guess it couldn=CA=BCt do too much harm to call the ns-specific portion of `x-setup-function-keys' even when not in a graphical frame, but I=CA=BCm not sure where we could hook that into. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 09:50:28 2024 Received: (at 74619) by debbugs.gnu.org; 2 Dec 2024 14:50:28 +0000 Received: from localhost ([127.0.0.1]:54862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI7kp-0004St-MZ for submit@debbugs.gnu.org; Mon, 02 Dec 2024 09:50:28 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:46215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI7kn-0004SZ-Vk for 74619@debbugs.gnu.org; Mon, 02 Dec 2024 09:50:26 -0500 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-385e075255fso1875984f8f.0 for <74619@debbugs.gnu.org>; Mon, 02 Dec 2024 06:50:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733150960; x=1733755760; darn=debbugs.gnu.org; h=content-transfer-encoding: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=ybHFcj/ZbDCQFuRY9eEsaoduZExM0EbN0NTDKhxg7k8=; b=Obr695wFn9TD0hN2k+3xksqawYIFHGC5Uyef4lQRFHyTExlk2Vq1EIYibK+WnHStxq KMCuDhQ0jCyGHhU2ZgAEd+dU6yu2wshAHwikHEaqIgX17pSWQa3j9J9C44JFU3Kn+Duc /d/j8Xput2mzcTLHahjZvWJlIz3PRQzolsjei0SY+xjZb5wSLRCrlG0SU4Y1YZeXzslf DpipYgrW2t2ec3La0L99mBxriIb5k21zl2O50NIWuDGN9DiWPmlW23HR5rb9jOSh/u3T ELQYgoRSKi0qzREgpZvoKJnCeWbv9XpnAVinU1tY5NG65v2OnCi7+B1MQ1DhN2aEL2be 5SLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733150960; x=1733755760; h=content-transfer-encoding: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=ybHFcj/ZbDCQFuRY9eEsaoduZExM0EbN0NTDKhxg7k8=; b=pLWMJxET41OBcjedOZ/KAV3qtB2Q+VxDQHsItobL0Bdc8f/Mj5/zQN0ErsaqpbIJeZ v+UFae73o7MO6asNGinkZ9g+ZRdOKAoxX7QDkxYOvCOY9bYQWSKcHYisgNiEmDNfFgZh bHF3BdjFNDVWPdDWY6pEV8/LwPQi7Jb4Wf4eYDCHRfXOMehLXkJ4uN26+L26qrgSty5S +9xxU9UB4bn9areIKw5WOBknwo6c9BfctDkgOYj5/ULdbaXjg1JHymnqX2ATut1xl1Gv fPgJ/C9pdgxanCEVCV6Oj6F5pCgOWgcuJQ69x4N/ndFzn4D3LR+pNbZKiDid+5e0RAhn dvMg== X-Forwarded-Encrypted: i=1; AJvYcCVTPb/YwKgmjQWGqnxej2nbOjpbfH3K8FbLx/JI1Ojm75Ur1M8Ov0qu5Mh3SOtB0qwLhJ2ALg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzMgaySRfEC5j0PpYKC0WLqVOzPgXkanssTMxKbTk3Mr1Q/WR5G lYjNjV/FEYDskKsUFSscMfDuOKeMmmqqPCAnkcrZ9U5hVmNW6NXKqCjq7w== X-Gm-Gg: ASbGncvjQBHE7U0rRaAZaKjob2jvEtAPQGzNzX5IE6oc7G7kfFkq+qjW1dHy9U56E80 6Ur6IAPCshPrfp7idwUj18+HxMSCeISR30vMOhabSTOCSoDCMywrlBxS8TrTjvL5DfGlrqUPGbr ftT+SC8NybdOYExCT/0QjqboLJ2o8w8qvB/SgCyBjTrmSZfHgMzTNtkItrZvuebPxO4H3rPUg9x t4Zp/x7o4nJhM5ZceTCyg4iG1ZjuNZOPoOzSDclBCFuvM5fY2Za4P+X5OwzsF8t8pIIhVHddFIw BqTqqxiHGJsF/rEEpcRXpqjzgNX9hElpik34VJK+hLj3jr2Fd1WWztNZr80= X-Google-Smtp-Source: AGHT+IE4iu9KTA/PUQ1XQtcl3ZFw4ZSWLG2foFpocOr52Zz2WjcHtJC07e/9Q92/mZaRR2K9359oSw== X-Received: by 2002:a05:6000:2102:b0:385:ec89:2efd with SMTP id ffacd0b85a97d-385ec893097mr4682373f8f.22.1733150959542; Mon, 02 Dec 2024 06:49:19 -0800 (PST) Received: from pro2 (p200300e0b7492f00752439841d4cfe6e.dip0.t-ipconnect.de. [2003:e0:b749:2f00:7524:3984:1d4c:fe6e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434b0dbfa2csm157819295e9.17.2024.12.02.06.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:49:19 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Robert Pluim Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <87bjxufa7d.fsf@gmail.com> (Robert Pluim's message of "Mon, 02 Dec 2024 15:09:26 +0100") References: <87bjxufa7d.fsf@gmail.com> Date: Mon, 02 Dec 2024 15:49:18 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 74619 Cc: Yoichi Nakayama , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Robert Pluim writes: >>>>>> On Sat, 30 Nov 2024 16:40:53 +0900, Yoichi Nakayama said: > > Yoichi> I found that bug#55940 (https://debbugs.gnu.org/cgi/bugreport= .cgi?bug=3D55940) > Yoichi> has not been fixed on Emacs started by "emacs -nw" > > Yoichi> (substitute-command-keys "\\[customize]") > Yoichi> #("" 0 15 (font-lock-face help-key-binding face > Yoichi> help-key-binding)) > > Yoichi> I think this is because make-non-key-event for ns-* is not ca= lled > Yoichi> in this situation. > > Right, but OTOH typical terminal setups don=CA=BCt allow you to use super > as a modifier anyway (unless Gerd has a magic recipe). I guess it > couldn=CA=BCt do too much harm to call the ns-specific portion of > `x-setup-function-keys' even when not in a graphical frame, but I=CA=BCm > not sure where we could hook that into. > > Robert I think I have even 2 magic recipes :-). 1. Use a terminal like iTerm that supports the Kitty Keyboard Protocol, and use kkp.el in Emacs. Example from my Emacs C-h k Command-M g ives s-m runs the command magit-file-dispatch (found in global-map), which is an autoloaded interactive native-comp-function in =E2=80=98magit-files= .el=E2=80=99. That requires some fiddling with iTerm key settings so that iTerm itself doesn't use the Command keys one wants to define. https://sw.kovidgoyal.net/kitty/keyboard-protocol/ https://github.com/benjaminor/kkp 2. Use something like Devil https://github.com/susam/devil/blob/main/devil.el In short, that can map input like `. x' to `s-x'. I think there is at least one other similar package named God, but I haven't tried that. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 04 08:55:06 2024 Received: (at 74619) by debbugs.gnu.org; 4 Dec 2024 13:55:06 +0000 Received: from localhost ([127.0.0.1]:34726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIpqK-0002aI-UQ for submit@debbugs.gnu.org; Wed, 04 Dec 2024 08:55:05 -0500 Received: from mail-pf1-f181.google.com ([209.85.210.181]:56694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIpqG-0002ZC-DS for 74619@debbugs.gnu.org; Wed, 04 Dec 2024 08:55:01 -0500 Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-724f41d520cso4054986b3a.1 for <74619@debbugs.gnu.org>; Wed, 04 Dec 2024 05:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733320434; x=1733925234; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=O4w2Viet5EVqfxdpX112fYkS+nMLmCVpOzu1sCSh1GQ=; b=SLMymsYerpBOjwlggnPcg/DoJ3YygbgeTHAmJL6A63y46s0gu3BOjMlKDlj64AOn5T RxhJoumWe46yJ3T5C6C1GLoiwCkP0PEt2c05qmOMBx54BTL65s0kYgecAPxkktxgCdC8 99KX/fwvo4IIqDmWehvme2gd4WmrLSNbY9cnfC/356z4qGIliJ8TdjaUfAy41W1B55xA Tzbcj9Txj7Nt5a3Jd/hlU8KC8ZlcviOBc/BXJ2LAtl29khzyC3LJ0Ezl7U5w/1hzz667 nT7SIfMawVX6QfVFMpbaTv8rE0QexxcKjzvZAco5R3Msq0lirJC/GfCr2tnNwaWbNSkG 4y5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733320434; x=1733925234; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O4w2Viet5EVqfxdpX112fYkS+nMLmCVpOzu1sCSh1GQ=; b=OYyRpVFx0a1Cf7XInjuedZtaGTILftF8CfcmapclRpn/x3cVB9OTDftpfdgqcva3H3 +99XulLo8TPjbxG575WbCKit2OWNq5usExq1TvQRMOp2nyuyMBfy22eN/i6Dz3gjmglz ZLKqXgkBdXCR6sqau5tIDHSORoeFjVQzhlXkf7Jb0QeVvi+JlmZspRNZO1rPEwBsqbyv HGh2P8C7lcmEln3RlYGEgacKEw+xpzw/h7gKW/pUZhu5uWVhkiQCCTY7eGKWgUxsHR61 VBahoDszdCrsi8nURlHDJtpGsNFQnFQEjTYrCRj4dvwKPeRlXNLuQDzVZ+fql6IbIHj8 AviQ== X-Gm-Message-State: AOJu0YwJUsYl1F6b/gtBLlO39Acx/ci5XV/91+M5naxE34eo+GrzLJK3 QkTt4FGQ9fx9PMKGqB/XGGwIU9APWIZ8jQ3RpzawuBgAQk+rdrKwt1kMnF9c44bUwZsno1PoSmV dAnYW5aHKTZt8NP3s6fr6IToUHqs= X-Gm-Gg: ASbGncvfNM1AGi5sEIZEa6VxocUpz+2Bz3TJxNguZFDd/fFvwFjNZF2Ak7jJzf4UwS1 nDgrLu7wTvuNgqsAgLjIBImOhq+a+edyq X-Google-Smtp-Source: AGHT+IEWqQJS52N9RZtGsnGgKAB/2V+EtACBrjDlMgjAzTITVgMkajrJ7sN2E8icMZk7efAuS26X3EsqYs2BKoGSPpc= X-Received: by 2002:a05:6a00:23c7:b0:724:bf30:3030 with SMTP id d2e1a72fcca58-7257f968d89mr8536842b3a.0.1733320434240; Wed, 04 Dec 2024 05:53:54 -0800 (PST) MIME-Version: 1.0 References: <87bjxufa7d.fsf@gmail.com> In-Reply-To: <87bjxufa7d.fsf@gmail.com> From: Yoichi Nakayama Date: Wed, 4 Dec 2024 22:53:43 +0900 Message-ID: Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw To: Robert Pluim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Right, but OTOH typical terminal setups don=CA=BCt allow you to use super > as a modifier anyway (unless Gerd has a magic recipe). It's not true. We can run commands that use super with "C-x @ s" instead. I think there is no way to enter ns-*. On Mon, Dec 2, 2024 at 11:09=E2=80=AFPM Robert Pluim wro= te: > > >>>>> On Sat, 30 Nov 2024 16:40:53 +0900, Yoichi Nakayama said: > > Yoichi> I found that bug#55940 (https://debbugs.gnu.org/cgi/bugreport= .cgi?bug=3D55940) > Yoichi> has not been fixed on Emacs started by "emacs -nw" > > Yoichi> (substitute-command-keys "\\[customize]") > Yoichi> #("" 0 15 (font-lock-face help-key-binding fac= e > Yoichi> help-key-binding)) > > Yoichi> I think this is because make-non-key-event for ns-* is not ca= lled > Yoichi> in this situation. > > Right, but OTOH typical terminal setups don=CA=BCt allow you to use super > as a modifier anyway (unless Gerd has a magic recipe). I guess it > couldn=CA=BCt do too much harm to call the ns-specific portion of > `x-setup-function-keys' even when not in a graphical frame, but I=CA=BCm > not sure where we could hook that into. > > Robert > -- --=20 Yoichi NAKAYAMA From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 04 09:39:26 2024 Received: (at 74619) by debbugs.gnu.org; 4 Dec 2024 14:39:26 +0000 Received: from localhost ([127.0.0.1]:34796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqXG-0004tr-46 for submit@debbugs.gnu.org; Wed, 04 Dec 2024 09:39:26 -0500 Received: from mail-lf1-f49.google.com ([209.85.167.49]:61716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqXE-0004te-10 for 74619@debbugs.gnu.org; Wed, 04 Dec 2024 09:39:24 -0500 Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-53df1e063d8so8923211e87.3 for <74619@debbugs.gnu.org>; Wed, 04 Dec 2024 06:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733323103; x=1733927903; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lT3vMIzHNuxaBfSPEEeazfyaFIfj2zWzqUJTZIHnfW8=; b=Q15nrabEd69UUyUzMrJEUy/6l/4n7TPmgy+GDsrW9CoFng4loXiHPcz7bY0GsIa0Jc tBuaGJh6xr3SEQoAU0r15Gy7xKWZPBHES31Y0zOaO1T9rPBA3J3rqG3pqd8N8Q98couj iHOY63VHTACVL7bkXjuGmUNNf4IW7BhhhXfCiGcM+BJvmny5vTcpiICtRRcd4kC4mQZP fJgw5AfHaijW/0xRvKWRqqLb5dhLruKeBNA7RboTICuMaCsEg6Z/FFbmU00fqnO7WQVq 0mLlB39sseZ8WvgsM55FbkgsXDgrH95O3+cQQw2NmDdHuUOjxV3rwe+vIQ4C72WEsKpQ hCiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733323103; x=1733927903; h=content-transfer-encoding:mime-version: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=lT3vMIzHNuxaBfSPEEeazfyaFIfj2zWzqUJTZIHnfW8=; b=NM0q5wkjexbpXL6plBZ2hTBWF0oj2EER0P8A9YJJWz8t2SzypykozV+RPMs4d+WcqN bz6mwYEj8Nh1wRbtvtiZxg2CiiOdMapc0be0sd6hogULPdkHgIHtt2C7lPDarBV+jZhR 1RRebHV1QcIIiVl6elReNrXc5e8B5JiODZstz59n6CY4mMU0Zsi6Zr6f+sD/IbXYBhft viD2Kr0a+TQIZQTiWgw9yGHK4EzKiqyOa907oIy/BvQ1QYh8yNQlXM2uXqrX6cxai1le qQQppCuWOM2x487Uq3F1WekK6pGQZxsDuUBe0k+zl50SALGC2lV7DTcZ7P3FAOl7dvVV XEAg== X-Forwarded-Encrypted: i=1; AJvYcCXfAUZ0UpUvzX7tB9t+UPv3kF+8NHcmmnFt0OO69I+i23EGW4YJ0gOyRVP6Y9BWJEUdPl15Mw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxPNPR+kkE0fCDldlhnF1T0bBzWv4jsACPOMGyMJSEv8Ap2U11A QH245u9Ak/kqoYm/slfM0zkoU7olEmmTYfQt372Bm42TcL6P8XASExVIgw== X-Gm-Gg: ASbGncsb/TKqkUMO2xI42gRjleGzI/lEDS0RfBSYZNr+804KpfpLI+KLaiXP2PYKQ/l 8eXAZ+Sz/apVPHJNlNFqgim6yNXsrokp1+15eaeNy36XU6qbbwoare9DlK1AjJIBypWoib6Y6TF /FG1qI6SMy2+jJfMHMmnLZZYvAd68+RF40klRwleGnN7efVmQuvXNn/rc9Ztq+J7Kj9GvK+Fi5a DJn0qSM8cfJGqm7KVlWurb3WFNPCe9wdiC6LA== X-Google-Smtp-Source: AGHT+IFBgqxJmGqjIh0vnuFduYbrGGy4FMHzOoqnfRynAKVDk3T50NDOiO+P4fVqDdhxFbimL+8dNA== X-Received: by 2002:a05:6512:3da4:b0:53d:d65e:772a with SMTP id 2adb3069b0e04-53e12a38927mr4705851e87.47.1733323102516; Wed, 04 Dec 2024 06:38:22 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:b3e6:15b0:9869:5220]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d5273131sm26487055e9.12.2024.12.04.06.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 06:38:22 -0800 (PST) From: Robert Pluim To: Yoichi Nakayama Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: (Yoichi Nakayama's message of "Wed, 4 Dec 2024 22:53:43 +0900") References: <87bjxufa7d.fsf@gmail.com> Date: Wed, 04 Dec 2024 15:38:21 +0100 Message-ID: <8734j3eco2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Wed, 4 Dec 2024 22:53:43 +0900, Yoichi Nakayama said: >> Right, but OTOH typical terminal setups don=CA=BCt allow you to use = super >> as a modifier anyway (unless Gerd has a magic recipe). Yoichi> It's not true. We can run commands that use super with "C-x @ s= " instead. Yoichi> I think there is no way to enter ns-*. That=CA=BCs true, I=CA=BCd forgotten about that. So calling the right bits of `x-setup-function-keys' would fix this, but I have no clue where we could call that from. Perhaps we can add a "term/ns-common.el" and load that from "loadup.el" when (featurep 'ns) ? Except then it would probably end up being called twice when using GUI emacs on macOS. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 08:47:39 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 13:47:39 +0000 Received: from localhost ([127.0.0.1]:42394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJYgE-0001iu-PU for submit@debbugs.gnu.org; Fri, 06 Dec 2024 08:47:39 -0500 Received: from mail-pf1-f171.google.com ([209.85.210.171]:53399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJYgD-0001im-5q for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 08:47:37 -0500 Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-725935d001cso1762550b3a.2 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 05:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733492796; x=1734097596; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=i+W97wFUl56C2GKhijPLD5xP9TFRWp3a35vOt4SkYMo=; b=B1T9GyKIh1mJHjTMH/RUxL2L0yF2EpHGLCmHN4XJ7GuVdYZkpzIcKTVMUykv4s3F8k Yn0uEomrxyQm5VvMK5SYskx3ufDgMJxoWFGls1Tigx0AlvYpxw4iGgYspBsFb4f5Vtwl itDa8mGv7wkwYZq6NPmX2I2eFdIOEg8o+Nul9+boEo4ccRS+InquUqd1eoTU1f7yvzm5 0sp01FC7JGSFWSlhDRZeoSVuc4hUVWwbok6oOTUp3qrHGHSCNTO+xpck9gvPWE76R16O zg/HRz+eu3mwwUnJw2BOB6gvfZjuc7KfBBDriEVZm1ne5cpdNH02icUKoBf4XUTEn9/Z o/7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733492796; x=1734097596; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i+W97wFUl56C2GKhijPLD5xP9TFRWp3a35vOt4SkYMo=; b=e4aHEu6O9Qno/Jh3sTp29HwTM7gCNANuPYtnJFXY9iJz+A5QBP/ZpI7cHbAWbYKXtg DaarUgvuKHE6JYR0udnqLkq5ZFu0Awd/3xKuXVSURn7HWWYryCPs/6vJBnavB8I3ZmIg r72nhItqquGprxTiqJPUb/RKe1Y09oaGhz32zTe47rUNQYDH5riRHAttJt5G89dP9uIo UHwtwoBpBAnqHy0cpfHKtXZe5XtVA0Vm59+PdpEUym1s61Fjm9evSYuS3kHJHhekWpHo WtZ0vJMvSiuN0MGGOWzKcDuEZnu2B3OKlzAj0DkGIfSGMOjcYiW40guq/od7PtY5NBvX iB3g== X-Forwarded-Encrypted: i=1; AJvYcCXqSspq5RiDtjy6Eq5CLEp4oFzlzQqzpal9cCKvUl3g/JGNaThFTH6Fkmp0FSRCE5kDdIV9Ng==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwwbUeXazs1WqQ6JEgSVwDr0bFy3mq/XIBimALaDc8jc4FXqUPK 9Rk4DsGDC13wKHLzBRbRM0ro9el3kZkTvjLLrjzB6o72Gnq6vCNSdaj6wLeQU3JcbOT6+aYkBlr ChiuoUmCl1vTxsfa2VIaExkWufpg= X-Gm-Gg: ASbGnct5BSR0pHnyof/sUqskOz7HHdwOmHbJ6ecT14ihBp3uvw7VwCqBycMqH6M1xy8 Bx/On5wbZkldeFp8SyFEYm5+6IZWzA9Dax7cE+vLU4oVYOFkc5g6Ofi/LK1nCmAv6 X-Google-Smtp-Source: AGHT+IF34k0hlSHJ4tShZM/js0jIxvULjmJLlWqzqI7yqdO0xtHICcKpVkYUaXUYxZJTGoJ8R8Do8DQJirzJPTz/tvA= X-Received: by 2002:a17:90b:3910:b0:2ee:bbe0:98cd with SMTP id 98e67ed59e1d1-2ef6955f6f2mr4886886a91.7.1733492795572; Fri, 06 Dec 2024 05:46:35 -0800 (PST) MIME-Version: 1.0 References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> In-Reply-To: <8734j3eco2.fsf@gmail.com> From: Yoichi Nakayama Date: Fri, 6 Dec 2024 22:46:23 +0900 Message-ID: Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw To: Robert Pluim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I think it is not necessary to call `x-setup-function-keys` for emacs -nw, because the docstring says that it is for graphical frames. Just moving the `make-non-key-event` calls in `x-setup-function-keys` to th= e toplevel of term/common-win.el fixes the problem. On Wed, Dec 4, 2024 at 11:38=E2=80=AFPM Robert Pluim wro= te: > > >>>>> On Wed, 4 Dec 2024 22:53:43 +0900, Yoichi Nakayama said: > > >> Right, but OTOH typical terminal setups don=CA=BCt allow you to us= e super > >> as a modifier anyway (unless Gerd has a magic recipe). > > Yoichi> It's not true. We can run commands that use super with "C-x @= s" instead. > Yoichi> I think there is no way to enter ns-*. > > That=CA=BCs true, I=CA=BCd forgotten about that. > > So calling the right bits of `x-setup-function-keys' would fix this, > but I have no clue where we could call that from. Perhaps we can add a > "term/ns-common.el" and load that from "loadup.el" when (featurep 'ns) > ? Except then it would probably end up being called twice when using > GUI emacs on macOS. > > Robert > -- --=20 Yoichi NAKAYAMA From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 10:17:31 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 15:17:31 +0000 Received: from localhost ([127.0.0.1]:43908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJa5C-0006cB-Ow for submit@debbugs.gnu.org; Fri, 06 Dec 2024 10:17:31 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:52653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJa5A-0006bv-Td for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 10:17:29 -0500 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-385d7b4da2bso1916744f8f.1 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 07:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733498183; x=1734102983; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=BYdEnBc49th25Wvu2OhJsAkIbs1M+oi/rd6oYWOOYlc=; b=CaqQG3PlZ0KRvZRFInGPX9S1kmz8EuuzvZ1rgNnW7241NyyQ/KCJckbWCLTyrmI6wl nnJoSu+vSC396hNYueCrsISrAU0MsT0bQxqvB4OelQoPqUONn2NGVDgusx40kiMyucjF 9hKKzQ/g2yh3ClAJ8l7HWTowZWIMEnqJljhcQUAX6rXKXaU4SvpmCDbYML7wxTEyKnRR 0biYVTyLfJKZcmXl0PTNO4EqYOWRLI5wRdmB8iMT1aUJTW4X1WeThB3Nxh42zjbH0HJN 2F0U5Owq88fiQHfxmWBThT6l3c/kBSGKeBb/dDgkd7XjRp1mEttELwPbo3ODuj0iPa9f q/QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733498183; x=1734102983; h=mime-version: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=BYdEnBc49th25Wvu2OhJsAkIbs1M+oi/rd6oYWOOYlc=; b=ecDwS27U6S65mBlwOzc00Vr08mizb1YFyzCRH/M4IcqOxMudcxBUBnsIBMm77wbuJy Onj04O6LqRh5GVbzpzFf+6HV44VoCfonXG92Vs1bvNm2PwDtNSmnKQrUgalMEN3LduoA OrSw+FkvziFmN6JFVeXNW3H4RhPatCTBTrPkinN94nFDbC4xcwXk0+aiObs4g6/jMlJq uTtfjtl3Q9/9ukB2g/IOT9Nnbvp3uj3CV2fTDnLVf36mL+dq7MWT2JyVaIBO0Pk3aX29 YZ/tB2/JvNjT4RBa7jXg/mgEita8sfoRLWK2ul6yd+djtSvI5952sCufvfAMN9boE6IQ GXGg== X-Forwarded-Encrypted: i=1; AJvYcCWRvo1KJxoKq2K7ksCE5Upqfkm0JpzfniPBJP1DpSQkOpg38lziALQtVRvqJIAHfngmGRl9Qg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw1gu0/TqXOVlalLsvXiA+wdy2ged352+WRPFfRAaf3PH0XNyde UCtFvml6UgWSU4L5GJ76A2QKa1yhVZIw37ma4aoNguGbCCaPNIhMcVaZBw== X-Gm-Gg: ASbGnctF50Ze9jPJMTXadqntBqmu6GcoS8HZQ+joIXmYHcOkxkBGPhxRpDD/b7WrLVr UFJUR8SwD0IGqF2yB/T1IZ7pLUY2pnWH78+ytQlCWQAt6i9VLp3qy52QBHhF29y38Dp7EF+w5qT zz3QTyNJbaqTJC/dMO3CzTUpVcJPq64FJERyIjNxAYYuqcWDmZFUlJWe/Pzd6NJ1/u7qjqEzZek IIWkc6r2jPwuvZz9y5W+tEcqdf2Lwxwn0cjSQ== X-Google-Smtp-Source: AGHT+IExJJngUDux+47CbbaKvqEM2VaPr0sMyaBMrxrC/7LdFMKnyL1pfrB78t9GAX4Dx/72gMchEA== X-Received: by 2002:a05:6000:1fad:b0:386:32ea:64b5 with SMTP id ffacd0b85a97d-38632ea652cmr310084f8f.31.1733498181206; Fri, 06 Dec 2024 07:16:21 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:18bd:5f0c:bef8:461d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3861f59cf8esm4725735f8f.39.2024.12.06.07.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 07:16:20 -0800 (PST) From: Robert Pluim To: Yoichi Nakayama Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: (Yoichi Nakayama's message of "Fri, 6 Dec 2024 22:46:23 +0900") References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> Date: Fri, 06 Dec 2024 16:16:19 +0100 Message-ID: <87bjxoc058.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 6 Dec 2024 22:46:23 +0900, Yoichi Nakayama said: Yoichi> I think it is not necessary to call `x-setup-function-keys` for emacs -nw, Yoichi> because the docstring says that it is for graphical frames. Yoichi> Just moving the `make-non-key-event` calls in `x-setup-function-keys` to the Yoichi> toplevel of term/common-win.el fixes the problem. If that works, ok. It does feel a little hacky to just stick stuff at the toplevel of term/common-win.el. What do the maintainers think? (would it work to move them to term/ns-win.el instead?) Robert -- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 11:22:23 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 16:22:23 +0000 Received: from localhost ([127.0.0.1]:44006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJb5z-0001Mp-1u for submit@debbugs.gnu.org; Fri, 06 Dec 2024 11:22:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJb5x-0001Mc-3Y for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 11:22:21 -0500 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 1tJb5r-0004nd-M1; Fri, 06 Dec 2024 11:22:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+keWQboTlgD2oIX2w4MSkTvr44le7PRtPh45svMkOv0=; b=Sa2s+KZPuDeq3olWICBv OwPuPOeq5inrXBTfHx0S7vbmdSSEUeCQ0g6gKWjIsbMCXrDKHnvIjXMiVLazbFcxgLR39EA+2knek wtQsMQYGcjK/idme4Hh61RRAHSWyA1gnHI8PC3DRqVpJ6KeXA5xY/8vY+0tspq5jntsGPDL28cRsX jq+LbthY14IrpeTxrbZIOW7Ygp2V8yaq0vj/NkHOvOZgIQ1XLWeOZL+jYXjvdUGo90qgMZgM+alGV MrNQTfZWgK0C92b2Tpk/32FyOxwxRG4NkNeRNklQFhIPHXqUagH88ZxN0GDdiBFSr8VIjxOiWkHDt zHOQ4azgHJfFdw==; Date: Fri, 06 Dec 2024 18:22:11 +0200 Message-Id: <86bjxolr2k.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87bjxoc058.fsf@gmail.com> (message from Robert Pluim on Fri, 06 Dec 2024 16:16:19 +0100) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> <87bjxoc058.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Gerd Möllmann , > 74619@debbugs.gnu.org > From: Robert Pluim > Date: Fri, 06 Dec 2024 16:16:19 +0100 > > >>>>> On Fri, 6 Dec 2024 22:46:23 +0900, Yoichi Nakayama said: > > Yoichi> I think it is not necessary to call `x-setup-function-keys` for emacs -nw, > Yoichi> because the docstring says that it is for graphical frames. > Yoichi> Just moving the `make-non-key-event` calls in `x-setup-function-keys` to the > Yoichi> toplevel of term/common-win.el fixes the problem. > > If that works, ok. It does feel a little hacky to just stick stuff at > the toplevel of term/common-win.el. What do the maintainers think? > (would it work to move them to term/ns-win.el instead?) I admit that I don't understand the issue, and not how an NS-specific problem is solved in common-win.el. Can you summarize the discussion's conclusions till now? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 11:54:51 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 16:54:51 +0000 Received: from localhost ([127.0.0.1]:44094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbbO-0002sk-TI for submit@debbugs.gnu.org; Fri, 06 Dec 2024 11:54:51 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:61880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbbN-0002sc-VG for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 11:54:50 -0500 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-3862a921123so746548f8f.3 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 08:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733504029; x=1734108829; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=YGoSS/sNy9sFf0FaZwmxHQFwuSCY3xxl+NLY/urL8BE=; b=lfYh2ruJjJu+v8jhrQPywkzpUv8fCcu10vmoyiEJJjEZZZydf/S49qAgp2nBZmyRTk l8H+u6lQ3peTwZmVX955cgnh5vHkHcmIblNYvcNRisV9Rl6XJ9sD4OwJq7KHUSXoQi6/ SnsYIzk8Xp7oK10q/24DJgH/oLm7mr2RCid2QEooTM1uPQ0oPifD4kFKXCPjF1VYeqlo Q3NwUd87/SLcf9uj7tlDDS4PhWl3Q8joyVQjweZFdzfHBVsAdK29oSLcU1XF4TFQacF0 fDLWdw529Rx0wDoAQ+Cy6uDHDR2nXTkoFCB6lG+r2pkWqVVwbfBaZAhnPE8I/53NhnjX OQog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733504029; x=1734108829; h=mime-version: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=YGoSS/sNy9sFf0FaZwmxHQFwuSCY3xxl+NLY/urL8BE=; b=N/UECJMWUfto1yeumAnofoRICprkLMgadLRGRI+oJuQVrwSboSg1w4FlS3xfNAz8zn bKDcFM7VxiqSaBsUFT2X5frhZShqrjL64vI/Sxgj7S01WNm9zw6MUb/lBkPGX86efpgB M3OPBuWAaZEr3VfH2ypxlotbbnRYGeqW0QfcpieYgNRoTISmpjAK5UFk40DwONdqQuOm 435QUOJ7PivXxwj5aR8WWWe8+YmjfytytlmdJ4XyLe+BZEZ1vxfLAQtGwpa0T5NmmK9E 2SaTzQmwiuqt20KNApxcbA579ir293qXHAWVAL1uxRVoAgbdmPM/Ti42d6Ef/ABhrG+X mW5w== X-Forwarded-Encrypted: i=1; AJvYcCVyJVOg22DNzfkru51R1Zqve73Kdnz4TTtx+0OlhZBzBmyIwJGoKMcArwAB9OxcdewH//aqOA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz8v5RmRpSj8sezjGoIiLy3Ab4R/IY7atocJ3lJMkPP/wwnIHDo DXKJ75dVeE3oUhVn4ae2RQ3rvNrvbzR7RGsTeEOfYdPQCbc0XOHlLPALqg== X-Gm-Gg: ASbGncvlwhKrKV0ujCX85MYryj1t5qejJ6VXxn1bJXp+lG9mx6siTXep86Y9uCpatNh FHvZPUrgyVn2yWRPELJJqMhvGqXG7tg/fTI9eHITGvcoTtF3T4KsrycxLZAFVRpqCTSZh5uGSS2 t4ui5+qWuQt7JS1M2tWXTiQm/UID0waiFZpL0nrTTUncaIp4faCZqiS1J+xnhJH9Fc0d/Spzrof gGitajQFSkIrNs/1efcCVdx0aJbilUW368+fw== X-Google-Smtp-Source: AGHT+IE7kSL7ZYLUY/Pg2bPODAoucg79zOfPXR7Vh41qroLAqn4XsGi5H3loEa1ASErycWm/0OQzbA== X-Received: by 2002:a05:6000:4026:b0:385:f677:85a9 with SMTP id ffacd0b85a97d-3862b3d0a60mr2516968f8f.44.1733504028614; Fri, 06 Dec 2024 08:53:48 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:18bd:5f0c:bef8:461d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d526ac03sm102285905e9.4.2024.12.06.08.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 08:53:48 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <86bjxolr2k.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Dec 2024 18:22:11 +0200") References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> <87bjxoc058.fsf@gmail.com> <86bjxolr2k.fsf@gnu.org> Date: Fri, 06 Dec 2024 17:53:47 +0100 Message-ID: <877c8cbvms.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> 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). Robert -- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 12:00:07 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 17:00:07 +0000 Received: from localhost ([127.0.0.1]:44108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbgV-0003C1-1p for submit@debbugs.gnu.org; Fri, 06 Dec 2024 12:00:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbgS-00038K-8B for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 12:00:05 -0500 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 1tJbgM-0003en-U8; Fri, 06 Dec 2024 11:59:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=epqE+8G78/ezOuGf0Z60OEv8aCJbT/R9/z/nLTm3lO0=; b=hnYOHm4hX4xj fYxVMQHV4pgzgzNogVj9N/ME/spEbEWJfg5lrzcLvPJcy8fnYN9NJ3pOh0x5ee9GhbYOmBh6Stiyl nOPx34XnDDI2urv3g6uDkMDliDUWO4Ja8/0M066LIKDIHIBHytc4x/VmF5ELwizHD78n077fqFlmW nGpfyjENWn5TyOKAoL8EGGQxlpXtjoWG3IP4unYxzqiPkpGdwk2mstixBf5zky2W+kjmMJC7/wzPY DdQRDhuoscmXiwP40Be4qZhJGhNR29pjw1Uii1MDYaQrJXs9Ntxqu2AoKUwC6oWC+g9By4l/zQTsW JBY1/CPFu68dTX+Ki6X4hQ==; Date: Fri, 06 Dec 2024 18:59:55 +0200 Message-Id: <867c8clpbo.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <877c8cbvms.fsf@gmail.com> (message from Robert Pluim on Fri, 06 Dec 2024 17:53:47 +0100) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw References: <87bjxufa7d.fsf@gmail.com> <8734j3eco2.fsf@gmail.com> <87bjxoc058.fsf@gmail.com> <86bjxolr2k.fsf@gnu.org> <877c8cbvms.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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)? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 12:12:21 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 17:12:21 +0000 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 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 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+2BD3UsKcrJ4cfh9B9rAh7iDfwp8EtV9+g=; b=ViHpt+1bMiRdVWOOhhjcLgpG9FhNzNmNkjvUE/sfln8Th3vP/3G9UaN1Q+ZHqbpU4q 4Sp9O8DmJhkbh0gqW7kYebmY7884YnjUY/NmIA3xq3cGJZT+hu2xDOs+tKSPhO2wUc99 4i0hMGLZS57Sp+MiB2DI6NwYz2tjNEaPFfeDRCB+huUMFW+1HGqZPZwUA0Vk8a9kcsir o759xIu3ksRVnoqu3/KIo6mL7Cly+Hg6NWsJ0pBPIn8NGFXGoa02O3MGxUV0sS0xJdQD N5VG/6evSHR0AQ2XAInEj6wx56aS+eIy8VYhR6eUrIIhGUoerqMXEXLvBjkpfMNpuQYN K1pg== X-Forwarded-Encrypted: i=1; AJvYcCVeZ6qIYHD9CVhqPgcmlDKI1iWFIiPvPpcOAutji1ddr0baq3OnfMw4f/KsZK7pa94ZXz4L0g==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx8ZV4Ilzrws4AbDgAi4chvnzDHpRMjX2V7f93vqiw9IU8AgDEd gJQ7sbdHDGbvga+fAswleqkt63PyxrKudGXWcvByrnYbwH4CYPuvTimamg== X-Gm-Gg: ASbGncs95NS2+5HZ/SEc4hh9qap94RMnjwAfjnRqrpWhFK+GTZYfOVhhktbeP1MB8Gm vvCHKOptRBxgEuG7fVyveonkqEFSWB4OwzCxg5b+LdKUgF8HwpbZbp/S8Lsr+KUHC7MG9UdgszT xGO4LHg0ssRqkOk9hqU90/+oT+QCzw5TYiaQBPRZb3skRq3alZOarT8w3GPfA4zez6ugF2N19x9 UbEn2EQhW39n51t5CTEol/gPjZi88otTDYiwh+VDbxb6KUb2Xz6I2ST192e071ZyVKaVEhbKfju Mo0gZKazjpx18FlM4CsvDWNjVwJ5BNyFMjVbDnxsgi7VAQpyaPsDafKe3A== X-Google-Smtp-Source: AGHT+IEd1Zt8N9Xj8y2dbE372u+80W1UzTsTIlPpYRJL5kq8noDWPha+jBl6VLpIwINUI89A95wuHQ== X-Received: by 2002:a05:600c:4fc9:b0:434:a529:3b87 with SMTP id 5b1f17b1804b1-434ddeb53b9mr39711225e9.10.1733505072505; Fri, 06 Dec 2024 09:11:12 -0800 (PST) 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) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <867c8clpbo.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Dec 2024 18:59:55 +0200") 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> Date: Fri, 06 Dec 2024 18:11:10 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, Robert Pluim , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 12:25:36 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 17:25:37 +0000 Received: from localhost ([127.0.0.1]:44179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJc5A-0004Yr-Fx for submit@debbugs.gnu.org; Fri, 06 Dec 2024 12:25:36 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:42182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJc58-0004YX-Ao for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 12:25:35 -0500 Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3862d16b4f5so516212f8f.0 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 09:25:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733505868; x=1734110668; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=DjkYBoOynNgGPkyz4u+cIXShTMFXPUVTycbdK79c0EA=; b=bHY1Luq95M1oxBYxz/EGfBHqZ47ngZA0GgmmjjSBUKZP3qQI6CDjgTzfQTGGdzkt9X bycnAALsLnZyd1GBwJOJ4RvQOkn88AIAEOlY3bU8KCifE9COamT9ohBWwJZv1y34Avg1 SRjq5vARpJE0OJre+POd2UM7Q+KvRWb/R1ei59RkdCNzW5Ll731f6EaOJTVWKWhV2Xcg RKu1J2qSDY1xMxoQtwOdZpQ8+hH7doFLEkhXgt013yg9oKbI0KBYKSPiyxCqbmHCaWtJ 92ZJ9SdGQJ4ziF/vCzqchp8aqsuoUGHRvrlBDW2aOY6YZdj0+7eyJ1Uitiio0AWyZ6BG L81g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733505868; x=1734110668; h=content-transfer-encoding:mime-version: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=DjkYBoOynNgGPkyz4u+cIXShTMFXPUVTycbdK79c0EA=; b=rpE86ycvR18d0r+vv3rdj8Iem11wr+JIxYEetGCldhTY7dr6JSX5zLmQqbhLwTAHPQ TP5ME2F7+9s3Bo/Hwb0bkByATleHMqgQuGl94jiPLTYCZjXT2vVAgdwNGp/AVeS1Ee/n UFxdOdvCNH7ZKhaHFuEIeq1s0VxAFgihNiq2eNX87Hk10UhH6+Ei4vX9mMe65S16yfF5 3njs5ghbpA7YRDppl/4Jfe9hKmkH5rj2b8SnpH366y80tkh5C/uKK74eGVEs7BtidZmt s7ofCSal3quUUapw3EQVoMvaNf1VY+nkPGq5Vsv1reY2xDQDHHPVsXI4BKejFvCL33mP XylA== X-Forwarded-Encrypted: i=1; AJvYcCUUVlpNYiWci7c6JwseXs6UbbtuiscTTQ17lADPzx4DvYfJtpSBY5qi3LlF2sbYJFd4VnPfOg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YztxbTTtBnJ2fAwHvPmMsQl9oh2f9mn2uO8JBzZl/A3waQFXRG/ RfqJhpwVJ/OuSO6VpAMQxTCBU68fWsdwbD8hSb9QswfyEF7mg5gL5wNGug== X-Gm-Gg: ASbGnctC95NhpVWR8kxW8iPOuLzW8NJJTAl9XiHXers0BNpZBQx8LMlW1m3uWlv0tmy LzNNdvpPNR+1bFAyR3bRfFmyL3GE4RmFxB/n4iM/2OHmv/lQEJEWscELRj3QV4jYZhIUJTDLkz7 j6yeuDXiwHzIhIoVFxxL3GQE34mleni1RD2HfOTgUvj5AIlbd93SwU/4dzbZqVHeDxjexvO/ljE Q+FKXxg3iGmiz+AOEswo/t/cppV34zl6+u8iA== X-Google-Smtp-Source: AGHT+IHzpa5QShT69IXr6KXXoD2j1fhjThaiEGQJh4RU7K7qib/g26k4+WwvPv8tJvFdZ86cL7M70w== X-Received: by 2002:a05:6000:42c9:b0:386:2ea9:800 with SMTP id ffacd0b85a97d-3862ea90922mr1568421f8f.18.1733505868101; Fri, 06 Dec 2024 09:24:28 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:18bd:5f0c:bef8:461d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3861f4a85f2sm4982099f8f.29.2024.12.06.09.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 09:24:27 -0800 (PST) From: Robert Pluim To: Gerd =?utf-8?Q?M=C3=B6llmann?= Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Fri, 06 Dec 2024 18:11:10 +0100") 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> Date: Fri, 06 Dec 2024 18:24:26 +0100 Message-ID: <8734j0bu7p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, Eli Zaretskii , 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 06 Dec 2024 18:11:10 +0100, Gerd M=C3=B6llmann said: >>=20 >> 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)? It=CA=BCs loaded for me, but my emacs is built with NS support, just run with "-nw". Gerd> I configure --without-ns, and ns-win.el is not loaded in that cas= e. So (featurep 'ns) is false for you, so the load of term/ns-win in loadup.el doesn=CA=BCt happen. We could add something like (if (eq system-type 'darwin) (load "term/darwin.el")) with a new "term/darwin.el" file, I guess (but what about GNUStep?). Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 13:24:55 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 18:24:55 +0000 Received: from localhost ([127.0.0.1]:44248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJd0Z-0007Ku-3m for submit@debbugs.gnu.org; Fri, 06 Dec 2024 13:24:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJd0W-0007Kd-Az for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 13:24:53 -0500 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 1tJd0Q-0008BA-02; Fri, 06 Dec 2024 13:24:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VJSRtR+Ac+6NLPNXziJBQZxLIKqChNfkMXG3I19V3J8=; b=bt2+p8hmUPSxqkFxQR7d /s1SGBQaxWBL5OM6Jjhf9reGymjbctUlF9Va9w2O9xFkCz1AYTvrbsFAHyjCkIwyan+8ZnulyHeZv /9fNkT7E0HBf6Crp9qSX+/hw7fBho/Ayn3SO1li9RTPXufTXKrjcX8TYZEBnORhbQkvBpidV+2znU +EAuSnDNf6nEzE5Gd22QbUZDhLIA9m4ido6Qs1RFaLQUoyh3zNfRZqd5c6ufZGyG/foWsJFmAqWwt y+4cgrkepuakalo1hUx94I82eeOeqV+zIliuy5r6rDlL2xm0OU/68onAkZPc9bROzj1LnNEwt0AQ2 qj21qCjgoGB8zQ==; Date: Fri, 06 Dec 2024 20:24:39 +0200 Message-Id: <864j3glleg.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <8734j0bu7p.fsf@gmail.com> (message from Robert Pluim on Fri, 06 Dec 2024 18:24:26 +0100) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw 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> <8734j0bu7p.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: gerd.moellmann@gmail.com, yoichi.nakayama@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Eli Zaretskii , yoichi.nakayama@gmail.com, > 74619@debbugs.gnu.org > Date: Fri, 06 Dec 2024 18:24:26 +0100 > > Gerd> I configure --without-ns, and ns-win.el is not loaded in that case. > > So (featurep 'ns) is false for you, so the load of term/ns-win in > loadup.el doesnʼt happen. > > We could add something like > > (if (eq system-type 'darwin) > (load "term/darwin.el")) > > with a new "term/darwin.el" file, I guess (but what about GNUStep?). What will be in term/darwin.el? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 15:22:02 2024 Received: (at 74619) by debbugs.gnu.org; 6 Dec 2024 20:22:03 +0000 Received: from localhost ([127.0.0.1]:44382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJepu-0004gc-I9 for submit@debbugs.gnu.org; Fri, 06 Dec 2024 15:22:02 -0500 Received: from mail-pf1-f169.google.com ([209.85.210.169]:42023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJepr-0004g4-J1 for 74619@debbugs.gnu.org; Fri, 06 Dec 2024 15:22:00 -0500 Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-7253bc4d25eso2061667b3a.0 for <74619@debbugs.gnu.org>; Fri, 06 Dec 2024 12:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733516454; x=1734121254; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=p5EQKxu+mCCkvcg765CjgyeiWjXxeoq9Ataj95l1fPk=; b=Btczu8g3+KE6y9Rv14gYI7lzLVgqW3sYPt9X7ay3HVFVa40TDTLeKwRS2IpOpW1lCW OdIAqt3bCkd7Jnf5aobWXGk/a/tqErBlJz/TI7sbmb0QbogCw0J5+IRfv/tyhgDgPLcW d3BdfCD8iXl2Mn8WdAC0dUGJEAnCCYbFYrFMBQcAV8A7K6HyLzyoMAz8e6WV3E62xdxa LWkAM05uq4Xk9jhIebUnrzLyjFhNVtNunnIo/R06aWgQRZto9DDckFhT3eiX5EetPLgy bhvnebvXq7iDPezZBnyV9NFgDv1lPAHM3Qrrf4xpZt+TwO4MPf9SMzC397caMs3E8MqU O+Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733516454; x=1734121254; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p5EQKxu+mCCkvcg765CjgyeiWjXxeoq9Ataj95l1fPk=; b=J7A0TYI0OwXSWAckzphe3zQZRULF1JsKH0Set6opKlbors/8wSQrZXkbXV4d97K/ca QxFWcE0A73Job474i2iV7VgGiORsGLYTDouQBNL4QFhZ5K7uhosjvhG1XMfFihnewbow B7a6pZTb/vmB0BR+xqytGSUtCQ9Mjw87pW2dYsA9vAS33OInbXvvxIazXbSQlHJLZ9MY KWAnq+UP9vBP6Ewb+krf2WZpI+kgJkY+JcwrpT9dCBQoFApsBuMEvaMoTKHypiBqpW3D 2rZZLQnwKBGbjJdYuBxhLe5ivJ+uUAT+MSqQyiJfCBxfkKLh1S/LznwOdJdoee7UteUy hfVA== X-Forwarded-Encrypted: i=1; AJvYcCWYMryjxrxIwyiQ33Ewea+kSdrf1geUBuMzNsDQV9iw8ROOm00fgdmVT5rC7VJIqydqMpJWvg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxJWkCUvEp695Tye0jbCm6E7DiTDIb7fF1JyiHTCpv2SJmryMER Ly74nZzFNpsHs1vsfcdgqPvdjMjGmpwUoqIHCpLHVZQSBwlHjaC+eWb8XROW9t0iLmNYai3pMiK I76iHzvOi6qEmazs8Pufl7NLhXtM= X-Gm-Gg: ASbGnctzV51i5fILNtDchbrynXJwnXdtfz+Ps8X08YSpS8PHX1AC0iSmneE+Naz9CuT sqC4awvDAWxZaPmv1CGGNU3Ij7xQ9UR34 X-Google-Smtp-Source: AGHT+IG5vkIFCdA395gcqeCA/zkmk+53wCu4pscYyccr3yUcNaMSBktIqgztFYHYWUdHiTOj6EfW8xAh2ApYK+r0GCk= X-Received: by 2002:a05:6a00:218d:b0:725:8a29:27e4 with SMTP id d2e1a72fcca58-725b7c52e8fmr7087973b3a.0.1733516453471; Fri, 06 Dec 2024 12:20:53 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: From: Yoichi Nakayama Date: Sat, 7 Dec 2024 05:20:42 +0900 Message-ID: Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74619 Cc: Eli Zaretskii , 74619@debbugs.gnu.org, Robert Pluim X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I configure --without-ns, and ns-win.el is not loaded in that case. If term/ns-win.el is not loaded, no need to call make-non-key-event for ns-= ". It is because global-set-key for ns-" is only in term/ns-win.el. On Sat, Dec 7, 2024 at 2:11=E2=80=AFAM Gerd M=C3=B6llmann wrote: > > 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. --=20 Yoichi NAKAYAMA From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 02:34:59 2024 Received: (at 74619) by debbugs.gnu.org; 7 Dec 2024 07:34:59 +0000 Received: from localhost ([127.0.0.1]:45220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJpL9-0004Ct-24 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 02:34:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJpL7-0004Cc-3j for 74619@debbugs.gnu.org; Sat, 07 Dec 2024 02:34:57 -0500 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 1tJpIu-0007GI-SZ; Sat, 07 Dec 2024 02:32:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9lEiLBqYpQqK0vKMxTaQERzb1BlYPchZVP+5syoQzYc=; b=CcoiW2dr0i2f TvyXeZ3084vUzMXrPVcKzdM0SudbU45rVehLDrUToMR1Fknqvvw3nA+GVUv/fR0mipyf4yIXg3j0b a5g1GmiIFHtw055mzdzWJGu5q9PCKa9UjLTES3uE7DayEeN1P6Ddiz0/jl9+uuYjlvJjHVd8zN/iX CpXBd+RplJGgt7sTDl13VqhdWkxxGaHadoEK49w8crTHhv/7d/fTPyGl2tReo/+gRg68G4auIXGTL ZIHjx9s8RdpyHtjJbaXUS2oocJuyUqMjIj0pE4rmQuyiTrFlEVKsyNH3eC9bZz+TZ1XTAMaBfMPwp 2ALxHc27f5wvrTNMxb/CQw==; Date: Sat, 07 Dec 2024 09:32:38 +0200 Message-Id: <86y10sj6cp.fsf@gnu.org> From: Eli Zaretskii To: Yoichi Nakayama In-Reply-To: (message from Yoichi Nakayama on Sat, 7 Dec 2024 05:20:42 +0900) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw 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> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: gerd.moellmann@gmail.com, rpluim@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Yoichi Nakayama > Date: Sat, 7 Dec 2024 05:20:42 +0900 > Cc: Eli Zaretskii , Robert Pluim , 74619@debbugs.gnu.org > > > I configure --without-ns, and ns-win.el is not loaded in that case. > > If term/ns-win.el is not loaded, no need to call make-non-key-event for ns-". > It is because global-set-key for ns-" is only in term/ns-win.el. Sorry, I don't understand: are you saying that those keys don't need to be supported in the --without-ns build? Then what exactly is the meaning of --with-ns for -nw sessions? Isn't NS a kind-of window-system? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 20:02:37 2024 Received: (at 74619) by debbugs.gnu.org; 8 Dec 2024 01:02:37 +0000 Received: from localhost ([127.0.0.1]:49044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK5gy-0006EI-S5 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 20:02:37 -0500 Received: from mail-pf1-f170.google.com ([209.85.210.170]:44382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK5gv-0006E1-OF for 74619@debbugs.gnu.org; Sat, 07 Dec 2024 20:02:35 -0500 Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-724f383c5bfso2759477b3a.1 for <74619@debbugs.gnu.org>; Sat, 07 Dec 2024 17:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733619688; x=1734224488; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=11+zqFT4htwo8Uw/ckFHZZp0+eWsI1AVQYWhIZlixhk=; b=R9gsR1E1rbgKNnC0VMkBoqEy3s69rxCJY64B2TZGW/dHtyarb4fiQkD2bb93an/K4Q s68h+T/ascs8DJTEiwtUCz/8k012sqeMKEMx1OrSiE6+jGzWJTOiDFzl++Z3WaxF2zL2 So/LUwPlNbmQEW6HlI3u7VUfdHpLU5uSn4fjFMmADCS7kBWadl8NTRXiXihZimcv2R2X Fq4Guwa8bJ2dk3wQJf4Pdpfer1H1Km0s2nRDNM2kyFrEIgLdRqGlAFV4yETW3A3/Y14s A8x4Pbw+TVrZ64HwY5s6+qE7/366Vkmjepzsuqy4Sa7pmu7dTWnv4e2uq2ZzIOy+bcG6 LDAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733619688; x=1734224488; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=11+zqFT4htwo8Uw/ckFHZZp0+eWsI1AVQYWhIZlixhk=; b=lW1BxHS+yyLzEy3UPkhAB/qip6DAx9H7Qu7Vs/S92xE0Fe2O33zMS7ftRBBx/MAMzc b47fUQc8ARrJ4fXTSyeL0hOw+PpqaqKLX7/VzpU90TWgJb0Hor2Ded+z8WO0Fq3/a78t QWI18E3gmnWn5CXmdrzEZut++q0ocwSAv77SVw84zfGR1Qxv1k0WOZJ5KsZshnBfEca+ 6Si/7ff34fhH0uz5wYSAMDiDflWTN5JmTUSWpuyITG51kTyi+LKlxLJiZwELS9O71akL HLne7RU0fD2fivtVo/TkaO5+jxM53bHRyzsQ+8+CnA+zsWvBi3xkbLS8Dvmf+V2OYyNO Vp0A== X-Forwarded-Encrypted: i=1; AJvYcCVwdMmQ2/5ECkPSdciIH/0iwh6pc4zksgCoeZ1OQT8Zype7tzREpCqenfHFKOdn7b6Y5g4FmA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzdMVWbH+pt5/wL8HFUMiq7TN7/+NZ2u8t/c2DKQxZJsCy363YF pbyxZyHLt4HOHILNTymimpIRUOI3BLkMOY4pCWVkG3BQ/yHK9foyxrnkQzwzRsC94+U5ojPIrxs eC7ucRkDdDgASqSSmhSnMBcVoZ/0= X-Gm-Gg: ASbGncuz4hUKT+vC3eG+Y2FzOnqgCM3BF3nruhFYpHUjzMF8F1tWKlDlsEDIx2exhAB RuveqyXhppW0CrC8y48GmliyEGmG73jUo X-Google-Smtp-Source: AGHT+IH4m38+qgCgEOJkzNVLN6WtmXlwP31lfW3hdLFB00jWyZiS/dLVjZDSaSkBNxmwOtI/3RUzJwyS7sinJ+n3QhQ= X-Received: by 2002:a05:6a21:114f:b0:1e0:c56f:7daf with SMTP id adf61e73a8af0-1e1870a8df8mr12389341637.6.1733619687622; Sat, 07 Dec 2024 17:01:27 -0800 (PST) MIME-Version: 1.0 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> <86y10sj6cp.fsf@gnu.org> In-Reply-To: <86y10sj6cp.fsf@gnu.org> From: Yoichi Nakayama Date: Sun, 8 Dec 2024 10:01:16 +0900 Message-ID: Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: gerd.moellmann@gmail.com, rpluim@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) The problem I reported is that (substitute-command-keys "\\[customize]") results in "". This is caused by defining global key mapping in term/ns-win.el: (define-key global-map [ns-show-prefs] 'customize) without make-non-key-event call for ns-*. So, if term/ns-win.el is not loaded and the problem doesn't occur. That is why I said: > If term/ns-win.el is not loaded, no need to call make-non-key-event for n= s-". > It is because global-set-key for ns-" is only in term/ns-win.el. (Sorry. I wrote "global-set-key" by mistake, it was "define-key global-map" in fact) * Emacs built with --without-ns doesn't load term/ns-win.el (in this case, the problem doesn't occur) * Emacs built with --with-ns does load term/ns-win.el even in -nw process Therefore, putting make-non-key-event for non-key events ns-* in the toplevel of term/ns-win.el solve the problem, and I also think term/ns-win.el is better place as you said "NS specific code should definitely go to ns-win.el". On Sat, Dec 7, 2024 at 4:32=E2=80=AFPM Eli Zaretskii wrote: > > > From: Yoichi Nakayama > > Date: Sat, 7 Dec 2024 05:20:42 +0900 > > Cc: Eli Zaretskii , Robert Pluim , 7461= 9@debbugs.gnu.org > > > > > I configure --without-ns, and ns-win.el is not loaded in that case. > > > > If term/ns-win.el is not loaded, no need to call make-non-key-event for= ns-". > > It is because global-set-key for ns-" is only in term/ns-win.el. > > Sorry, I don't understand: are you saying that those keys don't need > to be supported in the --without-ns build? Then what exactly is the > meaning of --with-ns for -nw sessions? Isn't NS a kind-of > window-system? --=20 Yoichi NAKAYAMA From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 08 01:09:46 2024 Received: (at 74619) by debbugs.gnu.org; 8 Dec 2024 06:09:46 +0000 Received: from localhost ([127.0.0.1]:49386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKAUE-0004qO-0D for submit@debbugs.gnu.org; Sun, 08 Dec 2024 01:09:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKAUB-0004q8-RX for 74619@debbugs.gnu.org; Sun, 08 Dec 2024 01:09:44 -0500 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 1tKAU6-0000vy-KR; Sun, 08 Dec 2024 01:09:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OEsOFXKtQVDV/ND/4Ek7llX1wsII13cJ//Uufq1x6es=; b=pyvCD18FDphi x7uMFrxN/cQswNSr/KZmMVpz2puxsinUpNiBi8jfC4S1axnp3uaPcJuqenZErhq89TfXfntaf1ryq pmLZ1d3hubarD1XhFxwR80HjzDosSfuph/CjBNUY6XdruBPIL/mRWEScYMxVpdHv0Mar2UnOhDReI zwW4Sm7WmgeZpDtjeOv7HkW1BJF78uheszj/wh3OYQcZiGB6V/E7uXYPY1fNiRrWN+DKT4PAOZkPa ZdHa9tjgzKCvfFNfujx34eRPMDDqL9wYKAcyK8nwbbq7PGL2KTa9f9l31oGm4odzN/D7OiJyvNDyz 2KJz6q2aPXqEhEnD0OxD4w==; Date: Sun, 08 Dec 2024 08:09:15 +0200 Message-Id: <86bjxmhfjo.fsf@gnu.org> From: Eli Zaretskii To: Yoichi Nakayama In-Reply-To: (message from Yoichi Nakayama on Sun, 8 Dec 2024 10:01:16 +0900) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw 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> <86y10sj6cp.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: gerd.moellmann@gmail.com, rpluim@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Yoichi Nakayama > Date: Sun, 8 Dec 2024 10:01:16 +0900 > Cc: gerd.moellmann@gmail.com, rpluim@gmail.com, 74619@debbugs.gnu.org > > The problem I reported is that > (substitute-command-keys "\\[customize]") > results in "". > > This is caused by defining global key mapping in term/ns-win.el: > (define-key global-map [ns-show-prefs] 'customize) > without make-non-key-event call for ns-*. > > So, if term/ns-win.el is not loaded and the problem doesn't occur. > That is why I said: > > > If term/ns-win.el is not loaded, no need to call make-non-key-event for ns-". > > It is because global-set-key for ns-" is only in term/ns-win.el. > > (Sorry. I wrote "global-set-key" by mistake, it was "define-key > global-map" in fact) > > * Emacs built with --without-ns doesn't load term/ns-win.el (in this > case, the problem doesn't occur) > * Emacs built with --with-ns does load term/ns-win.el even in -nw process > > Therefore, putting make-non-key-event for non-key events ns-* in the > toplevel of term/ns-win.el solve the problem, and I also think > term/ns-win.el is better place as you said "NS specific code should > definitely go to ns-win.el". Thanks, then I guess it's okay to move the code there. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 03:39:15 2024 Received: (at 74619) by debbugs.gnu.org; 9 Dec 2024 08:39:15 +0000 Received: from localhost ([127.0.0.1]:52822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKZIQ-0007hs-Ox for submit@debbugs.gnu.org; Mon, 09 Dec 2024 03:39:14 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:53673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKZIO-0007hd-VN for 74619@debbugs.gnu.org; Mon, 09 Dec 2024 03:39:13 -0500 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-434f74e59c7so7392295e9.3 for <74619@debbugs.gnu.org>; Mon, 09 Dec 2024 00:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733733487; x=1734338287; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Go6lsqxaoUtqlDY4skXz1jF3hqOSAvRuFK/s/4Qv9jw=; b=Qy91XJJfSH0sWXmMWZsnmkMPf3l7Sv91P/02YpRrmwAT2aeCvhAMbfPLMQK0O5zyjf 0GPohjZDG+2DOuvnIosFxom5EvPR+rYt0+s5280Ha6wDdtLZwjIJ1kfyPVAzqWAKG8S9 +UM+82lW6eoZq11xSkFe/FLbViyz9qSxJInsozzDPHqD+gHdaCXWXFa1FuFGXvvGZxHN 6KBUTgXvK2GpRuK9yhI26ngcK5mU7la7HkaM2+4lYE3puN8bvRqR8Gwz7VRUKtabVPev 4Z9tCntKZuBihPnYhqmEYFEH2N6AE+lYreYrc6h69IiZbbN4fcxrAxLyOdBmEME64+1n dNrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733733487; x=1734338287; h=content-transfer-encoding:mime-version: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=Go6lsqxaoUtqlDY4skXz1jF3hqOSAvRuFK/s/4Qv9jw=; b=E0szo7GJw6d8qqmfjmcthLc4gDOV8cFTZgbytwEG49KTLMAMzsXva9bVGesn+vcKyH xxeFrg9njV6Nm4pZ3rEz7zM5h2Hrb7SNOeznwu5LNXdyVo5fC3M2DSvcPCk4B5nVdvAJ Gb6NcLuxevrsVY/57Yg6kxDttkIr2EPVCFahQ0J0Ly3TQVjJi/qmJlSoeofc5TUcyag7 6pNzWtkt3+fQNMYFHGmSw8Ww1a2TQMAH38gAal6F3JFW954PJvvcrPlsb4qPBgVdoUtC 2Sr4ISD6bW1mdsvCkqE5S7d1htPiHttJlBZDvHiiHPsdjg75blxLVj6gqWcoZsfUX6Ft ua5w== X-Forwarded-Encrypted: i=1; AJvYcCUaTNg4Vp0CSzTaNCiDB2l5ivLJd3A2zID6mu2C7y4m4raKSw0edZVdZ3zpiVVcdQty+U+PVg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzKKw0sPVH47yumVUmR0m3GpKnznLduWLrHztUSy9WTAn2abJ0M WfMrQKm7ELfMp9EJmiUIhF3pfesD36TF93jqWPt9hZSZSv/QBWAJaOkthA== X-Gm-Gg: ASbGncs0gSHG4wE4eGNQJB3VPoRE6YZFb4QLAjk4DIEpWGqFEWRPbTqDn2Vz4Xy1+at S/wF6Axtp06ABqUpiTtmfmBBkY6t2klIApjg3OGy4nmvxPx5hCPISnp5Ihs4AOF4UVmLN9mTSan j5g3r+fGAEfB9nWCi/28PA5noA/9sZ5KAXJopPRT54f7i/1T2qkCtCjWA/5OpoGDCNKwyTJi+W9 og9dv5KucPjEgVYyvwElsZbd/oKp22TiNQu5A== X-Google-Smtp-Source: AGHT+IHPSMGmy65t5afFacGAXaf8pGed/+ltQ6SpLiWdZ0NNKAI9r3R/aDRaFMtx8uKDxzy5PLiYsQ== X-Received: by 2002:a05:6000:a19:b0:385:fd31:ca23 with SMTP id ffacd0b85a97d-3862b3ce10dmr9225023f8f.40.1733733486617; Mon, 09 Dec 2024 00:38:06 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:8ef8:8cf8:c051:bf12]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3861f4a859esm12407028f8f.23.2024.12.09.00.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 00:38:05 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <864j3glleg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Dec 2024 20:24:39 +0200") 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> <8734j0bu7p.fsf@gmail.com> <864j3glleg.fsf@gnu.org> Date: Mon, 09 Dec 2024 09:38:05 +0100 Message-ID: <87ttbd9rpu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: gerd.moellmann@gmail.com, yoichi.nakayama@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 06 Dec 2024 20:24:39 +0200, Eli Zaretskii said: Eli> What will be in term/darwin.el? Nothing, because my analysis was wrong :-) I=CA=BCll prepare a patch based on the comments in the other arm of this bug thread. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 11:16:04 2024 Received: (at 74619) by debbugs.gnu.org; 9 Dec 2024 16:16:04 +0000 Received: from localhost ([127.0.0.1]:55290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKgQV-0005pf-KC for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:16:04 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:56714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKgQS-0005pB-F9 for 74619@debbugs.gnu.org; Mon, 09 Dec 2024 11:16:03 -0500 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-385ddcfc97bso3635232f8f.1 for <74619@debbugs.gnu.org>; Mon, 09 Dec 2024 08:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733760894; x=1734365694; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=hElvuruua8DuH3CCHPUtBW2ii5aa78qjazhkw/iTQ7A=; b=axwUkui41coPV6VrYGfveNmPXh21hxci/fp2wepFc7yHlg1H2gTfwFlbyyr2lB2IJW CDqBykIs0Dxi7G80tHHSAAmuV3l3wBJ9+Gxo5pr5tEO2p2wf9FJN57D51dO7Po4ls3bY 5kYkYkq97KM7xmvwaXPBOaWUBDOUsvLlGm6IcCGaXPKToeUVZbJRmUfuErYjdys0vGeb wQ1ITa7YyS2/Xtaepn5DFOlGtOgIyQF1RaQUzij/qF1wsbkbCKrZEegCJSwm4/uU8pbP DMx8fhvh2GoFAzqBc30AKafuqyojCT5M8Mp6ySOhaVY4H4lX2A2sL3sLjQqj3NcrVG3b 8GSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733760894; x=1734365694; h=content-transfer-encoding:mime-version: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=hElvuruua8DuH3CCHPUtBW2ii5aa78qjazhkw/iTQ7A=; b=KN5Rk22HpPWuP1zgV5+Ei01OLgDqPTwYVWYAluo98kOctrP/oQ20SgaWHtoZYrP0TN kQrAvid92o6Y7U9nx6hzT89qvtPdmAqclaV8WfigdSQD7XQ4fDUOjAKbSuZjCy0FK9ws BdmDMzU7olB1aQtqBbr4d0/fmtIISvJeWhRTVYS5lWJTlg94FLBrAXdev5xLV8LKo24G wzKWnAG+eI7DP7o5uipbXCuZaYtKHr1lgxYgwA78iIDOkvNDUrzR7Nxu9jpwm46HonMn v/0o3EgUeiI5YuSzsqMZIK82A3wI7c+GvTZAF4K/6UavvTot9sU1isAS3FecLwonS2Zy lVfg== X-Forwarded-Encrypted: i=1; AJvYcCUUCscqTRq/kSo+Yx6dAclk0/nDxOqypZfgHPvhK0B+5faHNL4r497Sm0bkZ9kg2SQUvk24Gw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwcZqmFHYyQnmJ2UBbJdJUQ9rqvpwLQ+/MQwXasuOcbLEEeWbFr TR1JSCwxepK1nqCNgg+fXper0TbJWQSxUmj7RQAlhnJcdHUISdqOaJAHfw== X-Gm-Gg: ASbGncu564EG+GZW/ngRp8Ozap7AEtqzDI1xki4RBDW66ZkBCX4cMOb7nnw4KPsWY5Y aWaRu/y3tIoGy7jUirlKw+feg40bzgU31DYverHIY4WZOdrc8xOXEmPU6AE3FQtIaHn2HuInK+v HxBbIDc8Uz9sfT2mS6GKSOl+uIyxd98jYp7mHRI6w/hBnXsqQEx1sdbsrGYsNtN6FlRruAvyUs8 7+LgFREoe+rvtcO4LjxRVG6DIIHCdgUKsTQ X-Google-Smtp-Source: AGHT+IGCID0UuxNzifWs8iux6JjHqjQXP0IZIT+wK4Hee2Xw0r8OCOx5kP9YEpx1QxIbJcSiLk1ZuA== X-Received: by 2002:a5d:47a1:0:b0:385:f7ea:eb86 with SMTP id ffacd0b85a97d-3862b333779mr10296360f8f.7.1733760894048; Mon, 09 Dec 2024 08:14:54 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:909c:f7db:82f4:f3d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38621909952sm13167250f8f.69.2024.12.09.08.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 08:14:53 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <86bjxmhfjo.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 08 Dec 2024 08:09:15 +0200") 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> <86y10sj6cp.fsf@gnu.org> <86bjxmhfjo.fsf@gnu.org> Date: Mon, 09 Dec 2024 17:14:52 +0100 Message-ID: <87ed2gal4z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: Yoichi Nakayama , gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Sun, 08 Dec 2024 08:09:15 +0200, Eli Zaretskii said: >> From: Yoichi Nakayama >> * Emacs built with --without-ns doesn't load term/ns-win.el (in this >> case, the problem doesn't occur) >> * Emacs built with --with-ns does load term/ns-win.el even in -nw pr= ocess >>=20 >> Therefore, putting make-non-key-event for non-key events ns-* in the >> toplevel of term/ns-win.el solve the problem, and I also think >> term/ns-win.el is better place as you said "NS specific code should >> definitely go to ns-win.el". Eli> Thanks, then I guess it's okay to move the code there. Except if we do that, then in the --with-ns build, the =E2=8C=98-, binding (and the toplevel emacs/Settings menu item) doesn=CA=BCt work anymore. I=CA= =BCd rather not have the code be duplicated, so how about this (I suck at naming, so we can change the defun name): diff --git i/lisp/term/common-win.el w/lisp/term/common-win.el index 181dcc8e6d9..68c3b2d56e3 100644 --- i/lisp/term/common-win.el +++ w/lisp/term/common-win.el @@ -45,6 +45,8 @@ x-alternatives-map map) "Keymap of possible alternative meanings for some keys.") =20 +(declare-function ns-setup-special-keys "term/ns-win" ()) + (defun x-setup-function-keys (frame) "Set up `function-key-map' on the graphical frame FRAME." ;; Don't do this twice on the same display, or it would break @@ -56,22 +58,7 @@ x-setup-function-keys (set-keymap-parent map (keymap-parent local-function-key-map)) (set-keymap-parent local-function-key-map map)) (when (featurep 'ns) - (setq system-key-alist - (list - ;; These are special "keys" used to pass events from C to lisp. - (cons 1 (make-non-key-event 'ns-power-off)) - (cons 2 (make-non-key-event 'ns-open-file)) - (cons 3 (make-non-key-event 'ns-open-temp-file)) - (cons 4 (make-non-key-event 'ns-drag-file)) - (cons 5 (make-non-key-event 'ns-drag-color)) - (cons 6 (make-non-key-event 'ns-drag-text)) - (cons 8 (make-non-key-event 'ns-open-file-line)) -;;; (cons 9 (make-non-key-event 'ns-insert-working-text)) -;;; (cons 10 (make-non-key-event 'ns-delete-working-text)) - (cons 11 (make-non-key-event 'ns-spi-service-call)) - (cons 12 (make-non-key-event 'ns-new-frame)) - (cons 13 (make-non-key-event 'ns-toggle-toolbar)) - (cons 14 (make-non-key-event 'ns-show-prefs)))))) + (ns-setup-special-keys))) (set-terminal-parameter frame 'x-setup-function-keys t))) =20 (defvar x-invocation-args) diff --git i/lisp/term/ns-win.el w/lisp/term/ns-win.el index 2a29457133e..640b7fe6dc7 100644 --- i/lisp/term/ns-win.el +++ w/lisp/term/ns-win.el @@ -168,6 +168,27 @@ global-map (define-key global-map [S-mouse-1] 'mouse-save-then-kill) (global-unset-key [S-down-mouse-1]) =20 +;; Moved here from common-win.el because they need to work in a -nw +;; invocation of a (featurep 'ns) =3D> true build. Bug#74619. +(defun ns-setup-special-keys () + (setq system-key-alist + (list + ;; These are special "keys" used to pass events from C to lisp. + (cons 1 (make-non-key-event 'ns-power-off)) + (cons 2 (make-non-key-event 'ns-open-file)) + (cons 3 (make-non-key-event 'ns-open-temp-file)) + (cons 4 (make-non-key-event 'ns-drag-file)) + (cons 5 (make-non-key-event 'ns-drag-color)) + (cons 6 (make-non-key-event 'ns-drag-text)) + (cons 8 (make-non-key-event 'ns-open-file-line)) +;;; (cons 9 (make-non-key-event 'ns-insert-working-text)) +;;; (cons 10 (make-non-key-event 'ns-delete-working-text)) + (cons 11 (make-non-key-event 'ns-spi-service-call)) + (cons 12 (make-non-key-event 'ns-new-frame)) + (cons 13 (make-non-key-event 'ns-toggle-toolbar)) + (cons 14 (make-non-key-event 'ns-show-prefs))))) +(ns-setup-special-keys) + ;; Special Nextstep-generated events are converted to function keys. Here ;; are the bindings for them. Note, these keys are actually declared in ;; x-setup-function-keys in common-win. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 11:31:23 2024 Received: (at 74619) by debbugs.gnu.org; 9 Dec 2024 16:31:23 +0000 Received: from localhost ([127.0.0.1]:55318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKgfL-0006c8-5Z for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:31:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKgfJ-0006bd-AO for 74619@debbugs.gnu.org; Mon, 09 Dec 2024 11:31:22 -0500 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 1tKgfE-00049G-3A; Mon, 09 Dec 2024 11:31:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4EVrnCLeTqa8rJjcY1UgYvB8btKGIe4vp/g0AlEoEO0=; b=LfJKwvWXxaOtbjjDGVgJ S5Ic2pvnttUIG4RkXs8oOhQIocFlatr/WbCNhsYYv2rUEu5nyJBJwpZaAkpmmlFvlFsWOaaXoTJ+R TYkCAhK75i0JoHytOVTQZcze6gUK8Rpg9ki2msIZgvq4S7yuU/q0DHi3yTCT+LiUPz7wlNgWsXi7Y St6KZsOwuQ6ICTKinZImS8FyONSEAsNiRSfZJ6lvKTxHJU1Mywh5T9UHXY+56Us7ZEC2SczUnIn13 hs38fS8yU4jYFeIGWcZZx/cko3frEy/ib6QI4H5g3zxk/yJ3pRV9R6UGCRSP3869JqmxjkKEb/kKL RPOnXOG7xgMbaA==; Date: Mon, 09 Dec 2024 18:31:14 +0200 Message-Id: <86frmwddil.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87ed2gal4z.fsf@gmail.com> (message from Robert Pluim on Mon, 09 Dec 2024 17:14:52 +0100) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw 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> <86y10sj6cp.fsf@gnu.org> <86bjxmhfjo.fsf@gnu.org> <87ed2gal4z.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Yoichi Nakayama , gerd.moellmann@gmail.com, > 74619@debbugs.gnu.org > Date: Mon, 09 Dec 2024 17:14:52 +0100 > > >>>>> On Sun, 08 Dec 2024 08:09:15 +0200, Eli Zaretskii said: > > Eli> Thanks, then I guess it's okay to move the code there. > > Except if we do that, then in the --with-ns build, the ⌘-, binding > (and the toplevel emacs/Settings menu item) doesnʼt work anymore. Iʼd > rather not have the code be duplicated, so how about this (I suck at > naming, so we can change the defun name): Fine by me, thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 08:52:15 2024 Received: (at 74619) by debbugs.gnu.org; 10 Dec 2024 13:52:15 +0000 Received: from localhost ([127.0.0.1]:57415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL0et-0007xL-1m for submit@debbugs.gnu.org; Tue, 10 Dec 2024 08:52:15 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:50648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL0eq-0007wq-Ce for 74619@debbugs.gnu.org; Tue, 10 Dec 2024 08:52:13 -0500 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-434fef8203fso10834205e9.1 for <74619@debbugs.gnu.org>; Tue, 10 Dec 2024 05:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733838666; x=1734443466; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=SYcNQ9enq9Jv2GJKbc9mLb2DkNvegvMAEDiW4bieQsw=; b=D5a9PYUtGco7w3YdZDJMVfetHNN+hBV4JgBRy4zYAzz4ZJUU7pwA4jFCh4FfsIhvps UYzFEb7K9l7FHV4ys094ppJboSEQOFrDv23SP55DKDrbcBwlcX3v0e+450cnoNpqoi1/ 9ADD6BDiZY2pGnaEcRabjZYwj4S8Ry3hrorZa/rv7LybF1FOMKlqgTCWYNgE42CwSoXS 6F1iH6oK9IF+E2GsY5x8aB89h2j+bavjLP7klMZsrAcl8v/6y4+mZvASjwrV2T+578FA R/CcFtxD35ck84nYn7hvTSXMUxR35JGbId3GqtZGC1VQ9wR0SOrL6Uxd/bMXBzhBvq/v NFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733838666; x=1734443466; h=mime-version: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=SYcNQ9enq9Jv2GJKbc9mLb2DkNvegvMAEDiW4bieQsw=; b=hJ0XUl8aJIgai57NWAa5BXySF2GYj2TjtcsSEMjSmD4yF6GirlgZPSkThZYcDsfOrT uCRYEDZfgTaEDnPfLPEazIZxkKo5TK6HHFE9SCMREgf6ZFHAN0+6jt9wT2sImUXtjxjh 7J6b6KXlCsJsHBGMduYPTIxKfXFhLne+eXdw3K2LNyktZ5UOF+2BWVraaEU65+F7CU/7 VyZDbdSoTJZ1XDKxazfv2n2UkLdLkHGq63ZwDeUcKZJ2qkMq1/9lIyPynCrITHZ9XOzf Z8+HvgpOY2lAA5kcq3Fn4lqz8Ftg5clx9Ipa4kef6t3jvioKge8RTeuyBINnP+Cd86KP i0aQ== X-Forwarded-Encrypted: i=1; AJvYcCWwnIm9Wmix4aYrNKIMFAnZogsKshgdX92DNM5eVqdZioOIVXwqFnOcT0NPcpTD9nEOhdDeKA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzBLJkcebY/uwPQaydUDpEdZIdU295615EoYDcMj5n8XtVLGWea Ql6VGGPcDmTahfHQtOvH0Cci2oKvLL5Wqep0pIsyVQJykQNqr/+l06BexA== X-Gm-Gg: ASbGncspLMO7DlrtiZuqwvIPNSdBR8IemJCValYngbMIJ9h6Qk6EgQpGTWIvIrxSb7C yFiTvgxqfV8JK//Vfm5gdYHeUcMSJT7C/4bBW1C7iQjXjjbbd2wqEk91xJolZ64+StTspjQug3n Pn5KKu7NJCvFhWdeRYeF1EY7TryzXroWZioOPcAb3n9vGNH9UKEDbbTqvwxTCXULbDpWlmVfAkC JJwy548U75AxYGo2WfAzxa/neLA22XtQe4RFchWdQ== X-Google-Smtp-Source: AGHT+IHnrZzLvBPKqNYfY9aQefdvQ2cW/JhOI2C6lZHnVvuoEGeLEr4mMvn3oCYTmxu1hJNYuu24eA== X-Received: by 2002:a05:600c:2947:b0:435:9ed3:5688 with SMTP id 5b1f17b1804b1-4359ed35896mr19515385e9.18.1733838665973; Tue, 10 Dec 2024 05:51:05 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:a443:b1bf:de94:83c1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4359b4073f5sm19383125e9.17.2024.12.10.05.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 05:51:05 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <86frmwddil.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Dec 2024 18:31:14 +0200") 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> <86y10sj6cp.fsf@gnu.org> <86bjxmhfjo.fsf@gnu.org> <87ed2gal4z.fsf@gmail.com> <86frmwddil.fsf@gnu.org> Date: Tue, 10 Dec 2024 14:51:04 +0100 Message-ID: <87v7vr8x4n.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 09 Dec 2024 18:31:14 +0200, Eli Zaretskii said: Eli> Fine by me, thanks. master or emacs-30? Robert -- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 09:37:14 2024 Received: (at 74619) by debbugs.gnu.org; 10 Dec 2024 14:37:14 +0000 Received: from localhost ([127.0.0.1]:57640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL1MP-0002sn-Tx for submit@debbugs.gnu.org; Tue, 10 Dec 2024 09:37:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL1MN-0002sO-LH for 74619@debbugs.gnu.org; Tue, 10 Dec 2024 09:37:12 -0500 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 1tL1MI-00031x-DX; Tue, 10 Dec 2024 09:37:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1Sy7eQ8LxgJ+xy3TBwL/nFRCpw7qOxEehs6DcfKbds4=; b=qiqe/BYD31Fo RcuwaML//rown3EKyZxLKEZxcEfTDhXeGM4RG/nf6u2xzvloUsWbkWjmxhfqfaXD66j0YwNvhDr4I sAvWKb/+rQbxRkDM9T8Dhitvr/IzPoBP5Cr5kcMMD7yk0c8uvPG+ksB1UTxVEQrurSv2dt/4g05/q F9AQUKEKuUMtFp9BZbLcjo9GsKxvc5xQCvpj0loLzHr5xh7aU8CBBmK8JwkFIAW+b3aOyHPa9/tGN yczpBeJ02VIz3+gIkWwxcoCfDbvw9gyO+LF2uCOKqHtjhHMwAxae00RQeXe6bXvyg3bYGYnRfK0BZ uSpHgYXcxHDmyVLu7Ar3Sg==; Date: Tue, 10 Dec 2024 16:36:59 +0200 Message-Id: <86ikrrbo50.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87v7vr8x4n.fsf@gmail.com> (message from Robert Pluim on Tue, 10 Dec 2024 14:51:04 +0100) Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw 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> <86y10sj6cp.fsf@gnu.org> <86bjxmhfjo.fsf@gnu.org> <87ed2gal4z.fsf@gmail.com> <86frmwddil.fsf@gnu.org> <87v7vr8x4n.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, > 74619@debbugs.gnu.org > Date: Tue, 10 Dec 2024 14:51:04 +0100 > > >>>>> On Mon, 09 Dec 2024 18:31:14 +0200, Eli Zaretskii said: > > Eli> Fine by me, thanks. > > master or emacs-30? I'd prefer master, unless NS users will be very unhappy without this change. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 10:47:12 2024 Received: (at 74619) by debbugs.gnu.org; 10 Dec 2024 15:47:12 +0000 Received: from localhost ([127.0.0.1]:59157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL2S4-0008IH-R1 for submit@debbugs.gnu.org; Tue, 10 Dec 2024 10:47:12 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:43273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL2Rz-0008HL-3A; Tue, 10 Dec 2024 10:47:03 -0500 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-434a7ee3d60so39246165e9.1; Tue, 10 Dec 2024 07:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733845557; x=1734450357; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ynoQL/xGSeNfZGOdc8X9HDoQFPL8l06M0zaOG0q4XTw=; b=fSG9gtF4kiLOY/5aoB1e/cPZW/F4IDqz1zXu2iYKUv7E5XB1NYSpOgE1o3i9wrSzwF N0Zy8jhV7QRvOyNwxIMRoGhe4WHPv4uUNfmmaCHW0KWYTufF0D4LqPWpQHMl4/UfSYYp rLUX06C8gFjnL9rwSftwBfWkwIn2XxGVxPeEOGjioGmotJtkai6zOeeC+ULrEBgv/Umq TUDEkaq0FCFfUCBnHxjV4pfR0y3rxCN9iW9aF79ci9FitBOuvXfaUy6V6ZJ3Oq4BShbz u+ANOUUSJlk/u+X4JuZInznV/VWbBkT1vqm61Ff1pCfPMzdyBZpQh25HdKnu7TRv8C/z NbEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733845557; x=1734450357; h=content-transfer-encoding:mime-version: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=ynoQL/xGSeNfZGOdc8X9HDoQFPL8l06M0zaOG0q4XTw=; b=hOs+G3l01scqQiWTXIZcsiJh3rZA8Q/MSSb5FXi8Q+9LyAjcoc10kd088wbkBkAlGw thGrxY1NRp4mT0Ji10tvwp1bJyMtTj2Ik9y1EjYDOe3tl+pG7a9bvlnu+a8w5hebF++v ewa8ZNyD+d5Ybdt7xUWLiEnkJY4/HnK2wbQRpriifT1g1taRP5DoLw2uxkhxjE4RurFg BMphIobqzFTAxWwZBEFdIrAyqRLXtEepXjzqK8nfk19iYLtzPDlonywSRORaWRio3CQx 37VtSrEQgcTMo3JRj2lDy5KPRF41FvmmtDxsNCfSKSYAw1FykvVpmNUVj3B/7nTjr8M/ b5hA== X-Forwarded-Encrypted: i=1; AJvYcCUlFAx9KSVt2kAUdRfPaRqzYisF/htR0/8V2lUVdgwX1c5HTj3NuThRAXr7brttzw1hcHUcclYBQA==@debbugs.gnu.org, AJvYcCWUMl0Zd3JkOzVwFXIIrNNECLCWRlW8N6hGLVkHmXiQdUYeUFfw6KuxdiwCXzeiYaAwtduzCA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwKk64vDGwXGO58z8Ph0/D8Trr9VN8PdHT60E0onLOSPraXmoJ3 8pLRac7eOdESV6stgJWFDYTfimfVkfzsNA+6optiGhC2z2eHCUfvgoPlCg== X-Gm-Gg: ASbGncuu2HTJ5W79IJQBcLx7cX0Vjc7AYHEDF7yw1eWq8vYLcoKap/X1Wsky/pPKEre fSGLXQmglPkZYOflo8U/H6+wC2uYwzlpYWIdc5C5dKIyUcKDWa9kgAKQsi8bBddzkuKbAoGHeHA /fBjs6kjmOpI2Mk3X7QFKAUrLNVJPsvrMVZltLu84bH7d7lHP8q5DUhNaCtmgGAniGzHW0WT+9L WCxliI8MFAIMvZpXAlQYGHRyyA2P3tqchq9Wur4EA== X-Google-Smtp-Source: AGHT+IGUQV+lWuSSo/7F7KkXJKwum/HosGUF1k6klA3VnhtBPfhlUAFri2Z27f3chR+Pj2fr3Q2c9A== X-Received: by 2002:a5d:6daa:0:b0:386:3672:73e7 with SMTP id ffacd0b85a97d-386469a4d02mr3001244f8f.9.1733845556909; Tue, 10 Dec 2024 07:45:56 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:a443:b1bf:de94:83c1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434f5774454sm87394845e9.13.2024.12.10.07.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 07:45:56 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#74619: macOS: displayed as keybinding for \\[customize] on emacs -nw In-Reply-To: <86ikrrbo50.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Dec 2024 16:36:59 +0200") 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> <86y10sj6cp.fsf@gnu.org> <86bjxmhfjo.fsf@gnu.org> <87ed2gal4z.fsf@gmail.com> <86frmwddil.fsf@gnu.org> <87v7vr8x4n.fsf@gmail.com> <86ikrrbo50.fsf@gnu.org> Date: Tue, 10 Dec 2024 16:45:55 +0100 Message-ID: <87ikrr8rt8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74619 Cc: yoichi.nakayama@gmail.com, gerd.moellmann@gmail.com, 74619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 74619 fixed close 74619 31.1 quit >>>>> On Tue, 10 Dec 2024 16:36:59 +0200, Eli Zaretskii said: Eli> I'd prefer master, unless NS users will be very unhappy without th= is Eli> change. It=CA=BCs a pretty minor issue, master it is. Closing. Committed as ebd8feef149 Robert --=20 From unknown Mon Jun 23 00:34:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Jan 2025 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator