From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 02:38:45 2023 Received: (at submit) by debbugs.gnu.org; 16 Sep 2023 06:38:45 +0000 Received: from localhost ([127.0.0.1]:45255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhOx3-0003TQ-BT for submit@debbugs.gnu.org; Sat, 16 Sep 2023 02:38:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhOx0-0003T9-OX for submit@debbugs.gnu.org; Sat, 16 Sep 2023 02:38:43 -0400 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 1qhOwm-00088s-Mh for bug-gnu-emacs@gnu.org; Sat, 16 Sep 2023 02:38:28 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhOwj-0005hF-W5 for bug-gnu-emacs@gnu.org; Sat, 16 Sep 2023 02:38:28 -0400 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9ada6b0649fso371202666b.1 for ; Fri, 15 Sep 2023 23:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694846303; x=1695451103; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=lifcVsxAeLx4hw0N3xg5k1Ts9XzRAwQve8LABxPmCQw=; b=QkHeJwv+ic2owXnatU8qY3cBXAEXw3lGVZ5HGFgXLbjJy2MKLWl5FTLTrZ2WrE1JP7 pSmEXbXc2myDSkSAzJp6eGXg5X9IF/3SNmwC+PYSxU0+xdzdkrE1z1rc/HzKMOnQzDlc TfZevExn5ehKLBFwK4Qc2lhuze3Q32xMl3KnTjHwj/vmOSdCzbqj5FSfTj+NqFJsaPj0 Lt3dGz/XPXjEzrjCejbY6TNtFr6myU6UPLEqJ1AbNLedp61tJE/JD7sUztQyO4kTAuBF 02/fXfRR5A001MiAkwsTFuYXKX/Kf3LQKS9ZtdutPg6vK+CkDw3yeFSeWkC5U6IW/yhI MCNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694846303; x=1695451103; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lifcVsxAeLx4hw0N3xg5k1Ts9XzRAwQve8LABxPmCQw=; b=TD8dwdeFBeArwu1vtwdGysDT5BlI0MBdq7kPWSbjP6FfKi05/NJLdtItIhtBPDLbwx 2gIFk81tadhXvrMGj5LUdiEva9rHgYrXDhCj7ZpAhlUVYRruzZb+MfAJNs8kNCtHjgWL qrVoYMZNaw9LlKQOmpgoiArusx8TREccLuf11LoRx2N3GK9Pg58+ULX0M1YVS39WhRZC nrQwpCAmGyJlvkiB0Doej5aZKkt++kELLi5x67MBLfSfOO7YxdHtsl51A+CBA2Eu8/bt CPtUl1jVTHP2/0C6sz0bZuyErSe4ziYRx5MalEHRJlSrcSSKEKwz11L7+zdIZlp93GSb QhfQ== X-Gm-Message-State: AOJu0Yy1BgCiOCk62IA+IkJYRm1csyq315ythevarPT/H1jVKbtcz3q1 X0VuH79A3+VTlVxqelXvIXGYPL6kd9lcdA== X-Google-Smtp-Source: AGHT+IEDHhI7FB/hSiDdZXvN1vdeGJ3oXKgs7hCPDImahfAhS0JwiBpryYo6uzfroxOJw4qBYn5m5g== X-Received: by 2002:a17:906:1baa:b0:987:4e89:577f with SMTP id r10-20020a1709061baa00b009874e89577fmr3172532ejg.24.1694846303480; Fri, 15 Sep 2023 23:38:23 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a2c.dip0.t-ipconnect.de. [217.227.106.44]) by smtp.gmail.com with ESMTPSA id br20-20020a170906d15400b0098669cc16b2sm3319092ejb.83.2023.09.15.23.38.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 23:38:22 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: bug-gnu-emacs@gnu.org Subject: 30.0.50; kmacro overwriting global keybindings Date: Sat, 16 Sep 2023 08:38:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x629.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.0 (+) 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: -0.0 (/) current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q (keymap-global-set "S-" 'ignore) then C-x ( C-g. (keymap-lookup global-map "S-") => kmacro-end-call-mouse Notice that the binding has been overwritten. This is actually not the binding I care about, but it's the only one I can easily reproduce with emacs -Q. With my init file, and with a (trace-function 'global-set-key) I see ====================================================================== 1 -> (global-set-key "(" kmacro-start-macro) 1 <- global-set-key: kmacro-start-macro ====================================================================== 1 -> (global-set-key ")" kmacro-end-macro) 1 <- global-set-key: kmacro-end-macro ====================================================================== 1 -> (global-set-key "e" kmacro-end-and-call-macro) 1 <- global-set-key: kmacro-end-and-call-macro ====================================================================== 1 -> (global-set-key [f3] kmacro-start-macro-or-insert-counter) 1 <- global-set-key: kmacro-start-macro-or-insert-counter ====================================================================== 1 -> (global-set-key [f4] kmacro-end-or-call-macro) 1 <- global-set-key: kmacro-end-or-call-macro ====================================================================== 1 -> (global-set-key " " kmacro-keymap) 1 <- global-set-key: kmacro-keymap ====================================================================== 1 -> (global-set-key "6" 2C-command) 1 <- global-set-key: 2C-command ====================================================================== 1 -> (global-set-key [f2] 2C-command) 1 <- global-set-key: 2C-command which overwrites part of my key bindings, also with ones from two-column. (Note that two-column and kmacro are the only packages with autoloads for global-set-key. Maybe that plays a role, but TBH I don't have a clue what's going on here.) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 03:01:51 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 07:01:51 +0000 Received: from localhost ([127.0.0.1]:45270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhPJP-00047U-CB for submit@debbugs.gnu.org; Sat, 16 Sep 2023 03:01:51 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:59549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhPJK-00047J-Kt for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 03:01:50 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Rnhmy3ZfRz1r4Hg; Sat, 16 Sep 2023 09:01:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Rnhmy1s66z1qqlS; Sat, 16 Sep 2023 09:01:38 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id kceaWnhlVfo2; Sat, 16 Sep 2023 09:01:37 +0200 (CEST) X-Auth-Info: 35B/p784BK18QX7Mh68v6+3u64qDoiHTi/fb4EsIQhqiJ07NZXZZ4vs98+ubtBQ0 Received: from igel.home (aftr-62-216-205-118.dynamic.mnet-online.de [62.216.205.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 16 Sep 2023 09:01:37 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 393D72C1C1A; Sat, 16 Sep 2023 09:01:37 +0200 (CEST) From: Andreas Schwab To: Gerd =?utf-8?Q?M=C3=B6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 16 Sep 2023 08:38:22 +0200") References: X-Yow: Yow! Are we wet yet? Date: Sat, 16 Sep 2023 09:01:37 +0200 Message-ID: <875y4a38ku.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sep 16 2023, Gerd Möllmann wrote: > current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q > > (keymap-global-set "S-" 'ignore) > > then C-x ( C-g. > > (keymap-lookup global-map "S-") > => kmacro-end-call- [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [62.216.205.118 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.18.0.9 listed in list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.18.0.9 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 66022 Cc: 66022@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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sep 16 2023, Gerd Möllmann wrote: > current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q > > (keymap-global-set "S-" 'ignore) > > then C-x ( C-g. > > (keymap-lookup global-map "S-") > => kmacro-end-call- [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.18.0.9 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [62.216.205.118 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.18.0.9 listed in list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager On Sep 16 2023, Gerd Möllmann wrote: > current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q > > (keymap-global-set "S-" 'ignore) > > then C-x ( C-g. > > (keymap-lookup global-map "S-") > => kmacro-end-call-mouse > > Notice that the binding has been overwritten. That's kmacro-call-mouse-event. > This is actually not the binding I care about, but it's the only one I > can easily reproduce with emacs -Q. With my init file, and with a > (trace-function 'global-set-key) I see > > ====================================================================== > 1 -> (global-set-key "(" kmacro-start-macro) > 1 <- global-set-key: kmacro-start-macro > ====================================================================== > 1 -> (global-set-key ")" kmacro-end-macro) > 1 <- global-set-key: kmacro-end-macro > ====================================================================== > 1 -> (global-set-key "e" kmacro-end-and-call-macro) > 1 <- global-set-key: kmacro-end-and-call-macro > ====================================================================== > 1 -> (global-set-key [f3] kmacro-start-macro-or-insert-counter) > 1 <- global-set-key: kmacro-start-macro-or-insert-counter > ====================================================================== > 1 -> (global-set-key [f4] kmacro-end-or-call-macro) > 1 <- global-set-key: kmacro-end-or-call-macro > ====================================================================== > 1 -> (global-set-key " " kmacro-keymap) > 1 <- global-set-key: kmacro-keymap > ====================================================================== > 1 -> (global-set-key "6" 2C-command) > 1 <- global-set-key: 2C-command > ====================================================================== > 1 -> (global-set-key [f2] 2C-command) > 1 <- global-set-key: 2C-command > > which overwrites part of my key bindings, also with ones from two-column. >From kmacro.el: ;;; Provide some binding for startup: ;;;###autoload (global-set-key "\C-x(" #'kmacro-start-macro) ;;;###autoload (global-set-key "\C-x)" #'kmacro-end-macro) ;;;###autoload (global-set-key "\C-xe" #'kmacro-end-and-call-macro) ;;;###autoload (global-set-key [f3] #'kmacro-start-macro-or-insert-counter) ;;;###autoload (global-set-key [f4] #'kmacro-end-or-call-macro) ;;;###autoload (global-set-key "\C-x\C-k" #'kmacro-keymap) They are all commented out (only to be put in loaddefs.el), so they should not be executed when kmacro is loaded. Maybe try make bootstrap? -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 03:36:32 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 07:36:33 +0000 Received: from localhost ([127.0.0.1]:45275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhPqy-0004zN-Lb for submit@debbugs.gnu.org; Sat, 16 Sep 2023 03:36:32 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:59747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhPqt-0004z3-Do for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 03:36:31 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-52f9a45b4bdso3386517a12.3 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 00:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694849774; x=1695454574; 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=mJtrWBb6b8bBe8S89B/EGvvHVLnDEMMZuaCOiYgIbK8=; b=PSbK8YsFoU4qdilQzsHjo/Or8JnoTWO+HYJgT9MJ1FPo7Ey+CXJThclpa9bNIMkCqZ 3KU1ha8TBEd3MTIIpbPMxOPeQ/LBoqj9ABF3iw4qgVPcz4nIvF+Rp0PAEGMuVVxRoMEB 64cLhNDKqDAbuJZHkUYmmowYUNpbEKl0ZlSWQSfkasLNesUAV39u2C6t1dGK4jaJAzrb 7grjfPIl7dPPK90Thc+S3fcrWLN9vYJjjk/C7iFFxQb8s8KDP5w1KITOEe4OIdlE7Jcd c+noaN/MNthwcZmZxOhIsrr7ytsfmWWQ0OSKB/t0h58wU7WWFcrphptBj0nYijPJI3HE THoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694849774; x=1695454574; 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=mJtrWBb6b8bBe8S89B/EGvvHVLnDEMMZuaCOiYgIbK8=; b=X2XcSjXQa9pkZHJXjknil3A4vivEVxLhziIvZnDh7B1/HRdhPZvAtiO7AireJ3Ft/A jvWfGqjc/+924M07wPsjOg2BO1/YjYXyijEwEcEA2qwNA1reAZSpHNBVV/yCLDTbmlSp VKTPFtdvpmypJKXqFddtRtmd8wkRRKi+xg1iRebjrfaF5cLQI5Cc0wb5iTYjGV1RpSNC SJFNrv2Lj5HuC+Ww+i6yzT81xwdJpezzzfjIIp7q6EPKDv97APm4t0upIvwFazutcynC bpTtJkOi5sgbTzscW6VgYw9P/U6k6OKkBxIVv333NvPCGtZoUiRqj/gAs0vm4qN9NxeP 50mg== X-Gm-Message-State: AOJu0YzztWc6gs8XoVPEKeVLgILp5uMWJq12TFQ5FrYpEvZoBBHNzEaf knATZHM/U/cMAYbCTBSsEXnU1nnkZZm318c+ X-Google-Smtp-Source: AGHT+IHnWl3HRF+l39Ql2HAMZkgx9LkTN/k45uXroXadyhPXawUjF4UP+Z5SHgO8Z4jgExIEHoMTTw== X-Received: by 2002:aa7:c495:0:b0:530:5465:ad6d with SMTP id m21-20020aa7c495000000b005305465ad6dmr3122556edq.2.1694849773949; Sat, 16 Sep 2023 00:36:13 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a2c.dip0.t-ipconnect.de. [217.227.106.44]) by smtp.gmail.com with ESMTPSA id n18-20020aa7c792000000b005256d80cdaesm3104473eds.65.2023.09.16.00.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 00:36:13 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Andreas Schwab Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <875y4a38ku.fsf@igel.home> (Andreas Schwab's message of "Sat, 16 Sep 2023 09:01:37 +0200") References: <875y4a38ku.fsf@igel.home> Date: Sat, 16 Sep 2023 09:36:12 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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 (-) Andreas Schwab writes: > Maybe try make bootstrap? It is already a clean build. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 14:45:06 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 18:45:06 +0000 Received: from localhost ([127.0.0.1]:48513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhaHy-0006wf-Bo for submit@debbugs.gnu.org; Sat, 16 Sep 2023 14:45:06 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:50342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhaHt-0006vm-KY for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 14:45:05 -0400 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-52bcd4db4e6so3890916a12.0 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 11:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694889888; x=1695494688; 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=Pzlels4NCzmx6ac9ib2BbOiHHad9nrkVxJQHc9kJ/OM=; b=Oqud2KnKbXO41NAoFkUNqhH9qBelqACjdSusBepLtGGTeQ1BWVvpx7Xalr7/vCJKuR bulDXben8SBp0xupi1dBRBqi2CE1v0V4x4YIrmozuMwDsr3Y74fXsGVOAG44uMk0fjNx 5H2Yy4t1yNZZymJ6+jb41ar7l4FOoEoX0RQ0LIEwBPnwHdJ88Akr2Jop1utkP3IYIUR1 mz8tyxeH85ozXDMDxNr+70x+ORMAxDHfMZ0+jpSEReOVrtJ/x6wwTDyXcu2YheEXUg6e Us1I+YbFBdjPMrCQfv4daTo/9nPv124vtmSwPMcsCMNgsdEZQ9XLzT+VTTZVteKf2QOc SIlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694889888; x=1695494688; 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=Pzlels4NCzmx6ac9ib2BbOiHHad9nrkVxJQHc9kJ/OM=; b=PP26ZGDwHyiJ/irXAmaDeBSMGm2BW2YGgxIfG2DYSO8xFHs+Z8ztf4BPhc0djV/uJp /T8XxAO5nKSems6CsSjI1CakJgsoCbI6H0VvwkOzUxTAj7l2tLEdLx4sKwmjB1D/vSTF iCTMgPl8V0JK3CGbSTKf9Q4X3jjEnDYPnKGV/mKS9Ldy3O42xBmXow923jFRz3UkAtOS Dm0BBv332wQb2uiIMu+yZ7C3f9cn6nyR/CRO3PopWOBRp/t1wq3jQFth808EMLYCLrP4 WFaGHKLI5UwtV+iIKSMYgpBPAuDXcTu7SsKWcjVKClrP9blT3KgsPj/9zqcCXUK9zXkQ m2bQ== X-Gm-Message-State: AOJu0YwGwiVUh9e4X36dW/AxzZo6PWuOfXlb+iSsBv2pwd7KH//WFfQo qSvwJ4Ynmsxix6Toq6LR1fuxO6kz5OO5jF+x X-Google-Smtp-Source: AGHT+IF3PBnv8EPGVPZqB66lV8ugwXvWlu2pcnXAhUKQsJBuiaZ9c2r9TtnED4PJclBij/ozVqkuMw== X-Received: by 2002:a17:906:58:b0:9a5:a068:5548 with SMTP id 24-20020a170906005800b009a5a0685548mr5046485ejg.75.1694889887388; Sat, 16 Sep 2023 11:44:47 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a2c.dip0.t-ipconnect.de. [217.227.106.44]) by smtp.gmail.com with ESMTPSA id f19-20020a170906561300b009a16975ee5asm4005118ejq.169.2023.09.16.11.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 11:44:47 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Andreas Schwab Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 16 Sep 2023 09:36:12 +0200") References: <875y4a38ku.fsf@igel.home> Date: Sat, 16 Sep 2023 20:44:46 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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 (-) Gerd M=C3=B6llmann writes: > Andreas Schwab writes: > >> Maybe try make bootstrap? > > It is already a clean build. I now did this, before the C-x ( C-g in my recipe: (add-function :after (symbol-function 'global-set-key) (lambda (&rest args) (debug))) and get the backtrace Debugger entered: nil (closure (t) (&rest args) (debug))([S-mouse-3] kmacro-end-call-mouse) apply((closure (t) (&rest args) (debug)) ([S-mouse-3] kmacro-end-call-mou= se)) global-set-key([S-mouse-3] kmacro-end-call-mouse) byte-code("\302\300\10\"\210\11\203\20\0\303\304\11!\305\"\210\302\207" [= kmacro-keymap kmacro-call-mouse-event defalias global-set-key vector kmacro= -end-call-mouse] 3) autoload-do-load((autoload "kmacro" ("loaddefs.elc" . 753171) t nil) kmac= ro-start-macro) command-execute(kmacro-start-macro) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 16:06:19 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 20:06:19 +0000 Received: from localhost ([127.0.0.1]:48579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhbYZ-0000lS-7q for submit@debbugs.gnu.org; Sat, 16 Sep 2023 16:06:19 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:39009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhbYW-0000lF-Aw for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 16:06:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Rp2B76w3Kz1r1s3; Sat, 16 Sep 2023 22:06:07 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Rp2B75lsJz1qqlS; Sat, 16 Sep 2023 22:06:07 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id 7YpYwBONmuD3; Sat, 16 Sep 2023 22:06:05 +0200 (CEST) X-Auth-Info: HZPxjXcnTKtjdMyKO3Nku4fzwBjpdGgimhEhkQ8uLXio9wtXv0UTne7JvfU8/Mhy Received: from igel.home (aftr-62-216-205-118.dynamic.mnet-online.de [62.216.205.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 16 Sep 2023 22:06:05 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id D3C0B2C1C1A; Sat, 16 Sep 2023 22:06:04 +0200 (CEST) From: Andreas Schwab To: Gerd =?utf-8?Q?M=C3=B6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 16 Sep 2023 20:44:46 +0200") References: <875y4a38ku.fsf@igel.home> X-Yow: You can't hurt me!! I have an ASSUMABLE MORTGAGE!! Date: Sat, 16 Sep 2023 22:06:04 +0200 Message-ID: <87h6nt289f.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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.4 (-) As I already said, see kmacro-call-mouse-event. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 16:18:24 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 20:18:24 +0000 Received: from localhost ([127.0.0.1]:48592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhbkF-00014j-VV for submit@debbugs.gnu.org; Sat, 16 Sep 2023 16:18:24 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:57838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhbkE-00014T-Pm for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 16:18:23 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9a9d82d73f9so394583966b.3 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 13:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694895489; x=1695500289; 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=prEAUFbDDeaqBQf1yEYRe1DtCkx5pwFW6WYPxZWXLCY=; b=IuiFtcTpUCUVqDhxgd2pbP5/XiuMYOIY92gYv/4FUxGWRj/UDjQ8eGdteoQZ12gBIx hEHdufhQ5VwR99oyIHA+n0L8B82q7sBqR6fUV8p6j2PoU7vSTH1J39p0y9AQeHMPDf38 rTNS2GI4cKi1yZHgcRmSF32qiWZKTaojIvVdFL1jROFnVx/88wQswlKzjt5GuZRyBp2Q 2AJJGfHyFE+clXsLoWXyQTnNsZ47K5R7Ap2WUeQYdsKZ57/7C5QQsCBPD0WhpsfznvSe zjyvfKFEd/ig1Ld1QRU0Afr4vnWTLGdKgUfotM1/5JrJTpEz1Ar4pcUYDh8cf2a+scr0 1N2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694895489; x=1695500289; 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=prEAUFbDDeaqBQf1yEYRe1DtCkx5pwFW6WYPxZWXLCY=; b=HCbY8whkHcf/hwFVZdS4RlEESsWSiM+B5bWFI9VyH/SPMWxLyhBAVkFGH1bCDRbTU5 sfLlT6P02VB0qMwuD83/qRwJijn48ACPwzlhqqXnjnHMWnBmabo2d9ue2QgX7P/8KtEu FK1tTc9wd/PXVvIXBroGGJe4SqRT/3KsNWHvRUpakmZVxnPWmNlIy5kfPuQCg+6X0kQ8 7YgcsAV0zgWHORg4IGNi2ckxKoz2nXGzrB1WIRfUDFME8LMpyo5KDmzMIrMbKPh4VD5W MLuzvV1Cpe5l0vRMv8h07743UvG5LiFMjVliOJx4hXeTRGlHDFcTzB/9Yyeosr0UvEnu pXIA== X-Gm-Message-State: AOJu0YxY5Cbylu6agC7H7QVOABiMzQm0t2loV0XdMRHCW9IWy0+CPwwo axCA9bOoTb9tKkyPmNOp45cNhh6EsNZBRDWs X-Google-Smtp-Source: AGHT+IFXF0nKnsbpdodWHJ0qABvD6cbslqmyWicOG+dxQ4ep0fR7972hyl9HwzgiM5WmkEsWiWNndw== X-Received: by 2002:a17:907:2ccb:b0:9a9:e4ce:c9a2 with SMTP id hg11-20020a1709072ccb00b009a9e4cec9a2mr4489773ejc.53.1694895489187; Sat, 16 Sep 2023 13:18:09 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a2c.dip0.t-ipconnect.de. [217.227.106.44]) by smtp.gmail.com with ESMTPSA id n26-20020a170906119a00b00997cce73cc7sm4083247eja.29.2023.09.16.13.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 13:18:08 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Andreas Schwab Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <87h6nt289f.fsf@igel.home> (Andreas Schwab's message of "Sat, 16 Sep 2023 22:06:04 +0200") References: <875y4a38ku.fsf@igel.home> <87h6nt289f.fsf@igel.home> Date: Sat, 16 Sep 2023 22:18:07 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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 (-) Andreas Schwab writes: > As I already said, see kmacro-call-mouse-event. (defcustom kmacro-call-mouse-event 'S-mouse-3 "The mouse event used by kmacro to call a macro. Set to nil if no mouse binding is desired." :type 'symbol) You're being cryptic. Care to elaborate? You find it's not a bug, or a bug, can't be fixed, don't want to fix? From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 16:37:19 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 20:37:19 +0000 Received: from localhost ([127.0.0.1]:48607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhc2Z-0001ZQ-Fe for submit@debbugs.gnu.org; Sat, 16 Sep 2023 16:37:19 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:34489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhc2X-0001ZC-6s for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 16:37:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Rp2sw2v5hz1sCHv; Sat, 16 Sep 2023 22:37:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Rp2sv70XQz1qqlW; Sat, 16 Sep 2023 22:37:07 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id tEW0pYmBLytO; Sat, 16 Sep 2023 22:37:07 +0200 (CEST) X-Auth-Info: ze6gsoN3prrx5yI/ZrzLpxO90rwbjSqxJCby8xVsPsaoORnWMrs5y8P3HyCXuZb8 Received: from igel.home (aftr-62-216-205-118.dynamic.mnet-online.de [62.216.205.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 16 Sep 2023 22:37:07 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 097B52C1C1A; Sat, 16 Sep 2023 22:37:07 +0200 (CEST) From: Andreas Schwab To: Gerd =?utf-8?Q?M=C3=B6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 16 Sep 2023 22:18:07 +0200") References: <875y4a38ku.fsf@igel.home> <87h6nt289f.fsf@igel.home> X-Yow: I'm having a MID-WEEK CRISIS! Date: Sat, 16 Sep 2023 22:37:06 +0200 Message-ID: <87cyyh26tp.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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.5 (-) Follow the advice. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 16 16:56:00 2023 Received: (at 66022) by debbugs.gnu.org; 16 Sep 2023 20:56:01 +0000 Received: from localhost ([127.0.0.1]:48625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhcKe-00027E-77 for submit@debbugs.gnu.org; Sat, 16 Sep 2023 16:56:00 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:61875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhcKZ-00026u-AZ for 66022@debbugs.gnu.org; Sat, 16 Sep 2023 16:55:59 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9a21b6d105cso393941166b.3 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 13:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694897741; x=1695502541; 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=SsWgDkz2WbsnQbq+LRuTuJTDPMX7FhNoN9Fgynan0R8=; b=TQf0skxHVMdnozitEidSO9wr0u1M3Zf5MC1e3gh9pcBR5qbvTHtWaJ5/Fu39K9tRkH Tmu06BbYrVfMJ3UAj1/Quq/EiQpr27KrwaAU14NWAiBtoVhsTCYL/9iePOlcbYSQYsh0 Y6fUyFAxmY8z46NNaKLF7Ad/F1pc0IM3h3qmNw5v2fcK4dgqmgQe9N3IgMwX9UeP2SF1 u95XYk4kM4DjwHabIZgOe7oKX8ZoJqTBcqnFZYPz7MCtzpAAPTCQ1/L3XPEXwD4FfDGx e9MIO2sfWE5gO4mg6Osxb1cniUp6xNDAB1sI6ahuYH8fnpEmXgcBM5LFVUYZmMRn7mHY 82aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694897741; x=1695502541; 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=SsWgDkz2WbsnQbq+LRuTuJTDPMX7FhNoN9Fgynan0R8=; b=AwTU5eIUwmGyGUfaQ9rlq4mXSauhvvs452jpUqoqHCpfEAYyMffItHufW0wial4DZW DeC+GDJa7X891e2lE9KFQ0SQv5JG0UzAhX0oaUgcWXrBgEkAbNjq53YGdpkgV+cztJpi 2SDKKEtHTRA2BFKoam1iaJs4AxIDdVfI4i5aNa6q82it+dl/AC1SrB7j6+c19ug08lUx hvrAsuuD8OherikD+xUCPQT6Sl/HBVryY2UH4JfP3kntlmdp3xWO1NIEWnAwGQH7HCO8 XZA/2MCDHlLBksaWDjPjnryZraumPGjBM7sFMNJFNbZbTSXcBuNJ02lRkGuKWYwAVQK1 eUTA== X-Gm-Message-State: AOJu0Yzd5Q0MiKnXj12j4s/nhzw1i0rm0GmuSwEuUzM0pEqnRv6XRtt9 fKTKpypNCMSxZFsdCfcnHGZW6Oy8kaWiTTWK X-Google-Smtp-Source: AGHT+IH8sBrSWMqfze32KxTg+dVi6skSstuIG0eA+t5sYNkstEmtjaUNbE+5+ohQoAhG5tLKHXGT7g== X-Received: by 2002:a17:907:2c62:b0:9ad:e99d:4e4e with SMTP id ib2-20020a1709072c6200b009ade99d4e4emr2031618ejc.6.1694897741089; Sat, 16 Sep 2023 13:55:41 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a2c.dip0.t-ipconnect.de. [217.227.106.44]) by smtp.gmail.com with ESMTPSA id f26-20020a170906495a00b0099d45ed589csm4096179ejt.125.2023.09.16.13.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 13:55:40 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Andreas Schwab Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <87cyyh26tp.fsf@igel.home> (Andreas Schwab's message of "Sat, 16 Sep 2023 22:37:06 +0200") References: <875y4a38ku.fsf@igel.home> <87h6nt289f.fsf@igel.home> <87cyyh26tp.fsf@igel.home> Date: Sat, 16 Sep 2023 22:55:40 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: 66022@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 (-) Andreas Schwab writes: > Follow the advice. Could you please just tell what you know? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 02:05:40 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 06:05:40 +0000 Received: from localhost ([127.0.0.1]:48886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhkua-0005Zd-B7 for submit@debbugs.gnu.org; Sun, 17 Sep 2023 02:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhkuT-0005ZM-PU for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 02:05:38 -0400 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 1qhkuG-0008Jb-OW; Sun, 17 Sep 2023 02:05:20 -0400 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=Z4XxNRIcPMa6nsmMguWgkNtp8DPiT8DIbuowtdLeSho=; b=l4cY/PZ1rsoPUGVIgk6P RSpY927k0iVZONQuxNFM2xy15Hvoa/ZVFHxBZbBwxAwHMLTa7+HnPIEbMkbETDGrYYGeRXg8faYEg s91TZ/RAZbFOHEb9oRjmhI0GzkKSy95GK/8ApPm7MmUvn61B2tGX5CMr0w7rCwjj9kCmvwsdNrTu3 E0jAxoDjHPtWWd8GlNXMOQTu9MSlgfVkUmQGeLDgh6Odv800NqpMNrcy5l8TIMUmPxKCyTs7JheBF kUiQ7+7Iu+CKAmy7Nm+/6QCXiLHj5b/IxMBC0NhzYTvh+ew5sFnLVWCBI/1/0diDqX3ulZNzCFdFs ODWned23uHVykw==; Date: Sun, 17 Sep 2023 09:05:12 +0300 Message-Id: <83edixgwrr.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= , Stefan Monnier In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sat, 16 Sep 2023 08:38:22 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: 66022@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: Gerd Möllmann > Date: Sat, 16 Sep 2023 08:38:22 +0200 > > current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q The same problem exists on emacs-29 (and I presume in older versions of Emacs). > (keymap-global-set "S-" 'ignore) > > then C-x ( C-g. (The C-g part is not relevant; the same happens if you finish defining the macro.) > (keymap-lookup global-map "S-") > => kmacro-end-call-mouse > > Notice that the binding has been overwritten. This is because of this snippet at top level of kmacro.el: (if kmacro-call-mouse-event (global-set-key (vector kmacro-call-mouse-event) #'kmacro-end-call-mouse)) As the doc string of kmacro-call-mouse-event says: (defcustom kmacro-call-mouse-event 'S-mouse-3 "The mouse event used by kmacro to call a macro. Set to nil if no mouse binding is desired." :type 'symbol) customize this to nil to avoid overwriting the S- binding you have. > This is actually not the binding I care about, but it's the only one I > can easily reproduce with emacs -Q. With my init file, and with a > (trace-function 'global-set-key) I see > > ====================================================================== > 1 -> (global-set-key "(" kmacro-start-macro) > 1 <- global-set-key: kmacro-start-macro > ====================================================================== > 1 -> (global-set-key ")" kmacro-end-macro) > 1 <- global-set-key: kmacro-end-macro > ====================================================================== > 1 -> (global-set-key "e" kmacro-end-and-call-macro) > 1 <- global-set-key: kmacro-end-and-call-macro > ====================================================================== > 1 -> (global-set-key [f3] kmacro-start-macro-or-insert-counter) > 1 <- global-set-key: kmacro-start-macro-or-insert-counter > ====================================================================== > 1 -> (global-set-key [f4] kmacro-end-or-call-macro) > 1 <- global-set-key: kmacro-end-or-call-macro > ====================================================================== > 1 -> (global-set-key " " kmacro-keymap) > 1 <- global-set-key: kmacro-keymap > ====================================================================== > 1 -> (global-set-key "6" 2C-command) > 1 <- global-set-key: 2C-command > ====================================================================== > 1 -> (global-set-key [f2] 2C-command) > 1 <- global-set-key: 2C-command > > which overwrites part of my key bindings, also with ones from two-column. Those bindings come from loaddefs.el, which should be preloaded, so the bindings should be executed when dumping Emacs, as part of loading loadup.el, not when processing your init files. Can you tell more about how you captured those traces, exactly? Also, what are the details of your build, and in particular did you build "--with-native-compilation=aot", per chance? Stefan, any comments? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 02:32:08 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 06:32:08 +0000 Received: from localhost ([127.0.0.1]:48905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlKB-0006EA-Gz for submit@debbugs.gnu.org; Sun, 17 Sep 2023 02:32:08 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:48244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlK6-0006Dd-9t for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 02:32:06 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52683b68c2fso4129321a12.0 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 23:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694932309; x=1695537109; 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=TDcwJe/bzuxPpTmZmJHIrAmyTY/qHbacd3XftcR4B3E=; b=O4NSrZ4gTzrMbMBu/pa+/AzQ/BaRwkKChOqWEpuETUmCRx/PdzR2zVhe3NUvEoHAL0 KFO4GeEV3E2/mv6o3XjPOHK7aRJE+nrIfV1NmADscqSiKuU5dVqo047/sC12hFjwbBFM WgKgK9aX7H3coOqAVb+GQ3c1i9pX+SVaeWGtlFBVnGf386TuTtyyoZdssz3wuk6OA1dM aybajxJ2qJfRqgGEwuewZucpynhYAR6dmE0bhBrJpv5nSGAZ6mKIdLe7KqkGu5Y5jvBM gZ2UN/jmKgM2WLrd0GhRnWxgOX2GGzhY3RTDwD2vyNyLLfTZyiMd4wtDDfZT08xZaQke OM+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694932309; x=1695537109; 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=TDcwJe/bzuxPpTmZmJHIrAmyTY/qHbacd3XftcR4B3E=; b=L8Ew3qkAgTnFquzlD+/F4rF6vdqExRM4y6AKMCJ/IZeIY/NEUwV289Mt8uUUnKy0Or 847x0qOEbCtPaw1gw8EIUBokx5x0FSBaIIyr/iHPHeIWdhriMVSZZ8IdkmjnUKpSz+0h wcpeXl6P434kbgaZWycNpq/A4/20itqqOET/3yKojJeMzUHvjiiL+C4zvHEnU5ZdXsPO N6eA1JYa3YQ5w+nrLJ1w6fMoqw4ocSGxtlwvXLWu0Ak0iSDAUS7KNDd4G7pO9fCFpDXL Cup+hSvPJkgccIohsvl+s0ikSW4OcVzgHKBiHcZjtfwBBzTgwq5spSNZobKG8ysiDUbw KeeQ== X-Gm-Message-State: AOJu0YyAOl3WjouHTPMXe1Qo1cUlnKt45ZAJBe21+vx//1jrTkSkDs2o /TvmD1Czn/vwdlTLGLTBkssyqRKAgOHT3Z/9 X-Google-Smtp-Source: AGHT+IG/NLksHtYJf6okp7rENn7rDj/juiElQm2zmaQN8ok/04VkjNWAjkNmyn93vqBhK7eIJ1ZsSA== X-Received: by 2002:a17:906:cc4b:b0:9a1:d0bb:d215 with SMTP id mm11-20020a170906cc4b00b009a1d0bbd215mr4860775ejb.5.1694932308379; Sat, 16 Sep 2023 23:31:48 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id oz11-20020a170906cd0b00b009ad850d4760sm4563530ejb.219.2023.09.16.23.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 23:31:47 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <83edixgwrr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 09:05:12 +0300") References: <83edixgwrr.fsf@gnu.org> Date: Sun, 17 Sep 2023 08:31:47 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Stefan Monnier , 66022@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: Gerd M=C3=B6llmann >> Date: Sat, 16 Sep 2023 08:38:22 +0200 >> >> current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q > > The same problem exists on emacs-29 (and I presume in older versions > of Emacs). > >> (keymap-global-set "S-" 'ignore) >> >> then C-x ( C-g. > > (The C-g part is not relevant; the same happens if you finish defining > the macro.) True. >> (keymap-lookup global-map "S-") >> =3D> kmacro-end-call-mouse >> >> Notice that the binding has been overwritten. > > This is because of this snippet at top level of kmacro.el: > > (if kmacro-call-mouse-event > (global-set-key (vector kmacro-call-mouse-event) #'kmacro-end-call-mo= use)) > > As the doc string of kmacro-call-mouse-event says: > > (defcustom kmacro-call-mouse-event 'S-mouse-3 > "The mouse event used by kmacro to call a macro. > Set to nil if no mouse binding is desired." > :type 'symbol) > > customize this to nil to avoid overwriting the S- binding you > have. Ah, finally someone I can understand ;-). >> This is actually not the binding I care about, but it's the only one I >> can easily reproduce with emacs -Q. With my init file, and with a >> (trace-function 'global-set-key) I see >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key "(" kmacro-start-macro) >> 1 <- global-set-key: kmacro-start-macro >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key ")" kmacro-end-macro) >> 1 <- global-set-key: kmacro-end-macro >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key "e" kmacro-end-and-call-macro) >> 1 <- global-set-key: kmacro-end-and-call-macro >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key [f3] kmacro-start-macro-or-insert-counter) >> 1 <- global-set-key: kmacro-start-macro-or-insert-counter >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key [f4] kmacro-end-or-call-macro) >> 1 <- global-set-key: kmacro-end-or-call-macro >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key "=0B" kmacro-keymap) >> 1 <- global-set-key: kmacro-keymap >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key "6" 2C-command) >> 1 <- global-set-key: 2C-command >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1 -> (global-set-key [f2] 2C-command) >> 1 <- global-set-key: 2C-command >> >> which overwrites part of my key bindings, also with ones from two-column. > > Those bindings come from loaddefs.el, which should be preloaded, so > the bindings should be executed when dumping Emacs, as part of loading > loadup.el, not when processing your init files. So I thought, too. > Can you tell more about how you captured those traces, exactly? I added a (trace-function 'global-set-key) to my init file, in an after-init-hook, so that it only traced after my key bindings were done. At some point, I still don't know how I triggered this, this trace appeared. > what are the details of your build, and in particular did you build > "--with-native-compilation=3Daot", per chance? No native compilation, the only config option different fromt he default is --without-dbus. Please find at the end what report-emacs-bug produces. It's a clean build starting with git clean -xdf. I have now added this to my init.el: (defun my-watch-f2 (&rest args) (when (eq (car args) global-map) (let ((key (cl-second args))) (when (and (vectorp key) (eq (aref key 0) 'f2)) (debug))))) (add-hook 'after-init-hook (lambda () (add-function :after (symbol-function 'define-key) #'my-watch-f2))) which is supposed to drop me into the debugger when my F2 binding gets redefined. Alas, as I mentioned, I don't know what exactly I do when this happens. I'll report back, when I have something. In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.7.10 (Build 20G1427)) of 2023-09-16 built on Pro.fritz.box Repository revision: 302bc23f7cb9fbde7f225650d833e1c09da97338 Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.7.10 Configured using: 'configure --without-dbus --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master --disable-silent-rules' Configured features: ACL GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: Message Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t gnus-message-citation-mode: t mml-mode: t global-company-mode: t company-mode: t desktop-save-mode: t global-auto-revert-mode: t recentf-mode: t server-mode: t pixel-scroll-precision-mode: t yas-global-mode: t yas-minor-mode: t which-key-mode: t persistent-scratch-autosave-mode: t delete-selection-mode: t global-hl-line-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t ws-butler-global-mode: t ws-butler-mode: t vertico-posframe-mode: t vertico-multiform-mode: t vertico-mouse-mode: t vertico-grid-mode: t vertico-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /Users/gerd/.config/emacs.d.default/straight/build/external-completion/exte= rnal-completion hides /Applications/Emacs.app/Contents/Resources/lisp/exter= nal-completion /Users/gerd/.config/emacs.d.default/straight/build/jsonrpc/jsonrpc hides /A= pplications/Emacs.app/Contents/Resources/lisp/jsonrpc /Users/gerd/.config/emacs.d.default/straight/build/transient/transient hide= s /Applications/Emacs.app/Contents/Resources/lisp/transient /Users/gerd/.config/emacs.d.default/straight/build/xref/xref hides /Applica= tions/Emacs.app/Contents/Resources/lisp/progmodes/xref /Users/gerd/.config/emacs.d.default/straight/build/project/project hides /A= pplications/Emacs.app/Contents/Resources/lisp/progmodes/project /Users/gerd/.config/emacs.d.default/straight/build/eglot/eglot hides /Appli= cations/Emacs.app/Contents/Resources/lisp/progmodes/eglot /Users/gerd/.config/emacs.d.default/straight/build/flymake/flymake hides /A= pplications/Emacs.app/Contents/Resources/lisp/progmodes/flymake /Users/gerd/.config/emacs.d.default/straight/build/soap-client/soap-client = hides /Applications/Emacs.app/Contents/Resources/lisp/net/soap-client /Users/gerd/.config/emacs.d.default/straight/build/soap-client/soap-inspect= hides /Applications/Emacs.app/Contents/Resources/lisp/net/soap-inspect /Users/gerd/.config/emacs.d.default/straight/build/eldoc/eldoc hides /Appli= cations/Emacs.app/Contents/Resources/lisp/emacs-lisp/eldoc Features: (shadow emacsbug nndoc gnus-dup mm-archive url-cache debbugs-gnu debbugs-compat debbugs soap-client url-http url-auth url-gw rng-xsd rng-dt rng-util xsd-regexp consult-register magit-extras magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode git-commit log-edit add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode magit-git magit-base crm qp sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml disp-table nndraft nnmh utf-7 nnfolder epa-file network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message mailcap yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win shortdoc comp comp-cstr rx help-fns radix-tree exec-path-from-shell consult-eglot cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs eglot external-completion jsonrpc flymake-proc flymake thingatpt diff ert ewoc debug backtrace find-func warnings icons url-util url-parse url-vars imenu time dired-aux jka-compr company-oddmuse company-keywords company-etags etags fileloop generator xref company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase org-bullets-autoloads ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util inf-lisp shell pcomplete desktop frameset autorevert filenotify recentf tree-widget dired dired-loaddefs modus-vivendi-theme modus-themes server transient pixel-scroll cua-base vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util bug-reference debbugs-autoloads soap-client-autoloads smtpmail auth-source password-cache json map sendmail rfc2047 rfc2045 ietf-drums yasnippet yasnippet-autoloads which-key which-key-autoloads persistent-scratch persistent-scratch-autoloads delsel hl-line display-line-numbers gnus nnheader gnus-util time-date mail-utils range mm-util mail-prsvr wid-edit compile comint ansi-osc ansi-color ring ws-butler ws-butler-autoloads consult-eglot-autoloads eglot-autoloads external-completion-autoloads flymake-autoloads project-autoloads xref-autoloads eldoc-autoloads jsonrpc-autoloads company-autoloads embark-consult-autoloads embark-autoloads consult-ls-git vc vc-dispatcher project consult-ls-git-autoloads consult bookmark text-property-search pp consult-autoloads marginalia-autoloads orderless orderless-autoloads vertico-posframe posframe cus-load vertico-posframe-autoloads posframe-autoloads vertico-multiform vertico-mouse vertico-grid vertico vertico-autoloads magit-section format-spec eieio eieio-core dash cursor-sensor compat edmacro kmacro byte-opt magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads dash-autoloads compat-autoloads info use-package-bind-key bind-key easy-mmode exec-path-from-shell-autoloads finder-inf use-package-core straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs cl-loaddefs cl-lib bytecomp byte-compile chemacs gv rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 446510 266970) (symbols 48 37802 10) (strings 32 136051 12377) (string-bytes 1 4585001) (vectors 16 79623) (vector-slots 8 1731485 105152) (floats 8 514 627) (intervals 56 2530 840) (buffers 992 36)) > > Stefan, any comments? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 02:40:23 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 06:40:23 +0000 Received: from localhost ([127.0.0.1]:48924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlSB-0006R2-7F for submit@debbugs.gnu.org; Sun, 17 Sep 2023 02:40:23 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:45507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlS9-0006Ql-G7 for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 02:40:22 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-529fb04a234so4138218a12.3 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 23:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694932808; x=1695537608; 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=uC8auipUhnGjsC6TllPzxJqgC3dwGthK0AkLuTMK9iM=; b=h2pTn7SMr3z4B7pFkZikBWzIY3Eh9H1ZkTDk2L959K/XRau1YnmNbzBRZ/4jar/oAm Ky6G3rmWZin4jv24WEIUbcoYumn/DdvPdpw+sb1ZV8ZqVUFGG+ZoLG9JezG9dODkxnVR OTW0gUlErOe7jRVQbXBWoDn5tRI1h3g93EhZyEnP2/blVPArIsaEiYcgVZw8MMrC4A99 LUF4sAQpIj01eYbk9WBPM/bXz5JWYFRnQJf7KSFUKQIZGL58gLRaj9Sd6SHxnIthbPsP 226O+Vt9PuX+czQO7kZKIUGb8xf3qQo0GCHWSImpV4RIw6Q83wf2x4IRbboRkIDICuy0 h+RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694932808; x=1695537608; 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=uC8auipUhnGjsC6TllPzxJqgC3dwGthK0AkLuTMK9iM=; b=pDK3pllbs3jONflW45AZ2OhfDGEqC51cqsHn33H72gKUXF90l8LuM47Ahm9uyNLYlo NvUJnthoqVI8nLxgDD55d5MzHhJclfC1IAWvIjN4kdoAgVCfEYkUeYUglDqR2eWYHNJO 4lH4RNvnNOU4zTTC1CBtbVbdnPUO/Qzz3dhLsdDPajSUwlPJ50om9285vDXuiSudJkYM lSPmXa4GKAIxtmZaxACsCdOnpoe/QTVl3CIFrPGCdMXSFAqCF+4lBTi7ltgJLGS4FR75 KBUM9Zv73rDf4CrFTBFtRUqxOMGIzv57PJWNk0P3IFvUucBfgzG/flLNHxIeHMV1dx7+ eZ8g== X-Gm-Message-State: AOJu0Yx1/cai+wkIEoOwtBTptfUzp123AMYKm034cAIBOFtBQSJYjRHK bsByU2q5WBmy15fbvXhDhz5G/d5UEJg+WgkQ X-Google-Smtp-Source: AGHT+IF4HKGNnUx62uZldFWwspmtYRcwWyZuMStUfMuw28IjC5opYu3FeRAL4s7gXZtoHcsWtUjKYA== X-Received: by 2002:a05:6402:c6:b0:52c:b469:bb00 with SMTP id i6-20020a05640200c600b0052cb469bb00mr4749793edu.22.1694932807613; Sat, 16 Sep 2023 23:40:07 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id a9-20020aa7d909000000b0052889d090bfsm4319030edr.79.2023.09.16.23.40.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 23:40:07 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sun, 17 Sep 2023 08:31:47 +0200") References: <83edixgwrr.fsf@gnu.org> Date: Sun, 17 Sep 2023 08:40:06 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Stefan Monnier , 66022@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 (-) Gerd M=C3=B6llmann writes: > I'll report back, when I have something. One addendum, even if it might not be relevant - one never knows. I'm using use-package (+ straight) in my init.el, and because of that the bindings are done, behind the scenes, with bind-key. The use-package binding f2 looks like (stripped down): (use-package emacs :bind ;; FIXME: The function key bindings sometimes mysteriously ;; disappear, and are replaced with the original bindings in ;; global-map. ("" . mode-line-other-buffer)) From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 02:48:05 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 06:48:05 +0000 Received: from localhost ([127.0.0.1]:48937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlZc-0006fP-Fs for submit@debbugs.gnu.org; Sun, 17 Sep 2023 02:48:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhlZY-0006e6-46 for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 02:48:03 -0400 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 1qhlZL-000240-2z; Sun, 17 Sep 2023 02:47:47 -0400 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=EWBGw36ACCDirQsdL437YGfWtTK4TV7C508+sJvaFHM=; b=P5q/u0g+3CbuQ8bLy7bs Xz+4H+0NR/KqM3qJGVnh3kfrsseAEnA5DgkeJqJsxR6t6JHtZs68LRl/6NjLEGkNG0SDw8TzCe9O9 xikpQSiY4Inpd9TaOgw3vidE5fm2QhJf24D4Ok6V852B8JIAMhj04oj+5cA2YHTc25894l36Uu3BF WNe0N5CPEMH+BQfr94K8msoEuV4208ugCl4tj7MD/di9goxpvJHSlE0ySrj94+Fi91f/i7iPT1Egi R6/kq1nlPCBGL86QDjCJX7IFWUux25fsmpRfJtfwAotYis2eK8C8tp1+C9gZVRnfhEXmjfIPyiORW gku/bzgdyCyLRw==; Date: Sun, 17 Sep 2023 09:47:40 +0300 Message-Id: <83bke1gusz.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 17 Sep 2023 08:40:06 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: Stefan Monnier , 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 08:40:06 +0200 > > I'm using use-package (+ straight) in my init.el, and because of that > the bindings are done, behind the scenes, with bind-key. The > use-package binding f2 looks like (stripped down): > > (use-package emacs > :bind > ;; FIXME: The function key bindings sometimes mysteriously > ;; disappear, and are replaced with the original bindings in > ;; global-map. > ("" . mode-line-other-buffer)) What does use-package do when the "package" is "emacs"? IOW, at what point in time will the above binding be executed, and what event will trigger that? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 02:52:24 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 06:52:24 +0000 Received: from localhost ([127.0.0.1]:48941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhldo-0006oa-9U for submit@debbugs.gnu.org; Sun, 17 Sep 2023 02:52:24 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:52539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhldm-0006oL-J0 for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 02:52:23 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-530e180ffcbso585885a12.1 for <66022@debbugs.gnu.org>; Sat, 16 Sep 2023 23:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694933529; x=1695538329; 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=7qvcpWPpN8DH7iy9Fhd7fEnu6U0JNnOXdwf8XHsXDfs=; b=dYjal8d0dKjGSxn7ffBgUy3NrQvOpvipPC8q4PXdR2STjdNds2aE0peW5qO2jqfjhT Yj5FvRBBr7oTDhpCfuq2aO4GkARf3fun67erSrhMI5k9rhQcIUR90k6RCzQ+xbueq17v I23FyFxjrr+hkmcKuYooQ+TJmD8dSK+ZPdVxIuQZHcbQgFJ50OL3dPpt+jnRx5iZogcA shtogS/9FsCpTMYyk9HkWIDdpVRrlqhZ/haUsJEsGA9UM4TbWrruwTqkYFBoHEnWfKH3 JQA4gBS7ZmDX551PlbGPcev9RZ5z2jnN8lC1upkvuIAkVtwPHrIxvf82Pb2BnavZsu7w p9jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694933529; x=1695538329; 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=7qvcpWPpN8DH7iy9Fhd7fEnu6U0JNnOXdwf8XHsXDfs=; b=s7C44XZPbLZDM9eODVXl1etqehGvsILep0uVbHdDuOArVYD0KSQ/uhzNZBjjnNehfm 9nE+FRHD6o7ieDlC1U/l6UnStCZmn1CMUzyPZcciRxO3FkwG2GGuViDZu9mP0tOtDgqB mD7hX06WXcTRejz1pNr7W8rdQBXUlY2eRGS9V8HLw+p4EdcpBbFscoB4yh2/RgU7bOFV lfrZLh3E4pVjppfygKDAwr4+yw91zcpux/lHe1jM7fgeKN81XQb9ku8NU/YZJxjEg1gi jbBK2nceuaaGYg6mGti9KW+CshNkYv660FhNojNiEGqANm6WWjxQ2N5LTxkfWUXhhA6k Xfkw== X-Gm-Message-State: AOJu0Ywk05MVDi4UAAYMJzEwPvq4RJEq+o/lnj3dGKEckYnl+HsQFx8k 1rMUObk0PtbljVxJmkWexDKlyls9mjox73uG X-Google-Smtp-Source: AGHT+IEhynhSWKGlh0/VWMQ4vxQGNGayHGqjif2Ltj+/IdLVRBaWY0C8d8gkqLiiwjE3CtE0KZmNuw== X-Received: by 2002:aa7:de07:0:b0:52f:a44e:601d with SMTP id h7-20020aa7de07000000b0052fa44e601dmr4828687edv.9.1694933528467; Sat, 16 Sep 2023 23:52:08 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id i23-20020a50fc17000000b005256d4d58a6sm4267699edr.18.2023.09.16.23.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 23:52:08 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <83bke1gusz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 09:47:40 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> Date: Sun, 17 Sep 2023 08:52:07 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd M=C3=B6llmann >> Cc: Stefan Monnier , 66022@debbugs.gnu.org >> Date: Sun, 17 Sep 2023 08:40:06 +0200 >>=20 >> I'm using use-package (+ straight) in my init.el, and because of that >> the bindings are done, behind the scenes, with bind-key. The >> use-package binding f2 looks like (stripped down): >>=20 >> (use-package emacs >> :bind >> ;; FIXME: The function key bindings sometimes mysteriously >> ;; disappear, and are replaced with the original bindings in >> ;; global-map. >> ("" . mode-line-other-buffer)) > > What does use-package do when the "package" is "emacs"? IOW, at what > point in time will the above binding be executed, and what event will > trigger that? Nothing. It's sort of an idiom I found on the net for general customizations and so on that don't belong to a particular package. Some people apparently name it "general". From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 04:54:00 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 08:54:00 +0000 Received: from localhost ([127.0.0.1]:49030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnXU-0001W8-CG for submit@debbugs.gnu.org; Sun, 17 Sep 2023 04:54:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnXR-0001Vu-QZ for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 04:53:58 -0400 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 1qhnXE-0006ND-QW; Sun, 17 Sep 2023 04:53:44 -0400 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=WPxcnVHfORlH9t6t6aXE6qL2G9tIb6WPW2GYKMKDfMM=; b=omkXanppFsUm9BZeAVlb 15vJj7nJ3BbiSTQfQNdrGntL/4HMCfmaVsSyg5b7JoPnuUwmnZgetCA2uYNGjgqyyxZD6pZuHox8a CQnWj5qWUAA31esZZF2Q8zjp0Uk7IbsToKHRUr27vCc7QSz3Bw8W+80v02y44tZIqwa3xRUoul+B3 sOggrfNMjWD91bINDrHS1AQqy8f1LiEQbbpF6PjqLUzknkuE7imZrixBMXATvYmOP7SpeaHKdtLRy WsQy3CMTzPV40vEW9MlkNFOLC8uKhJ+VlD1J421HlYqHlhflDOT9+60bwLCoVFxBqPpS4WfmcM8++ fPXlA/BVYKpz8A==; Date: Sun, 17 Sep 2023 11:53:40 +0300 Message-Id: <83a5tlgoyz.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 17 Sep 2023 08:52:07 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 08:52:07 +0200 > > Eli Zaretskii writes: > > >> From: Gerd Möllmann > >> Cc: Stefan Monnier , 66022@debbugs.gnu.org > >> Date: Sun, 17 Sep 2023 08:40:06 +0200 > >> > >> I'm using use-package (+ straight) in my init.el, and because of that > >> the bindings are done, behind the scenes, with bind-key. The > >> use-package binding f2 looks like (stripped down): > >> > >> (use-package emacs > >> :bind > >> ;; FIXME: The function key bindings sometimes mysteriously > >> ;; disappear, and are replaced with the original bindings in > >> ;; global-map. > >> ("" . mode-line-other-buffer)) > > > > What does use-package do when the "package" is "emacs"? IOW, at what > > point in time will the above binding be executed, and what event will > > trigger that? > > Nothing. It's sort of an idiom I found on the net for general > customizations and so on that don't belong to a particular package. > Some people apparently name it "general". So the above binding of F2 is never executed in your case? Or else, how should I interpret your "Nothing" response to my question about the point in time when this binding is executed? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 04:58:30 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 08:58:30 +0000 Received: from localhost ([127.0.0.1]:49034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnbq-0001cW-4h for submit@debbugs.gnu.org; Sun, 17 Sep 2023 04:58:30 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:53600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnbm-0001cI-Ih for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 04:58:28 -0400 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-99c3d3c3db9so467994766b.3 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 01:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694941093; x=1695545893; 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=1wrQRu7fkGmv34oRZzQscN+O5i2IL3Qz7Y+qYv4b8zo=; b=bTLoc5vSpcCuPqOILBUNVypzJ7pnD2PBbHNo4HfY4QXUTJwAxwd5+AyekeYJ32k8XK tzMJ26P/D6ZRXRFg43a50kuNCViOKTPJFJOX7ir02h1oBsN8/naoloM/UnddpIF5uCE/ +YHiD/DxAYyKIIISC/Wyvp16ZHsPkMFdPvxOtLqZ5lm2GHMBhPByfpfd2N8L0mIOsIW5 E++1YKzXC4B5R7XEEL/EKxp3reWeCAMJI02q24MI1EshBSk9w++JnJ/9WG4ppqlLY0yf DeflpUCbEKgc3Rlq8Gj1jpnF0+UFnc3skVzc8ughE/cw0K9ZpanK6ueTDRlfEXs8XSHM y0CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694941093; x=1695545893; 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=1wrQRu7fkGmv34oRZzQscN+O5i2IL3Qz7Y+qYv4b8zo=; b=A5J8YlfZV6NtaerOg8zKyJsOULYAX2JtKVt+4bpUMFfQ+uIYHYfjXPl1lmO4MFExZf /QAX/7QBRaFUjnxCBzGUebS23ylZM365enAsp4ZbdSVH7cs67ZlcwaeC1VLUBVvMic4f zSZi4QBbkUdqUPT6zirgayszVHgZItpwIYmPzxbtKD6w77E+SRS5t/nCV44ceZx0B6hT wjCbEvAbAkcGwewcz88YSh5XvbLgxXbCj5e5PaJqehXYK7WdogWmtU5wtCMnHoB8mFh4 AO4XYyVaTOM7Oy5dO+/UigfkTBZYiT/t84/A78M+pqtNmJAAOdAFx9kq5s1d8UZBcxiF ZKkA== X-Gm-Message-State: AOJu0YyOIZH/mL+Wdl/ESlqI+Weiur5dE/swFw8+JkJvalyuQvr92Ept eEjb4sGMXRH8+tLxVrjmb4Je4VOShuXuKXJt X-Google-Smtp-Source: AGHT+IHvE62fmgOZYpL9ZBdZRfwLYOT89u1oRpAe4khCYlwRzlgZR5grxqDBRQ+BgjH5rDaMgldNLQ== X-Received: by 2002:a17:906:5a49:b0:9a9:e525:8705 with SMTP id my9-20020a1709065a4900b009a9e5258705mr4763493ejc.57.1694941092796; Sun, 17 Sep 2023 01:58:12 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id lg13-20020a170906f88d00b009ad88839665sm4749572ejb.70.2023.09.17.01.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 01:58:12 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <83a5tlgoyz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 11:53:40 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> Date: Sun, 17 Sep 2023 10:58:11 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: >> > What does use-package do when the "package" is "emacs"? IOW, at what >> > point in time will the above binding be executed, and what event will >> > trigger that? >> >> Nothing. It's sort of an idiom I found on the net for general >> customizations and so on that don't belong to a particular package. >> Some people apparently name it "general". > > So the above binding of F2 is never executed in your case? Or else, > how should I interpret your "Nothing" response to my question about > the point in time when this binding is executed? No, sorry for not being clear. I meant use-package doesn't load a package, or something like that. It executes normally, and in particular, it uses bind-key for the :bind clause, so that F2 gets bound. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 05:18:34 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 09:18:34 +0000 Received: from localhost ([127.0.0.1]:49041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnvG-00025h-10 for submit@debbugs.gnu.org; Sun, 17 Sep 2023 05:18:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnvC-00025S-4u for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 05:18:32 -0400 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 1qhnux-00033v-Il; Sun, 17 Sep 2023 05:18:17 -0400 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=ZP29tPxV/a1NzJKR8iFNEjXsISUyU5g2d57xuBSXgtI=; b=IL5Ud7yx0V2OTR1UcC9X gN2HESu9nXk0x2gZrml4+yaLYv41VVIRR2pzeDduAZgJUaI2meq4KMyA6ABaXe1KWwrks4Z1d3ujA tlPOkSz1TAKAnSgZjsE6hnashJIBVzvJCqyG26iGFUNqxLS0Mwok5QvAcBopsPqJcdtUd4mA/KHjJ fUhBH68inp8nW0pBIWgZ7xaz6Xz+ib1V7NteKNhvRtWljxbkHwnfoXHHWDd1moRndw7ohT3trMbry /pnbkwzGW2D3V57GyLSmVrO4X0cKZioHysD3QCHKrWeM+cLjNq4h4Lcw3ptyCBwn/R3/6X9ZOXLof yyDspg0vt4t0fQ==; Date: Sun, 17 Sep 2023 12:18:12 +0300 Message-Id: <837copgnu3.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 17 Sep 2023 10:58:11 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 10:58:11 +0200 > > Eli Zaretskii writes: > > >> > What does use-package do when the "package" is "emacs"? IOW, at what > >> > point in time will the above binding be executed, and what event will > >> > trigger that? > >> > >> Nothing. It's sort of an idiom I found on the net for general > >> customizations and so on that don't belong to a particular package. > >> Some people apparently name it "general". > > > > So the above binding of F2 is never executed in your case? Or else, > > how should I interpret your "Nothing" response to my question about > > the point in time when this binding is executed? > > No, sorry for not being clear. I meant use-package doesn't load a > package, or something like that. It executes normally, and in > particular, it uses bind-key for the :bind clause, so that F2 gets > bound. Does it do that immediately as that particular use-package form is read and interpreted, or does it do it later (e.g., after the init file was loaded or something)? I'm trying to figure out when could the autoloaded bindings become in effect so as to countermand your use-package bindings (if this is what happens; does it?). From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 05:50:37 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 09:50:37 +0000 Received: from localhost ([127.0.0.1]:49059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhoQG-0002wW-QJ for submit@debbugs.gnu.org; Sun, 17 Sep 2023 05:50:37 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhoQC-0002w7-EP for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 05:50:35 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-991c786369cso473296566b.1 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 02:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694944219; x=1695549019; 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=MHqlnK/GxnALJq4qOOPmYQcFtw/aWgBbJJX/98JBNfM=; b=I+OnD3aZsbgjkQXBX6WZovaiYKDi75ntoORIfGvQp1Q/0RHO3yh7D0CjXC3w3zVIGh j1zSEZRNteHakIRBDtBgnGs6hGhtJUMJCi94BWhNNk7brKNO38cYVUP9D1kPrOSa7ufR mE+SWaUlSgxsFEtvvcwAgJ9U2/LB0TL+Er815QTpdPytwg65BZP+eNkI+GZ21TeDLCrz 5UvR4LLl4VTBzt3iro+F/nuyg/PkCvvH+8LOkRjuxG1s2aYSfXMtJhcVzcDdMtUBQqKH 6kLySBbkRvOlPDq6yap/5StbZUkCQi8gJMqJFsZtf6T5oUHhCI1lrncaZqCl3DrR41Sm NAPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694944219; x=1695549019; 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=MHqlnK/GxnALJq4qOOPmYQcFtw/aWgBbJJX/98JBNfM=; b=HHbJf4ruxlkDAnTyVYt95EuRtky3zOhrrVSpy8frFc7cfiI8OoQxm8RPosT+Y7CqgS +oUw5SnbInmvGpgnKsh+jczk8xN77SEx9Mm9y5iPBXOhCCVlRiJnWs9gDXOE85ouQAfA 7gjZfaJKVbmY7laW8Z5Rp2M6r3LN8hg9DMZauF8ajQoZtVAq6RXp0v0c0jNDRVU8cGzN o79eYZ7wFZYOfY3wmPAhQuxA5fE4JrtsjuPf4uxfu7t/3qcPyi4gbv/niHKC+WMwMdyl MoTooXYNTPeyAhNNqlcQPMzePV0pWvJlfFr0rRx5/8kJNowKi8Hu87pDa/O1GOuQvqWh RcQw== X-Gm-Message-State: AOJu0YwmGkR/EY8vGmNe3rUCZRka3s6YQiPDFjCaK7QqSoxIGHbcZ2l/ dLAzmhhmCPPT5uW51axPTmxv9/Hpsq9Js7L0 X-Google-Smtp-Source: AGHT+IGye+HQegyJWjIbRxkZYtAhwYEHN1+5jVyRVUzPf+XULmX4nrHhXxNullr/quksMfrITRdMgA== X-Received: by 2002:a17:907:78d0:b0:9aa:25f5:8d93 with SMTP id kv16-20020a17090778d000b009aa25f58d93mr5279970ejc.49.1694944218364; Sun, 17 Sep 2023 02:50:18 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id oq8-20020a170906cc8800b0099bc08862b6sm4879214ejb.171.2023.09.17.02.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 02:50:17 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <837copgnu3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 12:18:12 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> Date: Sun, 17 Sep 2023 11:50:16 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd M=C3=B6llmann >> Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org >> Date: Sun, 17 Sep 2023 10:58:11 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> >> > What does use-package do when the "package" is "emacs"? IOW, at wh= at >> >> > point in time will the above binding be executed, and what event wi= ll >> >> > trigger that? >> >>=20 >> >> Nothing. It's sort of an idiom I found on the net for general >> >> customizations and so on that don't belong to a particular package. >> >> Some people apparently name it "general". >> > >> > So the above binding of F2 is never executed in your case? Or else, >> > how should I interpret your "Nothing" response to my question about >> > the point in time when this binding is executed? >>=20 >> No, sorry for not being clear. I meant use-package doesn't load a >> package, or something like that. It executes normally, and in >> particular, it uses bind-key for the :bind clause, so that F2 gets >> bound. > > Does it do that immediately as that particular use-package form is > read and interpreted, or does it do it later (e.g., after the init > file was loaded or something)? > > I'm trying to figure out when could the autoloaded bindings become in > effect so as to countermand your use-package bindings (if this is what > happens; does it?). Hm, I must confess I'm not a great use-package expert, but maybe we can figure this out. I used pp-macro-expand-last-sexp on the use-package in my .init.el. The result is at the end. I'd say it looks like the bind-key is done like so (condition-case-unless-debug err (progn ... (unless (fboundp 'mode-line-other-buffer) (autoload #'mode-line-other-buffer "emacs" nil t)) ... (bind-key ...) This is the full macro expansion: (progn (defvar use-package--warning47 #'(lambda (keyword err) (let ((msg (format "%s/%s: %s" 'emacs keyword (error-message-string err)))) (display-warning 'use-package msg :error)))) (condition-case-unless-debug err (progn (let ((custom--inhibit-theme-enable nil)) (unless (memq 'use-package custom-known-themes) (deftheme use-package) (enable-theme 'use-package) (setq custom-enabled-themes (remq 'use-package custom-enabled-themes))) (custom-theme-set-variables 'use-package '(cursor-type 'bar nil nil "Customized with use-package emacs") '(scroll-bar-mode nil nil nil "Customized with use-package emacs") '(custom-enabled-themes '(modus-vivendi) nil nil "Customized with use-package emacs") '(default-frame-alist '((height . 82) (width . 120)) nil nil "Customized with use-package emacs") '(ns-alternate-modifier 'meta nil nil "Customized with use-package emacs") '(ns-left-command-modifier 'super nil nil "Customized with use-package emacs") '(ns-right-alternate-modifier 'none nil nil "Customized with use-package emacs") '(ns-right-command-modifier 'meta nil nil "Customized with use-package emacs") '(duplicate-line-final-position 1 nil nil "Customized with use-package emacs") '(enable-local-eval t nil nil "Customized with use-package emacs") '(enable-local-variables :all nil nil "Customized with use-package emacs") '(help-window-select t nil nil "Customized with use-package emacs") '(server-mode t nil nil "Customized with use-package emacs") '(send-mail-function 'smtpmail-send-it nil nil "Customized with use-package emacs") '(vc-follow-symlinks t nil nil "Customized with use-package emacs") '(disabled-command-function nil nil nil "Customized with use-package emacs") '(ring-bell-function 'ignore nil nil "Customized with use-package emacs") '(initial-scratch-message nil nil nil "Customized with use-package emacs"))) (unless (fboundp 'undo) (autoload #'undo "emacs" nil t)) (unless (fboundp 'undo-redo) (autoload #'undo-redo "emacs" nil t)) (unless (fboundp 'ibuffer) (autoload #'ibuffer "emacs" nil t)) (unless (fboundp 'zap-up-to-char) (autoload #'zap-up-to-char "emacs" nil t)) (unless (fboundp 'mode-line-other-buffer) (autoload #'mode-line-other-buffer "emacs" nil t)) (unless (fboundp 'duplicate-dwim) (autoload #'duplicate-dwim "emacs" nil t)) (unless (fboundp 'switch-to-buffer) (autoload #'switch-to-buffer "emacs" nil t)) (unless (fboundp 'beginning-of-buffer) (autoload #'beginning-of-buffer "emacs" nil t)) (unless (fboundp 'end-of-buffer) (autoload #'end-of-buffer "emacs" nil t)) (unless (fboundp 'previous-buffer) (autoload #'previous-buffer "emacs" nil t)) (unless (fboundp 'next-buffer) (autoload #'next-buffer "emacs" nil t)) (unless (fboundp 'execute-extended-command) (autoload #'execute-extended-command "emacs" nil t)) (unless (fboundp 'delete-other-windows) (autoload #'delete-other-windows "emacs" nil t)) (unless (fboundp 'global-text-scale-adjust) (autoload #'global-text-scale-adjust "emacs" nil t)) (eval-after-load 'emacs '(condition-case-unless-debug err (progn (defun my-startup-time nil (message "Start time %s." (emacs-init-time))) (add-hook 'emacs-startup-hook #'my-startup-time) t) (error (funcall use-package--warning47 :config err)))) (bind-keys :package emacs ("C-z" . undo) ("C-S-z" . undo-redo) ("C-x C-b" . ibuffer) ("C-x 6") ("C-x C-k") ("M-z" . zap-up-to-char) ("" . mode-line-other-buffer) ("C-c o" . mode-line-other-buffer) ("C-c C-o" . mode-line-other-buffer) ("" lambda nil (interactive) (kill-buffer (current-buffer))) ("C-c k" lambda nil (interactive) (kill-buffer (current-buffer))) ("C-c C-k" lambda nil (interactive) (kill-buffer (current-buffer))) ("C-" lambda nil (interactive) (scroll-up 1)) ("C-" lambda nil (interactive) (scroll-down 1)) ("C-" . other-window) ("C-c d" . duplicate-dwim) ("=C2=A0" . switch-to-buffer) ("s-" . beginning-of-buffer) ("s-" . end-of-buffer) ("s-" . previous-buffer) ("s-" . next-buffer) ("s-x" . execute-extended-command) ("s-o" . delete-other-windows) ("s-+" . global-text-scale-adjust) ("s--" . global-text-scale-adjust) ("s-h") ("s-m") ("s-p") ("s-q"))) (error (funcall use-package--warning47 :catch err)))) From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 06:02:36 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 10:02:36 +0000 Received: from localhost ([127.0.0.1]:49079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhobs-0003HZ-2G for submit@debbugs.gnu.org; Sun, 17 Sep 2023 06:02:36 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:54583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhobo-0003HJ-7G for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 06:02:34 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c008d8fd07so1895231fa.1 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 03:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694944938; x=1695549738; 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=i4oVrOshZFjyrgiUcPEQYDhyVFFzRHS24Jyb/+ZRtm4=; b=F9f0+VvOYTCRTZZ8xW8PdI+1gvqKBez1LIZffmxozGz+FlnlYuLu/aorZm04zTmT0Z 1I577/3tMGvUMDjAaJgHDoWAL5z4DqN68dQ1G/YzthqAokkjj362+ydTrlCRhjpLN5zp IfE0fNaWo6p6DmqM0TBiiVCjBnyhfQiHDLRVVSv84gmFkY1CajRzkK+JAR48qjw9reYw Yiw2L3vIBiCSdkDB+WsumJFOWB0A/lKQczmONDBPlxrB4H6tFADBnIMuvQDr4o/12xeK 98nO6dWUahhanqtnif37aUUd4SC9slnY7hCCE8s49K5ZhFRJNNcy5/rt6PwqrzJM1tZ8 6dJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694944938; x=1695549738; 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=i4oVrOshZFjyrgiUcPEQYDhyVFFzRHS24Jyb/+ZRtm4=; b=tKffenbtZ/2zw5MD7NgXXpEXcUI81MZPCLaqoEzL2jjMI5+IgU5G40xEVGc2ZBkBhQ 1H5SFJ4nzjIHho6jYKuW/Lr29l4lxcDu9i6MESRTz3MsldddzUJU9T6WiA46lc8Oo6l4 au9Be5Be2Njothyr2DoOzzoHqTy3LSilF6etd94DTfFn98ukeheDeH/9WX/gfW0fgdeg 4TSwfJLHR6aVhTFEFwtPHee0/vU4Ks1Q0yUJmsG5iYIAdCMYfaq7Rh7dkng9f2ALbrbu ePg3MYaf09yUeywXp0cvvLvQe2xXMlLl396lCqwc2tYvBZKcc6yVcuiqRaBIraPJmgvx DPPg== X-Gm-Message-State: AOJu0Yx+bYEF7a8SA8Hzsaq5eYMJFPClKUF3hEs+pJ7GADiEhTm1Ga2q Spn9rvePK2d8G7wASF1PDDlkDKC/3JrZ8jz0 X-Google-Smtp-Source: AGHT+IH9hTZxRTIsC6IFTJ0cJqVgbZoccYdxZalIAovEH15FK6M6BWaiNl+czjgbuv7qqYDcK8EHsQ== X-Received: by 2002:a2e:88d8:0:b0:2b6:ee99:fffc with SMTP id a24-20020a2e88d8000000b002b6ee99fffcmr5374741ljk.36.1694944937605; Sun, 17 Sep 2023 03:02:17 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id ox11-20020a170907100b00b00997c1d125fasm4849560ejb.170.2023.09.17.03.02.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 03:02:17 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <837copgnu3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 12:18:12 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> Date: Sun, 17 Sep 2023 12:02:16 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: > > I'm trying to figure out when could the autoloaded bindings become in > effect so as to countermand your use-package bindings (if this is what > happens; does it?). Sorry, forgot to adress that question. Yes, that's what is happening. Everything works normally for a long time, I do whatever it is in Emacs, and at some point I notice f2 isn't working as before. ALas, even when the trace-function kicked in, I wasn't able to tell what exactly it was that triggered that. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 06:45:41 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 10:45:41 +0000 Received: from localhost ([127.0.0.1]:49171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpHY-0007DW-Ku for submit@debbugs.gnu.org; Sun, 17 Sep 2023 06:45:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpHW-0007DD-2J for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 06:45:39 -0400 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 1qhpHF-0002J0-Db; Sun, 17 Sep 2023 06:45:24 -0400 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=VANUqRX9bJkzZpOdovhM8FkFcbIb/saFPrmaxrJ3czY=; b=l+D4PUSGO6miaCODAFJX Ch22NWyS6BICwAuJ9tyBF0GxssHCi/FCuBM+AnHmD17mUn/9BRik4dv/CHF0BRSR66xIUngPUzmYM oxZmdKD5WbH8uQXHblUa1CR8ok6UuxZK9CAGRH6BxirpIr9sp3fHznL2JEALjRVceegyDtLJBpiv3 l4a592Ytc2QBjyKKoZNv/Y7+Dkuv7kZcBMx0iGgNrWhJKBE3ykWOwKgQpfBBV9IDoATG9lVc4hjzb GVDppWgGSl95RyPovm0zq3V7vDJ+zv6kz5p1dycttVTHcB4kvd0mmaPYcf9TfFN0XvysjCWfgQBsU u5STOlx1FGgdrw==; Date: Sun, 17 Sep 2023 13:45:05 +0300 Message-Id: <83y1h5f58u.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 17 Sep 2023 12:02:16 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 12:02:16 +0200 > > Eli Zaretskii writes: > > > > > I'm trying to figure out when could the autoloaded bindings become in > > effect so as to countermand your use-package bindings (if this is what > > happens; does it?). > > Sorry, forgot to adress that question. > > Yes, that's what is happening. Everything works normally for a long > time, I do whatever it is in Emacs, and at some point I notice f2 > isn't working as before. > > ALas, even when the trace-function kicked in, I wasn't able to tell what > exactly it was that triggered that. Could it be that you (or something else) reloaded loaddefs? From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 07:08:08 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 11:08:08 +0000 Received: from localhost ([127.0.0.1]:49206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpdI-0002AB-Ey for submit@debbugs.gnu.org; Sun, 17 Sep 2023 07:08:08 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:61563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpdG-00029h-Nx for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 07:08:07 -0400 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so4528776a12.2 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 04:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694948873; x=1695553673; 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=Yw38D6UlZGvAhAFGJGMyg/OnOGVd7pRn5sapJXnRRPs=; b=BzzajarJXuhjk40wCP8ohOMMFtZN0e25f8+9XHeXKUrdyaLZLDuOz96MsEZyFW+SQC RDRkzm+zocrEigf9d+WiY7PgQcXokTtyvQdMga8J6CA+J9ggbsCHk1PdxHf2REML/1Gz OnVODdwbkxa5NgXQXvCOCW5XnTyUIKlTqSwLDeQ0osOcfKRuoYSjpfTi59LIbRmwNY5n bmjIhvEElH0fE8qnUwacE1uOImfCajCACfpkC1HRJndRV0vQcHLJ3+8aVugaYfJwKBST uRvteCjY1L/+PWw2Yt7me3tlEgUc79eMyJDy/b77IEhpGgE7/O6KYbYI56fmnbx//SZB 8aNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694948873; x=1695553673; 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=Yw38D6UlZGvAhAFGJGMyg/OnOGVd7pRn5sapJXnRRPs=; b=h3jw/8+bfeuy++mJfEzGWrAVnfV3UI5NIIIYHhnmWGIYnkf52b1O0VVm0OduO9dguX W7yBUnjCLF/HYTG+7bG+bhs70mxVzEQEHJjNzhJZM/SihJk5GRBUOviL//amXUcYvbJX 6dmGEknaxI3aqHpfmP2bTtV2X24n+2wgA2VcawxkQNkd8bM45qIQcvASFkjJpH4ODjJr GekD3kW6N6gCmT5+ovHGF6EhQZydV+3NrDpuTVeKV3kqqapqk6KtD8QKS5xQ1rCtdmUv XkdWjWIUvOqSv7hW/lAkkmTltGP3DIwA7CG/P5eiDOLqZLH7veoTZivsB5cnhtR6JDX/ 8Xqw== X-Gm-Message-State: AOJu0YwX6pNREGKlFGNu1U1+j2mriQi4Fbs/a2hE+cQwgV0U1Pqw9kSb M4wiOziI8si/U8d1wUShbSZNpx8FwMXzrWvZ X-Google-Smtp-Source: AGHT+IHWX45WXGKykNF7KeoNvEMg0X8UVtej4Ou58GrkrjvEVmxWUCwKwRBZfg6yLAuPQzG8GWe7ZQ== X-Received: by 2002:a17:907:2709:b0:99c:f47a:2354 with SMTP id w9-20020a170907270900b0099cf47a2354mr5501317ejk.70.1694948872718; Sun, 17 Sep 2023 04:07:52 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id fi26-20020a170906da1a00b0099bc8db97bcsm4826247ejb.131.2023.09.17.04.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 04:07:52 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <83y1h5f58u.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Sep 2023 13:45:05 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> Date: Sun, 17 Sep 2023 13:07:47 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: >> ALas, even when the trace-function kicked in, I wasn't able to tell what >> exactly it was that triggered that. > > Could it be that you (or something else) reloaded loaddefs? It wasn't me, for sure, but that's what I also suspect is happening somehow. An indicator for that is that the kmacro and two-column bindings appeared together. These are the only 2 packages putting global-set-keys into loaddefs. But how would that happen if loaddefs is preloaded? I couldn't find anything suspicous with git grep. I'm building with ASAN now, maybe that finds something. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 07:23:51 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 11:23:51 +0000 Received: from localhost ([127.0.0.1]:49223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpsU-0002a1-VV for submit@debbugs.gnu.org; Sun, 17 Sep 2023 07:23:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpsR-0002Zj-SN for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 07:23:49 -0400 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 1qhpsB-0001c3-3O; Sun, 17 Sep 2023 07:23:32 -0400 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=WDnvmlFFnMBGolYQhnpehUfCBBT/fFEWbEdXlVjFNLM=; b=BbULXZi8m/Fut4qsvjW+ zoSoQPuP5Xy8InYHdP3lMEXrOcb0CRqi+4A46738rZNuqG9Ezu+/wYlJwQsEQVQ2G29FuGjWIyT9f n0sTkX7AvCOIHhHcb77ip8KLKLrWDnu7Ycbgh1eHeac+K1IxavFejAQZyxBqYRbvg3TBazcFyKfHV VizJCbTDPkBj0r56WcnXpbQvokFAffPmOOVndgSKQLW1GTKRXmH4h5l8ud0TFy+fiegbhvMgBkPpY y0FxFoBvh/4dr8fhyn0xOXnoDRzs9ewTxPpfW+9exdPDLjbF3caSfJBf2svfOGP/x7LbKdATx72yJ IApLdJ9XkR2Vug==; Date: Sun, 17 Sep 2023 14:23:27 +0300 Message-Id: <83wmwpf3gw.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 17 Sep 2023 13:07:47 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 13:07:47 +0200 > > Eli Zaretskii writes: > > > Could it be that you (or something else) reloaded loaddefs? > > It wasn't me, for sure, but that's what I also suspect is happening > somehow. An indicator for that is that the kmacro and two-column > bindings appeared together. These are the only 2 packages putting > global-set-keys into loaddefs. Maybe try using eval-after-load to catch the culprit? load-history should also tell you if loaddefs was loaded, I think. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 07:27:09 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 11:27:10 +0000 Received: from localhost ([127.0.0.1]:49228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpvh-0002fq-Kc for submit@debbugs.gnu.org; Sun, 17 Sep 2023 07:27:09 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:51374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpvd-0002fH-4c for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 07:27:08 -0400 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2bffe2840adso6183341fa.2 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 04:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694950011; x=1695554811; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wVz3CCtMTXp6iNJDdE32VbMSj9zyUzWR15R1qcdhQSc=; b=CuXYjslXerm9axdgA2fC2BRkPjH1Q6fASXHe/ADNDwdWbfNTtJc4enQo9lk8DTkimA lbN99O3ibal7Li1lVGJoOneR59ITpDru8Ir9OZiQHZFkCVmH3XsE8kSo6gVYfRftOrUk +64n2rccChfaSyTSM/kstU87tDSfkG2vdgOrxnRhxbS/VIOuVVGwsiCJBT8HVC5MmXqA s9R7sIkTU2ixFDe6qU9OG2v8A9bPgqqZgxrQ3cKMfU/p3/Gkv8+E8ri5xkpaYgEmGVbe 9Aa2x175j9pXXKeuadm/PAlS+aGcUCKmwXxzp+4ZuBrwOn4vG8bl3PpdwMm/pMbwWW6u koFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694950011; x=1695554811; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wVz3CCtMTXp6iNJDdE32VbMSj9zyUzWR15R1qcdhQSc=; b=UazCv3sjF79SueMrDHW6MM6xSdjN+ci+BadZtithECCUcakYvhuQn1P35oIOdnAXy0 48ztLA+2yFS9YigN50BelQKB2z+2Ju6OcTy3H/9ATo3/NRZ7JpvRzkit/OJtMrcivYtQ PkYcAc3VzgnyfXhveARkqNs0hgLDVJAzdJdGBF7q8jdD1XZor4u8+skFNudQnCEQy7Pw J7XBTPFJwSzyrtt2uD8hOMet6T6dphRN7bdRifNGVxzXYkoMZVSr2L78Q0Xy9cTnc9m/ mZLK7Al+FBkjB6sE4BHI4MhQkpPkl2RtyBSOqNQjajydXmqBQdHO8j2mkjAtDn1Oscpy jttw== X-Gm-Message-State: AOJu0Yy6zOq0qhD6tlNQNwHbaAAmXlmplTesMD4IfdlR+8bmqt7XPFl/ c3ehFknjJtn9H3TMPIE1db0= X-Google-Smtp-Source: AGHT+IEyShJqhBMAZfZfdrufUl7spRl6A8cdqB78tKKcq5COuXmZc+TLczveTMiZtkjuGm+Adrw+iA== X-Received: by 2002:a19:5e14:0:b0:4fb:8de9:ac0e with SMTP id s20-20020a195e14000000b004fb8de9ac0emr4587589lfb.1.1694950011302; Sun, 17 Sep 2023 04:26:51 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id vr6-20020a170907a50600b009adce1c97ccsm3416953ejc.53.2023.09.17.04.26.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Sep 2023 04:26:50 -0700 (PDT) Message-ID: <7d7be1f9-2195-4fa4-bd7d-d63a4e24a95c@gmail.com> Date: Sun, 17 Sep 2023 13:26:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Eli Zaretskii References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <83wmwpf3gw.fsf@gnu.org> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHE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q3iat9OAXSR+qv4RGY 2XxdbsQVVr3Hx240IV9voxXqPa58Yt51qxlfdWaEkMcesqr8RPSS9FeEj0Zn4pWULp52j2Gu mTpJy4gnLkO12mUVOF/W9HazQdNjQqaAE2neimtmI5zUbGzdwKk7OBWGs9cBc3fJCZeAvuxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: <83wmwpf3gw.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-17 13:23 , Eli Zaretskii wrote: >> From: Gerd Möllmann >> Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org >> Date: Sun, 17 Sep 2023 13:07:47 +0200 >> >> Eli Zaretskii writes: >> >>> Could it be that you (or something else) reloaded loaddefs? >> >> It wasn't me, for sure, but that's what I also suspect is happening >> somehow. An indicator for that is that the kmacro and two-column >> bindings appeared together. These are the only 2 packages putting >> global-set-keys into loaddefs. > > Maybe try using eval-after-load to catch the culprit? That's a good idea! I'll put that in my init.el. The ASAN build on my old Macbook is so slow, it's no fun. > load-history should also tell you if loaddefs was loaded, I think. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 13:14:03 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 17:14:03 +0000 Received: from localhost ([127.0.0.1]:51315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhvLO-0006EW-Tm for submit@debbugs.gnu.org; Sun, 17 Sep 2023 13:14:03 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhvLM-0006Dv-LK for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 13:14:01 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 4502F80799; Sun, 17 Sep 2023 13:13:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1694970826; bh=e4Nr5va3CWpIZ6MqEtIyPWvAUF8GgTYG809bw461HGQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bSKEr6CcNLCKnPogw0UZVkmOctII/hGgyPbtCaLbjA+BA/75TxnrhBkVRVOi1wy5s 0RY0ZwE0kQdx312wS+3DfML/LVu5PiB/HHhgPDv5oDQiyzg4Jev44kmdsME5oI1rDS XHGzC+RADXj0ETHWp7JPcpfDkmgU3S4Znkp0GgooBdmtUIB7rZhaD7xng8fqYLnb/i GDhToCYr3pRrYUj+DWSVc8vBD49g71JbS3Yb/teku92UhFPJLSHgYMILlXDka5F2Hq 6M5mDg7JMvURxZdvM3x3aj9yZ9QrapTa0FoafKnZgsapE/+kk4QtVzEyC77SSWOpse MZSr6tc1t+32w== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3DA92803E6; Sun, 17 Sep 2023 13:13:46 -0400 (EDT) Received: from pastel (unknown [104.247.237.102]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 12381120FA6; Sun, 17 Sep 2023 13:13:46 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?windows-1252?Q?M=F6ll?= =?windows-1252?Q?mann=22's?= message of "Sun, 17 Sep 2023 13:07:47 +0200") Message-ID: References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> Date: Sun, 17 Sep 2023 13:13:43 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.106 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) > But how would that happen if loaddefs is preloaded? One case this can happen is if you're hacking on the Emacs you're currently running: if you look at the doc of a function, Emacs will fetch that doc from the `.elc` file, but if that file was regenerated and the doc has moved Emacs usually detects the problem and reloads the (new) `.elc` file so as to get the new position. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 14:10:35 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 18:10:35 +0000 Received: from localhost ([127.0.0.1]:51400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhwE7-0007hg-1g for submit@debbugs.gnu.org; Sun, 17 Sep 2023 14:10:35 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:49641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhwE3-0007hD-NV for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 14:10:33 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-502984f5018so6262799e87.3 for <66022@debbugs.gnu.org>; Sun, 17 Sep 2023 11:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694974218; x=1695579018; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EVkYwx1Z1lDRr7wrKSP3VXwZ8HxANv8iq/kgfpW85GU=; b=aQwO6jWGnNIx+HffnPImBavwJSuJALxxL7si3t4m+RHsDGUoKO0IHR2+YRw2iBAm5D xMHYexzfXtTYTAYCBaGfH2IhG/qr/TZiy4Cz1/7rQziva98b9GnWF/+rnRBawmK3kPID X5iVGwZU2xUw3u/L3sy442rJb96KpaQW8OzQH0sx0EP/abK+G7H8ZjnYVMXPl7Tezj1q kY8WxLp+Ey6kuZHQuY5CidgdCMY4/C9lDV7/QBC6KMIeaiFsINnnDQgTHRpBlC+WWqlj cT3b4wkfCtannxYXXxJlXp/oB2xUJ4oTiUtISz4Qsd+xgMZf68SS0OVqqHL1+GhsuM8z ws+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694974218; x=1695579018; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EVkYwx1Z1lDRr7wrKSP3VXwZ8HxANv8iq/kgfpW85GU=; b=a3hpGFMlqmpxJ8T3Igqd7BMia8oINEyDFCQOJjeijo7aRMwiSySnWzkYTyJrO0wY5C WACHenFEIzQkY3Doxvxm/ZuvnY89KzVkw+ZgnPCk/qaKBw+8Iibt4iVeQKNyHi571Cm4 L/YsxaMRbcVPXLaVHLLBMAjcFhnb8FqA+EMuFPHmjVOrtAwQzI33flpTIYP+o5s6rOY6 eC3YuPb7lcnTtks0Fvd5T71Vqx+XeYcqp7aW53L9VBf28r9U1rGDTcP/H6GhsAG3sl3s jpMWUCCO540cktSUh2WDSGCfNf80aOZUfuZe8pDW9y1betSVy8pyQ9s+et2zlWbCOAuP 8LBg== X-Gm-Message-State: AOJu0YyEtosyJkKqX3wLWlZShHwmwqaK08IdsbGEoBU/aBlUwi7mQsD8 oNRFs1biVZcUxnHvozQzx1k= X-Google-Smtp-Source: AGHT+IFWAGDD1BcXn5jMtTZpilGnDzPVl3s9Ug+SYZsE9XKID1QyQzuRjBJNKT7OH7B85BxQLBDd3A== X-Received: by 2002:a19:e058:0:b0:4fb:9e1a:e592 with SMTP id g24-20020a19e058000000b004fb9e1ae592mr5889593lfj.4.1694974217527; Sun, 17 Sep 2023 11:10:17 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ac93.dip0.t-ipconnect.de. [79.227.172.147]) by smtp.gmail.com with ESMTPSA id f5-20020a056402068500b005254b41f507sm4976532edy.32.2023.09.17.11.10.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Sep 2023 11:10:16 -0700 (PDT) Message-ID: <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> Date: Sun, 17 Sep 2023 20:10:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Stefan Monnier References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1w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+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 23-09-17 19:13 , Stefan Monnier wrote: >> But how would that happen if loaddefs is preloaded? > > One case this can happen is if you're hacking on the Emacs you're > currently running: if you look at the doc of a function, Emacs will > fetch that doc from the `.elc` file, but if that file was > regenerated and the doc has moved Emacs usually detects the problem > and reloads the (new) `.elc` file so as to get the new position. Thanks, that's an idea. I don't remember doing that, but I'll try to reproduce this somehow. I tried it just now with a simple recipe but that didn't trigger the checks in my init.el. Have to read the code that does that reloading, I guess. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 15:10:56 2023 Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 19:10:56 +0000 Received: from localhost ([127.0.0.1]:51438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhxAW-0000t5-1n for submit@debbugs.gnu.org; Sun, 17 Sep 2023 15:10:56 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhxAR-0000sk-LE for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 15:10:55 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ED2378075E; Sun, 17 Sep 2023 15:10:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1694977836; bh=RJitg9vg5W17u396ZmJJbRiMIe5DgjZoMoOwO+rd4gU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SG15zPCWtQD15zaFkqMmpCOhoC2YHJigAkYaJ1u8VgTL5Y732MuUNYtrtC5H7DbFB 6SYwkL3U8gZuyUhDaHx0vilm51GKOUOQLEFQSaRPoiwMh06aWF306EAz7u34b+chvy Q8njXSwgQzHIhzOyTnOytmRGMlwYfdN6uX2ByTeeEsqICWg9iN8Al9xndlgJ3eccTl vIZoG2I29xdP75RQrQHE1vTp4ZWAlFQ4TymDXSUVJ5w+UGp/r5i81aZwK4uveO+YuR IIOvT8FpcFt4gsVvrXZXZQX0TIL0bJsXA2meAXOpcjWaIvc/tnO3sTQMFJ2RHbMdAq YXyhLErB4lKAg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CD4CE8054C; Sun, 17 Sep 2023 15:10:36 -0400 (EDT) Received: from pastel (unknown [104.247.237.102]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9EF2F12027A; Sun, 17 Sep 2023 15:10:36 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> ("Gerd =?windows-1252?Q?M=F6llmann=22's?= message of "Sun, 17 Sep 2023 20:10:15 +0200") Message-ID: References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> Date: Sun, 17 Sep 2023 15:10:35 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.104 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) > I don't remember doing that, but I'll try to reproduce this somehow. I > tried it just now with a simple recipe but that didn't trigger the > checks in my init.el. Have to read the code that does that reloading, I > guess. grep 'Fload (' src/*.c should get you started. Stefan :-) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 10:36:50 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 14:36:50 +0000 Received: from localhost ([127.0.0.1]:53991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFMn-0006tH-KD for submit@debbugs.gnu.org; Mon, 18 Sep 2023 10:36:50 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:58434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFMj-0006sw-J7 for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 10:36:48 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-52c4d3ff424so5680217a12.0 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 07:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695047791; x=1695652591; 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=x9D3nJnmlrPD1zH4A5hkccC6AtAErl0nYsWh+57X8zY=; b=PeCSS6ybU2ZyZG3MMwsOUTi6JlCOSM+Y7SBJWZvB/5ORj2kBkaZWeGadgMYLQBmKdO 5vHJ3U8c2EOgs0UUVqv4XEptqVYschartP4imZUu8wzo6tMebKTlWXthcCLt4di/fCxh Yv+t6SdSkHRa77VZXBK+NBhJli4d2km7seV7C6v6WlFdZ3jUjAm1u1/REPRfNvylG9Zd VPkei1eIvevphBq27XK/MdH67mL5+4sAxVk1fcFKsvrALx3MIexIDS51D+FY/ej0ip4W pgWl51Ni6WUAfy4RCKK58Aq4BRHL32SyYl8qpwy5x83ENEaK/mvzNijqrKTT+5vOLccM WJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695047791; x=1695652591; 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=x9D3nJnmlrPD1zH4A5hkccC6AtAErl0nYsWh+57X8zY=; b=GRxJ88AKlIRSWsV7vuv9zDo3oQHonMybmLM5mhzKWn2dWFsFxzZ3L1z+j0+PI3ZU/d OUIjAIiys80LteDCDGresnLF+Il6F8HwvyWMvGfiRCbxT1vrki3wKtbpIqFJcfIrPb2x 27k+uq1X9OUvjwBfpJ8a2hShUA5gqf9c7hAXhGP+8/soMsB4mpFCPH/03iU2NNdFBU7K r6ISa3Z89fWcBEnGxfBGWpbud3Cu+d9KaWchzsVu0Vyn5k4ZiFy5XD2DaSMPLcg20ko5 J4jUKYnubqcJtw0MzebBYAJ0e5kFALm1wAKh5KlydDYL7a6jcLXbGserssXW/mxEFEu0 K0LA== X-Gm-Message-State: AOJu0YzKPZFuwcQi+3idGYDA7BWRD9Zn6z8YTg8YfvbUOgF7DNdRe66f AwUxHsMhSHo4JkpQG6rMTDH+Byw+4Vz7QA== X-Google-Smtp-Source: AGHT+IFBTeEqMNEYcYaexMjli0lz0Q41CEOXsMgNHlGe9ISROjSAvaDvmuSKp30HOybuqKRVkz44Cg== X-Received: by 2002:a17:906:3d29:b0:9a1:c42e:5e5e with SMTP id l9-20020a1709063d2900b009a1c42e5e5emr7405270ejf.42.1695047790687; Mon, 18 Sep 2023 07:36:30 -0700 (PDT) Received: from Pro.fritz.box (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id tz6-20020a170907c78600b009adc77fe165sm5396998ejc.118.2023.09.18.07.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:36:30 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Stefan Monnier Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: (Stefan Monnier's message of "Sun, 17 Sep 2023 15:10:35 -0400") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> Date: Mon, 18 Sep 2023 16:36:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (-) Stefan Monnier writes: >> I don't remember doing that, but I'll try to reproduce this somehow. I >> tried it just now with a simple recipe but that didn't trigger the >> checks in my init.el. Have to read the code that does that reloading, I >> guess. > > grep 'Fload (' src/*.c > > should get you started. Caught the sucker :-). I think your intuition was right. This is Emacs.app, with my init.el. I simply did a C-c, which-key kicked in, calls documentation, and here we are... Debugger entered: nil (progn (debug)) (if (and (vectorp key) (eq (aref key 0) 'f2)) (progn (debug))) (let ((key (car (cdr args)))) (if (and (vectorp key) (eq (aref key 0) 'f2= )) (progn (debug)))) (progn (let ((key (car (cdr args)))) (if (and (vectorp key) (eq (aref key= 0) 'f2)) (progn (debug))))) (if (eq (car args) global-map) (progn (let ((key (car (cdr args)))) (if (= and (vectorp key) (eq (aref key 0) 'f2)) (progn (debug)))))) my-watch-f2((keymap #^[nil nil keymap=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] #^^[1 = 0 #^^[2 0=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...]=20 #^^[3 128 self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command switch-to-buffer self-ins= ert-command self-insert-command self-insert-command self-insert-command ...= ] self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d] self-insert-command self-insert-command self-insert-command self-insert-= command self-insert-command self-insert-command self-insert-command self-in= sert-command self-insert-command self-insert-command self-insert-command se= lf-insert-command self-insert-command self-insert-command self-insert-comma= nd] self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] (C-dra= g-mouse-1 . ignore) (s-down . end-of-buffer) (s-up . beginning-of-buffer) (= C-tab . other-window) (33554458 . undo-redo) (67108899 . embark-act) (S-mou= se-3 . kmacro-end-call-mouse) (C-mouse-5 . mouse-wheel-text-scale) (C-mouse= -4 . mouse-wheel-text-scale) (C-wheel-down . mouse-wheel-text-scale) (C-whe= el-up . mouse-wheel-text-scale) (C-M-mouse-5 . mouse-wheel-global-text-scal= e) (C-M-mouse-4 . mouse-wheel-global-text-scale) (C-M-wheel-down . mouse-wh= eel-global-text-scale) (C-M-wheel-up . mouse-wheel-global-text-scale) (M-mo= use-7 . mwheel-scroll) (M-mouse-6 . mwheel-scroll) (M-mouse-5 . mwheel-scro= ll) (M-mouse-4 . mwheel-scroll) (M-wheel-right . mwheel-scroll) (M-wheel-le= ft . mwheel-scroll) (M-wheel-down . mwheel-scroll) (M-wheel-up . mwheel-scr= oll) (S-mouse-7 . mwheel-scroll) (S-mouse-6 . mwheel-scroll) (S-mouse-5 . m= wheel-scroll) (S-mouse-4 . mwheel-scroll) (S-wheel-right . mwheel-scroll) (= S-wheel-left . mwheel-scroll) (S-wheel-down . mwheel-scroll) (S-wheel-up . = mwheel-scroll) (mouse-7 . mwheel-scroll) (mouse-6 . mwheel-scroll) (mouse-5= . mwheel-scroll) (mouse-4 . mwheel-scroll) (wheel-right . mwheel-scroll) .= ..) [f2] 2C-command) apply(my-watch-f2 ((keymap #^[nil nil keymap=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] #^^[1 = 0 #^^[2 0=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...]=20 #^^[3 128 self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command switch-to-buffer self-ins= ert-command self-insert-command self-insert-command self-insert-command ...= ] self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d] self-insert-command self-insert-command self-insert-command self-insert-= command self-insert-command self-insert-command self-insert-command self-in= sert-command self-insert-command self-insert-command self-insert-command se= lf-insert-command self-insert-command self-insert-command self-insert-comma= nd] self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] (C-dra= g-mouse-1 . ignore) (s-down . end-of-buffer) (s-up . beginning-of-buffer) (= C-tab . other-window) (33554458 . undo-redo) (67108899 . embark-act) (S-mou= se-3 . kmacro-end-call-mouse) (C-mouse-5 . mouse-wheel-text-scale) (C-mouse= -4 . mouse-wheel-text-scale) (C-wheel-down . mouse-wheel-text-scale) (C-whe= el-up . mouse-wheel-text-scale) (C-M-mouse-5 . mouse-wheel-global-text-scal= e) (C-M-mouse-4 . mouse-wheel-global-text-scale) (C-M-wheel-down . mouse-wh= eel-global-text-scale) (C-M-wheel-up . mouse-wheel-global-text-scale) (M-mo= use-7 . mwheel-scroll) (M-mouse-6 . mwheel-scroll) (M-mouse-5 . mwheel-scro= ll) (M-mouse-4 . mwheel-scroll) (M-wheel-right . mwheel-scroll) (M-wheel-le= ft . mwheel-scroll) (M-wheel-down . mwheel-scroll) (M-wheel-up . mwheel-scr= oll) (S-mouse-7 . mwheel-scroll) (S-mouse-6 . mwheel-scroll) (S-mouse-5 . m= wheel-scroll) (S-mouse-4 . mwheel-scroll) (S-wheel-right . mwheel-scroll) (= S-wheel-left . mwheel-scroll) (S-wheel-down . mwheel-scroll) (S-wheel-up . = mwheel-scroll) (mouse-7 . mwheel-scroll) (mouse-6 . mwheel-scroll) (mouse-5= . mwheel-scroll) (mouse-4 . mwheel-scroll) (wheel-right . mwheel-scroll) .= ..) [f2] 2C-command)) define-key((keymap #^[nil nil keymap=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] #^^[1 = 0 #^^[2 0=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom newline next-line open-line previous-line quoted-inse= rt isearch-backward isearch-forward transpose-chars universal-argument scro= ll-up-command kill-region Control-X-prefix yank undo ESC-prefix toggle-inpu= t-method abort-recursive-edit nil undo self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...]=20 #^^[3 128 self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command self-insert-command self-= insert-command self-insert-command self-insert-command self-insert-command = self-insert-command self-insert-command self-insert-command self-insert-com= mand self-insert-command self-insert-command self-insert-command self-inser= t-command self-insert-command self-insert-command switch-to-buffer self-ins= ert-command self-insert-command self-insert-command self-insert-command ...= ] self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command self-insert-command self-insert-command self-insert-c= ommand self-insert-command self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d] self-insert-command self-insert-command self-insert-command self-insert-= command self-insert-command self-insert-command self-insert-command self-in= sert-command self-insert-command self-insert-command self-insert-command se= lf-insert-command self-insert-command self-insert-command self-insert-comma= nd] self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command self-insert= -command self-insert-command self-insert-command self-insert-command self-i= nsert-command self-insert-command self-insert-command self-insert-command s= elf-insert-command self-insert-command self-insert-command self-insert-comm= and self-insert-command self-insert-command self-insert-command ...] (C-dra= g-mouse-1 . ignore) (s-down . end-of-buffer) (s-up . beginning-of-buffer) (= C-tab . other-window) (33554458 . undo-redo) (67108899 . embark-act) (S-mou= se-3 . kmacro-end-call-mouse) (C-mouse-5 . mouse-wheel-text-scale) (C-mouse= -4 . mouse-wheel-text-scale) (C-wheel-down . mouse-wheel-text-scale) (C-whe= el-up . mouse-wheel-text-scale) (C-M-mouse-5 . mouse-wheel-global-text-scal= e) (C-M-mouse-4 . mouse-wheel-global-text-scale) (C-M-wheel-down . mouse-wh= eel-global-text-scale) (C-M-wheel-up . mouse-wheel-global-text-scale) (M-mo= use-7 . mwheel-scroll) (M-mouse-6 . mwheel-scroll) (M-mouse-5 . mwheel-scro= ll) (M-mouse-4 . mwheel-scroll) (M-wheel-right . mwheel-scroll) (M-wheel-le= ft . mwheel-scroll) (M-wheel-down . mwheel-scroll) (M-wheel-up . mwheel-scr= oll) (S-mouse-7 . mwheel-scroll) (S-mouse-6 . mwheel-scroll) (S-mouse-5 . m= wheel-scroll) (S-mouse-4 . mwheel-scroll) (S-wheel-right . mwheel-scroll) (= S-wheel-left . mwheel-scroll) (S-wheel-down . mwheel-scroll) (S-wheel-up . = mwheel-scroll) (mouse-7 . mwheel-scroll) (mouse-6 . mwheel-scroll) (mouse-5= . mwheel-scroll) (mouse-4 . mwheel-scroll) (wheel-right . mwheel-scroll) .= ..) [f2] 2C-command) global-set-key([f2] 2C-command) byte-code("\300\301\302\"\210\303\304\305\306\307\310%\210\311\312\304\"\= 210\311\313\304\"\207" [register-definition-prefixes "tv-util" ("tai-viet-"= ) autoload 2C-command "two-column" nil t keymap global-set-key "\0306" [f2]= ] 6) documentation(duplicate-dwim) which-key--propertize-description("duplicate-dwim" nil nil nil "duplicate= -dwim") which-key--format-and-replace((("C-c #" . "embark-act") ("C-c &" . "prefi= x") ("C-c d" . "duplicate-dwim") ("C-c g" . "my-grab-bag") ("C-c k" . "lamb= da") ("C-c m" . "magit-file-dispatch") ("C-c o" . "mode-line-other-buffer")= ("C-c v" . "prefix") ("C-c C-b" . "elisp-byte-compile-buffer") ("C-c C-e" = . "elisp-eval-region-or-buffer") ("C-c C-f" . "elisp-byte-compile-file") ("= C-c C-k" . "lambda") ("C-c C-o" . "mode-line-other-buffer") ("C-c " . = "company-complete")) nil) which-key--get-bindings([3] nil nil) which-key--create-buffer-and-show([3]) which-key--update() apply(which-key--update nil) timer-event-handler([t 0 1 0 t which-key--update nil idle 0 nil]) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 10:42:37 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 14:42:37 +0000 Received: from localhost ([127.0.0.1]:53995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFSP-00075P-4e for submit@debbugs.gnu.org; Mon, 18 Sep 2023 10:42:37 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:44473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFSL-000753-Gu for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 10:42:35 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-31c65820134so4107932f8f.1 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 07:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695048139; x=1695652939; 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=ykL5VgCBFybIATyqDTA1dI6pexBnOekzFgRon3sfC70=; b=eF/TmR+NbjM0hJHy1G+7NUEq8NkYhsc4xR7QUdGsGPj6jetJ/AUnWu05mcmNGXN2oV ADUtiCs2jUju2v/Oe2QVBwR4ZyzO4TbBQHBQbLgs6x5ZjKZ1DCA7QAonRFealC3u2d3P dUvURbVx+wKRieuxSdRBSMm3/d6CbpcNYVAAcNJPiBmdNFv8SMYOH9wTptlahgsOQDpy ExY/ieTErZOanahf9UfPJGtacHnPDkz7ODiogKHnI9aszhCbOHYfKbgaRHeOA7pvDAov Kjj/HOChhtfSU6kVNUqCrWExvaWtoYpENzTEISBjwxNWdV1gnWrEeMo24IDl9mhCLgs3 n0UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695048139; x=1695652939; 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=ykL5VgCBFybIATyqDTA1dI6pexBnOekzFgRon3sfC70=; b=PL8dKm9vvAxOk3oJFZUQBRfZ3s3NGKe/giGQ89C6Vjb6JmmDnpQywwBfKdqfYzPzLd Vi/ZSqpwIXCVXP7IomOaAeA4oChzwh0LaN2ftDTpo8tGw6Ah54ri2INyTyvFPuZfjRpo xk7aYnkd1ivpuS9Q1LlmMw42t5Nqzjem91HasF7ONIwkvkmnM5dFB/jA2INfIlWiYBia uskPf3tV5h9GPWhvsX0aFt8/6JvKsVj+hotviMn6o3FwYb71a5RgkwmOXYMRpwMjqwA/ kHDxD0ZicE7Sl7dYvQxKCgyh7YyLwIH1W9cDGNstI6rjj8YXka0mRP5b6p3rPL0iVoZ3 pslg== X-Gm-Message-State: AOJu0YxxmDo3Rc76CBZA1e8jJFietft/6rOspa1YpjUSc12fQXquYpHL yxJcqAiKZARgnMIMmyAYxxbgk8lIXZz60A== X-Google-Smtp-Source: AGHT+IHNEoXw6yykwMF11ZbxNoGT9B+jqc71RJFjWQ2s2T2+ptYIebmGlm/a6Q3ZIxc+DnpvBbFQBg== X-Received: by 2002:adf:ed88:0:b0:31a:e8e6:8a96 with SMTP id c8-20020adfed88000000b0031ae8e68a96mr6903911wro.67.1695048138748; Mon, 18 Sep 2023 07:42:18 -0700 (PDT) Received: from Pro.fritz.box (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id j21-20020a170906831500b009ad87d1be17sm6522495ejx.22.2023.09.18.07.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:42:18 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Stefan Monnier Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Mon, 18 Sep 2023 16:36:28 +0200") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> Date: Mon, 18 Sep 2023 16:42:17 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (-) Gerd M=C3=B6llmann writes: > Stefan Monnier writes: > >>> I don't remember doing that, but I'll try to reproduce this somehow. I >>> tried it just now with a simple recipe but that didn't trigger the >>> checks in my init.el. Have to read the code that does that reloading, I >>> guess. >> >> grep 'Fload (' src/*.c >> >> should get you started. > > Caught the sucker :-). I think your intuition was right. Here's the backtrace from the second watchdog, the one watching loaddefs being loaded Debugger entered: nil (if my-debug-on-loaddefs (debug) (setq my-debug-on-loaddefs t)) my-debug-on-loaddefs() (lambda nil (my-debug-on-loaddefs))() eval-after-load-helper("/Applications/Emacs.app/Contents/Resources/lisp/l= o...") run-hook-with-args(eval-after-load-helper "/Applications/Emacs.app/Conten= ts/Resources/lisp/lo...") do-after-load-evaluation("/Applications/Emacs.app/Contents/Resources/lisp= /lo...") documentation(duplicate-dwim) which-key--propertize-description("duplicate-dwim" nil nil nil "duplicate= -dwim") which-key--format-and-replace((("C-c #" . "embark-act") ("C-c &" . "prefi= x") ("C-c d" . "duplicate-dwim") ("C-c g" . "my-grab-bag") ("C-c k" . "lamb= da") ("C-c m" . "magit-file-dispatch") ("C-c o" . "mode-line-other-buffer")= ("C-c v" . "prefix") ("C-c C-b" . "elisp-byte-compile-buffer") ("C-c C-e" = . "elisp-eval-region-or-buffer") ("C-c C-f" . "elisp-byte-compile-file") ("= C-c C-k" . "lambda") ("C-c C-o" . "mode-line-other-buffer") ("C-c " . = "company-complete")) nil) which-key--get-bindings([3] nil nil) which-key--create-buffer-and-show([3]) which-key--update() apply(which-key--update nil) timer-event-handler([t 0 1 0 t which-key--update nil idle 0 nil]) and here is the code I have in my init.el (defun my-watch-f2 (&rest args) (when (eq (car args) global-map) (let ((key (cl-second args))) (when (and (vectorp key) (eq (aref key 0) 'f2)) (debug))))) (add-hook 'after-init-hook (lambda () (add-function :after (symbol-function 'define-key) #'my-watch-f2))) (defvar my-debug-on-loaddefs nil) (defun my-debug-on-loaddefs () (if my-debug-on-loaddefs (debug) (setq my-debug-on-loaddefs t))) (with-eval-after-load 'loaddefs (my-debug-on-loaddefs)) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 10:52:28 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 14:52:28 +0000 Received: from localhost ([127.0.0.1]:54004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFbv-0007Wc-TS for submit@debbugs.gnu.org; Mon, 18 Sep 2023 10:52:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFbt-0007WH-Cg for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 10:52:26 -0400 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 1qiFbf-0004ie-5a; Mon, 18 Sep 2023 10:52:11 -0400 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=RdQMrk5Bu1z5nuHOsajoOMPFb67FFYo6mKg675dni04=; b=Cy7uoSA26z2Lk3puaqhd BBqJh0XuRIZ98UUOBWYkR1LWQuyHJ0IuBpxR2JaJO8Fn0FfmHrqOxJgwU6cVTjSHXjHwg//BM1XIU drIxX6y+Mx4oKOiZAQ58gWglVUj5vSBNmKPiiLlErEIRQUDKpaGtZWpNDwswrlFeKDycQp5wi+WEd 6wlVsyKWpjPzvfPdoKSgJnN12Mv2xer1kxwKxOOlKTb4OvI39nPbAy00cNZYCz8aHHKtDTfW3dBbh xuCfl3a4upft9ftboykFnOkvv69CUo1BCzwi6cOmjwxld3tJx4vw+mmX58QCYfqm1sgsl8z9737dh EBFrr0KYk/RprA==; Date: Mon, 18 Sep 2023 17:52:10 +0300 Message-Id: <83o7hzedph.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 18 Sep 2023 16:42:17 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@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: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: Eli Zaretskii , 66022@debbugs.gnu.org > Date: Mon, 18 Sep 2023 16:42:17 +0200 > > Here's the backtrace from the second watchdog, the one watching loaddefs > being loaded > > Debugger entered: nil > (if my-debug-on-loaddefs (debug) (setq my-debug-on-loaddefs t)) > my-debug-on-loaddefs() > (lambda nil (my-debug-on-loaddefs))() > eval-after-load-helper("/Applications/Emacs.app/Contents/Resources/lisp/lo...") > run-hook-with-args(eval-after-load-helper "/Applications/Emacs.app/Contents/Resources/lisp/lo...") > do-after-load-evaluation("/Applications/Emacs.app/Contents/Resources/lisp/lo...") > documentation(duplicate-dwim) Any idea why a call to 'documentation' loads loaddefs? Did you indeed "hack the Emacs you were running"? From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 10:57:16 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 14:57:17 +0000 Received: from localhost ([127.0.0.1]:54008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFga-0007hE-Jj for submit@debbugs.gnu.org; Mon, 18 Sep 2023 10:57:16 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:46385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFgU-0007gs-VN for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 10:57:14 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-532784c8770so235558a12.1 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 07:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695049016; x=1695653816; 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=zldQgMeMUxjR3voINK5guE3vbZdaelKZOwgzJYZToDM=; b=ao/4qi5dda6LKdp8jhCSWAY3plzh6j6t9DBByy2rd1g1nc2DcnVqIRMe+kPvgi1anj rsvUwBzG+ER2qOm5oFkwPJctfIF8ZEYsq3RL9vz466/l73iJxRajFhqnwuvgnWelitcX mEU22WgWbjpSOc+M7ee8mjL0cwdzC9CFMXE8FrbREehUIS+jca5MHkZhnUJeJsMv/93q qQZ833T3qsZKlL70OKLAFHoBCk3u9pJDtSowT1Jml6Zn45JTMTPq047xxenBq/T013D+ eoNFMz4FgEpmQd6s/qNz3sJ5JssxZ+vYtfVReJKbtwB6RuFIF7DG8gQgm9WwpOGBhOQP NhSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695049016; x=1695653816; 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=zldQgMeMUxjR3voINK5guE3vbZdaelKZOwgzJYZToDM=; b=DqolUehLcc7LOtWX+uqJHE0GVOfnPh96UHSaiRg+QHRUKLLQcgijVIUCEp317YLVQQ kh1FTOrMDvq63NqzpV1hXC1QOFq9iu0bjA5W+JO+Vb6GYeLVy4vdhFutUWMzX9lDRsEy Ybv5U5P2CvHiywf+kiC+PLl/e1Aj09+9IQNDlYVIUqaSODVyH2n09fX32YES9PPMI01K ZbaYmcD/JWFxfLljAzTBYaNRI8MKaE+AREtfHOqk6PMOZ2Xhv7H0fD1nc83r0j9pmxEV opU9uDDmG2X+Afjh/FwDR2RGPgr1KB9/cFlKWm0UFeFyNbp+MvAYvMceNc5dvGXwhHaC d25A== X-Gm-Message-State: AOJu0YyA84Do9Qs782GkHIwO8JOfedeR2zzgSzHyMakPlQepafw1p9X8 nLwQyqnBw4Z076v+PQAWNUrOUg1XyLXS/A== X-Google-Smtp-Source: AGHT+IFB9afCwqj9l1sntky87LbPuu7p/Xt/FfQB+bkasGs5/Wntr2+61TppH7LRmZAmA+A19ZYhGA== X-Received: by 2002:aa7:dad8:0:b0:530:74ed:fc85 with SMTP id x24-20020aa7dad8000000b0053074edfc85mr7719741eds.3.1695049016578; Mon, 18 Sep 2023 07:56:56 -0700 (PDT) Received: from Pro.fritz.box (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id by6-20020a0564021b0600b0052a198d8a4dsm6060308edb.52.2023.09.18.07.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:56:56 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <83o7hzedph.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Sep 2023 17:52:10 +0300") References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> Date: Mon, 18 Sep 2023 16:56:55 +0200 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.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd M=C3=B6llmann >> Cc: Eli Zaretskii , 66022@debbugs.gnu.org >> Date: Mon, 18 Sep 2023 16:42:17 +0200 >>=20 >> Here's the backtrace from the second watchdog, the one watching loaddefs >> being loaded >>=20 >> Debugger entered: nil >> (if my-debug-on-loaddefs (debug) (setq my-debug-on-loaddefs t)) >> my-debug-on-loaddefs() >> (lambda nil (my-debug-on-loaddefs))() >> eval-after-load-helper("/Applications/Emacs.app/Contents/Resources/lis= p/lo...") >> run-hook-with-args(eval-after-load-helper "/Applications/Emacs.app/Con= tents/Resources/lisp/lo...") >> do-after-load-evaluation("/Applications/Emacs.app/Contents/Resources/l= isp/lo...") >> documentation(duplicate-dwim) > > Any idea why a call to 'documentation' loads loaddefs? Did you indeed > "hack the Emacs you were running"? No idea, and I didn't hack it at all. This was a minute after I started a newly-build Emacs, wondered why a C-c C-k binding didn't work. I then pressed C-c alone to see what it is bound to, with which-key. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 11:09:23 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 15:09:23 +0000 Received: from localhost ([127.0.0.1]:54039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFsI-0008Cc-PY for submit@debbugs.gnu.org; Mon, 18 Sep 2023 11:09:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiFsE-0008C6-Pk for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 11:09:21 -0400 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 1qiFs0-0008Su-MB; Mon, 18 Sep 2023 11:09:04 -0400 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=L8CfwioXxhr1H7XqZ2p07Lj6hnkNa/aWCSXQduKQ5X0=; b=Gr6uJNlY4JCuAnQjHaG3 o3r9INUyuo9Eo2lXaee6IzC5zLaUPho0zMiJaNGn8M3QFr3wqityGEWwlf92oXW72m9zGML50rSz3 xmcA80JUuC5acyxuzbhpMGY0OSAK/+SMsup7wJ8GGDKE9mCnBbqXLF6Ou7CujTj375BN23s/e28Jp M1iNKzQQ+kmyKSGWy9bcs6cnc1Nja/Wds2kIpblLdfBLaWeOOjBwlpz8NuyGRF2iaDRMHVCU6VkVa 4pq/zw6M+HGkujCoTc+Og3wPLjgPTODyMdXYtt6eRpEbJ3PsbSPPoRFa9t6dZgPrznuVutAf73ddK MXHNZv5mPA4Mdg==; Date: Mon, 18 Sep 2023 18:09:03 +0300 Message-Id: <83led3ecxc.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 18 Sep 2023 16:56:55 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Mon, 18 Sep 2023 16:56:55 +0200 > > Eli Zaretskii writes: > > > Any idea why a call to 'documentation' loads loaddefs? Did you indeed > > "hack the Emacs you were running"? > > No idea, and I didn't hack it at all. This was a minute after I started > a newly-build Emacs, wondered why a C-c C-k binding didn't work. I > then pressed C-c alone to see what it is bound to, with which-key. So I think this now becomes the main question. If this is not a bug, i.e. if loaddefs can legitimately be loaded mid-session, we cannot autoload key bindings, at least not naïvely as we do now. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 11:18:57 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 15:18:57 +0000 Received: from localhost ([127.0.0.1]:54077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiG1Z-00007q-6l for submit@debbugs.gnu.org; Mon, 18 Sep 2023 11:18:57 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:56504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiG1V-00007T-3U for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 11:18:55 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2bff7d81b5eso29552101fa.0 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 08:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695050318; x=1695655118; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fakEdDRdye25yA/g9/8DM85nlL7VkXPPOwYyjORNz/w=; b=ESCLx+lmwdgBBPhv+I9dpz1rmY1N8LXudfSvpYUrrd/jqsX7QC+VO3D0txJ7XKqgUD 4JCGyE/DcyQQNeVg4PoCKyS4j29pMkEUI1JfAmEK34pFql3fjVOgVhwjDTFPSXTEvU3W VQVGDrglbib57JHOVqrTsV5Qom/xK8DoWJV+ne1FikU7C9O3wW66DYdUFdYibWVhKfey QQNTTErugXPKBOqB6XZI3gn205Xfl1o7Lrf07W0lfDiW1L1R9wNuYKjiGYpgE1m9oB0x 7lo7lSujMHOFsB8Yz9iZ2fHSTr83E12Czm4x3VolAhR9MhHw6OMFIyy4HUuKlpK1LkmA A12g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695050318; x=1695655118; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fakEdDRdye25yA/g9/8DM85nlL7VkXPPOwYyjORNz/w=; b=ml10giw+IJ61fHhy7201D0IszBviZnU/ijM5D20/JUTJyy2oZBvkmZbeEjczNDbhB7 WV4bNx10X9pWKcQXOP+L0Y0rsq1GoJzj215e3GQS/zMGCEagxeBXvmnG1mQfzYv9XsPY xv0ywuAToNg+KcLa38jK8vYo+47iw7bFlgs5aaF+lqYqIGx/0z5QVj6VNofk0ft8F/NJ YqHiqJQ4aEhu29wx+Zjdel/kh3fekNBb434BsGu+nHZkIKTDL30etWUYpHcDBraEJYsr X4I4ujirZ0lWeZ25InNsgKII/tEptlKDbCXwU9TXppdzgdi17Vi4xFbCpvTQKHDO5E+l uxew== X-Gm-Message-State: AOJu0YyqPigCQxfruyUyRdA59+ZHaOuC7aVeNJmye+Ddd03ocEB9bd1B Fw3+x3rXtizM6gNFdWTKAyM= X-Google-Smtp-Source: AGHT+IFDHvXj2ZasXjNP9ndlmK6J2H8gENXXiHuWZfSRTEC9yiPK+Kb/f9wjZHW4zK1Ahu+kHxaOag== X-Received: by 2002:a2e:9297:0:b0:2bc:fc2e:7671 with SMTP id d23-20020a2e9297000000b002bcfc2e7671mr7264467ljh.13.1695050317906; Mon, 18 Sep 2023 08:18:37 -0700 (PDT) Received: from [192.168.178.26] (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id uz3-20020a170907118300b009ad8acac02asm6731223ejb.172.2023.09.18.08.18.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 08:18:37 -0700 (PDT) Message-ID: Date: Mon, 18 Sep 2023 17:18:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Eli Zaretskii References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wM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vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: <83led3ecxc.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-18 17:09 , Eli Zaretskii wrote: >> From: Gerd Möllmann Cc: >> monnier@iro.umontreal.ca, 66022@debbugs.gnu.org Date: Mon, 18 Sep >> 2023 16:56:55 +0200 >> >> Eli Zaretskii writes: >> >>> Any idea why a call to 'documentation' loads loaddefs? Did you >>> indeed "hack the Emacs you were running"? >> >> No idea, and I didn't hack it at all. This was a minute after I >> started a newly-build Emacs, wondered why a C-c C-k binding didn't >> work. I then pressed C-c alone to see what it is bound to, with >> which-key. > > So I think this now becomes the main question. If this is not a > bug, i.e. if loaddefs can legitimately be loaded mid-session, we > cannot autoload key bindings, at least not naïvely as we do now. Another observation: when I start emacs from its source directory master/src, and not as bundle, i.e. by® clicking on Emacs.app in the dock, this doesn't happen. One difference in the two scenarios is that Emacs.app contains gzip'd el files. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 11:25:39 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 15:25:39 +0000 Received: from localhost ([127.0.0.1]:54097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiG83-0000OF-4K for submit@debbugs.gnu.org; Mon, 18 Sep 2023 11:25:39 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:51543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiG7z-0000Nw-U2 for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 11:25:37 -0400 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9aa2c6f0806so610951566b.3 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 08:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695050722; x=1695655522; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=W35kC4Np0hHEZwfGy3EB6SuNWSEOB3CqRMFbhP/YUuA=; b=O5Q9q8ydaFJj6T6Nn5wbh/XOwTQm8SDDVNn6Z7ZDvhl3S4S7oMvS7qiitncrvRDD7z 30NihPNtc9SttWS/tjB915PxofbB/dEr3gLdH5o4xrFyt4Xpag+RxDjcKB5GzzziLzGJ ha6EVi/SGe74Ux3sbDhxILYGR3XnKmtCLIR2vWmDuF9CjiTWONT0NVhLzL/l1JuCAQ7D zONCuzKTcOcZJwKIdPXPRyT96Nz5qrB8lWTYRYVEnkAfpJBZn2VQqn/HYnI3ZezRRd/X 69TX3Q5yxwVa9jwjQ0GNFkcpacWfHrL5OpQctlMKbvOdbM6ugUb0qdndDeN+eb1pMRog 6PaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695050722; x=1695655522; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W35kC4Np0hHEZwfGy3EB6SuNWSEOB3CqRMFbhP/YUuA=; b=k56hEViv3DNXCYZY6hTQnqQ0RoGGeKV4Yr8HAP9dSSpBfDxfwKINnOKWliEDNu0m1x HQl+Cv/SrILHXtuHxvAKkOM/0k6oSgkQ9V+gKOhxtaWFUqK4q+LubKxh0zscFMqH8Bh9 1h+SVLa3WzewhHAN8UHtyhKB0YfV5XauDe+mtH3XOW6PCiTxpGfflECkXHHXB5oD3Op7 81BzFAJWbAX4cbL7op5hJFg/qdrQVEyJrROvVAF4D6bemrWNaSl7AXZjQRvDocmNqTgU esIQJ+04Zp4qT/UAMZcBfk7i8mpENd6/llB8BZUCcL/2jMcKLy6kGq5qaTTBFdRdb7Ku Gogw== X-Gm-Message-State: AOJu0YzyK4meuvg9NuiqmlXiZYA1tkQwX4mqSEYySdn97urFOFSzJKrn Aq8Hd5QGG6KxJRzxVvTnuXSrAe86Qqomkw== X-Google-Smtp-Source: AGHT+IG+fZ17wu6oobqZ3FI+lHBaA/XfxpWmJmaopT0od7XHkhqag5thUw+3nIMd3uzGmCcFi2qhMw== X-Received: by 2002:a17:906:748b:b0:9a1:914e:490e with SMTP id e11-20020a170906748b00b009a1914e490emr9611192ejl.53.1695050721665; Mon, 18 Sep 2023 08:25:21 -0700 (PDT) Received: from [192.168.178.26] (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id jx13-20020a170907760d00b009ade1a4f78dsm4320765ejc.163.2023.09.18.08.25.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 08:25:21 -0700 (PDT) Message-ID: <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> Date: Mon, 18 Sep 2023 17:25:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wMq/9d6S2EckCZAnH7R1romvtJhcse+uz tB2nyqxvCwMzZ28RrJiXkR4QIMSJi1ZMHU0dFQlkwZ/sRN0asQARAQABzSlHZXJkIE3Dtmxs bWFubiA8Z2VyZC5tb2VsbG1hbm5AZ21haWwuY29tPsLBlAQTAQoAPhYhBIq2Hj6Yk/Nh45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BwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-18 17:18 , Gerd Möllmann wrote: > On 23-09-18 17:09 , Eli Zaretskii wrote: >>> From: Gerd Möllmann Cc: >>> monnier@iro.umontreal.ca,  66022@debbugs.gnu.org Date: Mon, 18 Sep >>> 2023 16:56:55 +0200 >>> >>> Eli Zaretskii writes: >>> >>>> Any idea why a call to 'documentation' loads loaddefs?  Did you >>>> indeed "hack the Emacs you were running"? >>> >>> No idea, and I didn't hack it at all.  This was a minute after I >>> started a newly-build Emacs, wondered why a C-c C-k binding didn't >>> work.  I then pressed C-c alone to see what it is bound to, with >>> which-key. >> >> So I think this now becomes the main question.  If this is not a >> bug, i.e. if loaddefs can legitimately be loaded mid-session, we >> cannot autoload key bindings, at least not naïvely as we do now. > > Another observation: when I start emacs from its source directory > master/src, and not as bundle, i.e. by® clicking on Emacs.app in the > dock, this doesn't happen. > > One difference in the two scenarios is that Emacs.app contains gzip'd el > files. ~/emacs/master/ > ls -l /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 /Applications/Emacs.app/Contents/Resource Note the timestamps. Is that good or bad? From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 12:25:03 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 16:25:03 +0000 Received: from localhost ([127.0.0.1]:54238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiH3X-0004rO-9P for submit@debbugs.gnu.org; Mon, 18 Sep 2023 12:25:03 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:9304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiH3V-0004qp-Ex for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 12:25:01 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B21C64428CB; Mon, 18 Sep 2023 12:24:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695054286; bh=JtwtVWFVR1v9ipYC+k8edY9i1Cc6THLAs5kfbq0+C6w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VOfq0K9TCmUNThVdKPqCJ60LGq7Rh21oIz9Tr4wCfOuKRPm5LM3J1dTq8gQzb+iME Thn4DDTIHmtm2ceTa9kWW95vGaT1t413pyJzd6+GKUOXd0D7aLLHpFsaDyej+i7FSf XUKCZqzsEjsLVuq6ToN+SZmOUY21FH8dPL8834RHoTBrc2An2G2YsUrbFlzbZuve1I lvFKdB2XrMA1LO4F7tCTIlKqrVUNn7HriZqS1CGXK9jnmSUqrHywWoSxUM2XbRlouW B0+mg21STR/hoBdaIiJ0WC+wreQsJ/eU7+7kQ3mkhPMSdxlMySuQ2MtLir2s0ioFkc IjoOPfxkoZXYg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 874054428C9; Mon, 18 Sep 2023 12:24:46 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 76255120370; Mon, 18 Sep 2023 12:24:46 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?windows-1252?Q?M=F6ll?= =?windows-1252?Q?mann=22's?= message of "Mon, 18 Sep 2023 16:56:55 +0200") Message-ID: References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> Date: Mon, 18 Sep 2023 12:23:31 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.115 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) >> Any idea why a call to 'documentation' loads loaddefs? Did you indeed >> "hack the Emacs you were running"? > No idea, and I didn't hack it at all. This was a minute after I started > a newly-build Emacs, wondered why a C-c C-k binding didn't work. Hmm... sounds like we have a real bug, then! Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 12:26:45 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 16:26:45 +0000 Received: from localhost ([127.0.0.1]:54244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiH5A-0004uM-LA for submit@debbugs.gnu.org; Mon, 18 Sep 2023 12:26:45 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiH4w-0004tt-Pb for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 12:26:43 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1A4F2806AC; Mon, 18 Sep 2023 12:26:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695054375; bh=dbbtOLEu976w2XvU6z6MERVxQM6fI1+zqPGQsIoUgWU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FvlkqEUbTHdbfdzwwd/+NhuLsbmamq0aPr1h6EpsxLKssS9Wnkz5rs4WsstvNLeJt 1FWfdRqLGTZ6NYp3L5gnrkq5zdnrf2vNCL1AdJQhChx19h6yPQW5jnX/8ZbwXfndz1 z7z3L3YzOs2aGXjYX24dRAJ6xPLqB7FKl9SprZzmezPrl+FflwUz71pu/pSNFgG7kL dz+rWlv6k78VmhPC6qI/gV4znfR1c92i5I3PKma2WGQids3X2yc88EdXgxAyT4JtNP sNbvaUUcDrMiOlEG6V3Fap2gptU87mV34/b/TgdzTGEZDSg3pSdJOsGHqZRuRmh7tK RAMaWBq2jXauw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CA2B2803EB; Mon, 18 Sep 2023 12:26:15 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BA22D12037B; Mon, 18 Sep 2023 12:26:15 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> ("Gerd =?windows-1252?Q?M=F6llmann=22's?= message of "Mon, 18 Sep 2023 17:25:20 +0200") Message-ID: References: <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> Date: Mon, 18 Sep 2023 12:25:00 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) > ~/emacs/master/ > ls -l > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* > -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz > -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 > /Applications/Emacs.app/Contents/Resource Hmm... shouldn't there be a `loaddefs.elc` file in there? Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 12:33:40 2023 Received: (at submit) by debbugs.gnu.org; 18 Sep 2023 16:33:40 +0000 Received: from localhost ([127.0.0.1]:54251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHBs-0007nU-4a for submit@debbugs.gnu.org; Mon, 18 Sep 2023 12:33:40 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHBk-0007mu-Kq for submit@debbugs.gnu.org; Mon, 18 Sep 2023 12:33:36 -0400 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 1qiHBW-0000Wk-Oe for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 12:33:18 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiHBV-0001xF-4s; Mon, 18 Sep 2023 12:33:18 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50308217223so3006180e87.3; Mon, 18 Sep 2023 09:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695054795; x=1695659595; darn=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=M4KxM0sVd1h/VlvIVdezqL7fpJHSEfuCeO8CQlFWdTE=; b=BKpRBya4Zu9ApaZKTNp+R21dCD/JG09q/E4GqW+wnkdHCopkQxlBnRw+Add97Jposb JRpgt234/2/Uj9QMRr1XzDfNybYgAVFzsILb4UQ/BfSojm/WjqxP/o8hVgtFAc2fN7zp Z+9dZ1Ov2tBpNAid7v8/xvBxiQsV3kUKyN/2gSADQVtMFs7YOL5HcREybAbgS7tIR1MD gXN3VKbBYtXTaSMoX3t1dnzuUEv+cb7U5APG7iwKiBkwOnt31YmfA5UmV2B7UJgIFqdL rT/N0Xyy6GyZwLz12sr8eWbih3Ccoq+zQVzjY1+BckAAONIE4+Esu29+mvDkbQcNiMum O+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695054795; x=1695659595; 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=M4KxM0sVd1h/VlvIVdezqL7fpJHSEfuCeO8CQlFWdTE=; b=j3mzilzMilXYHCpIAvldPnR27uMaEJzC5Vjkb0T0vUWec7raLpbjHL6eT+Hg2x2GHa FNWgyI0wzWowxr2Br3oXxw1PYMn7jzdbg8CXJJaOLG2dwwfOS4EGls31QeoGuKA/E1Rj Y5Fi7crbei01YE0o3gvtZiYch3FKE8jT5RtVb87klYMVRMjHllg1DzPbI8OFCAMVtcLT AeDG15Acd/ca3yr23tzrp+UQppBpSyZ8YQ+2cxDyFRfECY7MMXTlTtVDqfXYCbfnc6bc /IdRTnvTbVTjB19ZDkDz7bvOb8Eag5f4MC4+0s/mbNwrIdO9tabiG97+iL7jJMK8jh7m Grqw== X-Gm-Message-State: AOJu0YwSDYlamwTO53fT6tAPaKAOs1TPRJYAaF4O5Ipmrrm9C/IFI1zd HC+zHqjb63PAj7cKN/mTBg4= X-Google-Smtp-Source: AGHT+IENmjeLdAs0+AQL5TFYii/v/kEwh/KOIdDr6ULMSW5d6xauuHaeof30J4g/81ZuBnm9lgdDbg== X-Received: by 2002:ac2:4d96:0:b0:4fe:1681:9378 with SMTP id g22-20020ac24d96000000b004fe16819378mr6982644lfe.66.1695054794607; Mon, 18 Sep 2023 09:33:14 -0700 (PDT) Received: from Pro.fritz.box (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id ba30-20020a0564021ade00b00525c01f91b0sm6209171edb.42.2023.09.18.09.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:33:14 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: (Stefan Monnier via's message of "Mon, 18 Sep 2023 12:25:00 -0400") References: <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> Date: Mon, 18 Sep 2023 18:33:13 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x12a.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.0 (+) X-Debbugs-Envelope-To: submit Cc: Eli Zaretskii , Stefan Monnier , 66022@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.0 (/) Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >> ~/emacs/master/ > ls -l >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* >> -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz >> -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 >> /Applications/Emacs.app/Contents/Resource > > Hmm... shouldn't there be a `loaddefs.elc` file in there? Sorry, missed copying a line from the terminal / > ls -l /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.elc gerd@Pro 2023-09-18 18:32 ~/ > From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 13:01:44 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:01:44 +0000 Received: from localhost ([127.0.0.1]:54280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHd2-0000Uv-25 for submit@debbugs.gnu.org; Mon, 18 Sep 2023 13:01:44 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:3350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHcy-0000Ua-DO for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 13:01:42 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 80D4E802CD; Mon, 18 Sep 2023 13:01:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695056485; bh=Pci5JhHZV1pTcBhnIp7pGT4PeW1nYsXUZzy6fcxOJJc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZxSQ2g3/HxSkKCI8L3RwzViajL1FAxw6RaOt9amhXG62Wm4Jipph5RtToUQoJp45N XMP6227m4rNKH+NqmqhOvOGoBdvG0H5eg9WStxM9joi19nxkJkbnXJ4Vx4psnMKaBp hSB14wzSREpXZJ8pv82+QxbR0dIPEZOOk6kdsAr9LAg2mnx/rqXvKO9AGx9rHLbnNx qfNGf1gQP5MRPV68Eq3mSk+TzpLDU6fw9IwNHn92k6gB0CkUXyyfzwxMz0RPsSxnfp l0tW4qyYnSyJz5ZSCBVZINx9eT/vs7uYIxXGOBiZNqhZI6UhCo/TvwbS3a9lUg/1QB ZXwjeg63Yv7Sg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 592FB806AC; Mon, 18 Sep 2023 13:01:25 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4691F120371; Mon, 18 Sep 2023 13:01:25 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?windows-1252?Q?M=F6ll?= =?windows-1252?Q?mann=22's?= message of "Mon, 18 Sep 2023 18:33:13 +0200") Message-ID: References: <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> Date: Mon, 18 Sep 2023 13:00:09 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) > Sorry, missed copying a line from the terminal > > / > ls -l /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* > -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz > -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.elc > gerd@Pro 2023-09-18 18:32 > ~/ > I believe the `lread.c` code which calls `Fload` should be looking at the `loaddefs.elc` file here, so removing the `.el.gz` should make no difference. Now why does it feel the need to reload this file? The way the code works is that it receives a (FILE . POS) pair where FILE should presumably point to the `loaddefs.elc`. When it opens that `.elc` file, POS should point to the beginning of the desired docstring with nearby info indicating the length of that docstring. If the file was changed in the mean time, POS may end up pointing elsewhere. `lread.c` performs a sanity check to make sure POS points to something that does indeed look like a docstring and apparently in your case that sanity check fails. My crystal ball suggests maybe you're witnessing a bug in the build process where we end up *re*compiling `loaddefs.elc` a second time (maybe because we regenerate/refresh `loaddefs.el` by error) after Emacs was dumped, maybe during the "install" step that builds the `Emacs.app`. Normally, the way things are supposed to work is: - build temacs. - dump bootstrap-emacs using some old `loaddefs.el(c)` of `ldefs-boot.el`. - compile the preloaded files and build the true `loaddefs.el`. - dump the final `emacs` executable. - keep compiling the rest. But if "keep compiling the rest" ends up touching a dependency of `loaddefs.el` subsequent steps like `install` could decide to make poor decisions :-( IOW rebuild, keeping a log and check what was done in which order. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 13:04:33 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:04:33 +0000 Received: from localhost ([127.0.0.1]:54285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHfk-0000Zu-RA for submit@debbugs.gnu.org; Mon, 18 Sep 2023 13:04:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHfh-0000Za-Bn for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 13:04:31 -0400 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 1qiHfP-00085Z-FD; Mon, 18 Sep 2023 13:04:12 -0400 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=I0oI/7xyUb+4/Gbaq7gqDpm3e2vcoWRZR0GLbUJm6AU=; b=TLkbAqgT/ua+7IexKc2q WZY1vgolVeQneVdpXyCDgfdC95y0EiETnfyTg5d7Jg5nBhEGqYBk6/tE+lxmG542/xQEPnAJqTgxF GvJwN5x2x6fy3KApD08hhws8PeLfxjkq1K+sBsChBBxVIdLeBNjXOl0s17oz5PGykkhHLAK1zkiCg PDTM6FszooEVHRWkrd3AowsCv7nIEFD12h5mpTJ/mivEUX8P8fUu2LL1CrAHpnflUIh9iIhzbgrSq Yl8fim5wP51NYdTPwK5AqzAA8HCZ8r4dH0o0fjM745IxtyUhuTbz8R1AZWWIlmQb01Q60F7TapswN Ipvvr86yBKtswQ==; Date: Mon, 18 Sep 2023 20:03:54 +0300 Message-Id: <83il87e7lx.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Mon, 18 Sep 2023 17:25:20 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@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: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 (---) > Date: Mon, 18 Sep 2023 17:25:20 +0200 > From: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > > On 23-09-18 17:18 , Gerd Möllmann wrote: > > On 23-09-18 17:09 , Eli Zaretskii wrote: > >>> From: Gerd Möllmann Cc: > >>> monnier@iro.umontreal.ca,  66022@debbugs.gnu.org Date: Mon, 18 Sep > >>> 2023 16:56:55 +0200 > >>> > >>> Eli Zaretskii writes: > >>> > >>>> Any idea why a call to 'documentation' loads loaddefs?  Did you > >>>> indeed "hack the Emacs you were running"? > >>> > >>> No idea, and I didn't hack it at all.  This was a minute after I > >>> started a newly-build Emacs, wondered why a C-c C-k binding didn't > >>> work.  I then pressed C-c alone to see what it is bound to, with > >>> which-key. > >> > >> So I think this now becomes the main question.  If this is not a > >> bug, i.e. if loaddefs can legitimately be loaded mid-session, we > >> cannot autoload key bindings, at least not naïvely as we do now. > > > > Another observation: when I start emacs from its source directory > > master/src, and not as bundle, i.e. by® clicking on Emacs.app in the > > dock, this doesn't happen. > > > > One difference in the two scenarios is that Emacs.app contains gzip'd el > > files. > > ~/emacs/master/ > ls -l > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* > -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 > /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz > -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 > /Applications/Emacs.app/Contents/Resource Is your Emacs compiled with zlib? > Note the timestamps. Is that good or bad? Good. The .gz ffile should have the time stamp of the corresponding .el file. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 13:20:02 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:20:02 +0000 Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHuj-00010b-RY for submit@debbugs.gnu.org; Mon, 18 Sep 2023 13:20:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiHue-00010E-Pc for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 13:20:00 -0400 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 1qiHuQ-0002ua-3E; Mon, 18 Sep 2023 13:19:42 -0400 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=Eed29vucV9isC6SbrBBA574JKylLflLje1Ll/qj7a4E=; b=IQ9t9Wp3WVlS Tc5AvF1lgDO/jqBlQFwYgpsjQW9VOorlo/wYLk0WfLJ8KMqB8FauAt8KwzY91Igix6CS1Lz2bDxfk BrN2Pm0XxY3PEKOtnvmVQyYHGyEPU+jLc0Qped9maJrZ8IkQ5Cl/Z7s9+fvvZmfZ/OwuPFwUTmJEP nbDW8mbsuXGa7HZCBUkioMVM6rw97sTIzk+q//x0Mt9kqH+lUp2xLHyB8+6xeV4KH0dJNUjrTuzQm FpvP/W032rS9yYJud4APksVbdkS+xU/i6iL1EuL2DRss8RDhM4YK3H2iiYjqepYjl88z5BL8yxlEM Ge/p0jNTepp6Yj7L1cfrkQ==; Date: Mon, 18 Sep 2023 20:19:42 +0300 Message-Id: <83fs3be6vl.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Mon, 18 Sep 2023 12:23:31 -0400) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: gerd.moellmann@gmail.com, 66022@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: Stefan Monnier > Cc: Eli Zaretskii , 66022@debbugs.gnu.org > Date: Mon, 18 Sep 2023 12:23:31 -0400 > > >> Any idea why a call to 'documentation' loads loaddefs? Did you indeed > >> "hack the Emacs you were running"? > > No idea, and I didn't hack it at all. This was a minute after I started > > a newly-build Emacs, wondered why a C-c C-k binding didn't work. > > Hmm... sounds like we have a real bug, then! Or a hidden feature ;-) I think we should look at the conditions which will cause 'documentation' to load loaddefs. Which part of it could load loaddefs? Maybe set a breakpoint in Fload conditioned by the FILE being loaddefs.el(c), and look at the backtrace? From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 13:42:49 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:42:50 +0000 Received: from localhost ([127.0.0.1]:54316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIGn-0001cX-HC for submit@debbugs.gnu.org; Mon, 18 Sep 2023 13:42:49 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:60746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIGk-0001cK-S2 for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 13:42:48 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-503065c4b25so3266120e87.1 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 10:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695058952; x=1695663752; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3PHrdpJZzYB8uDoMyxR72oQJx3+FBhYony3GSLFR0no=; b=iqbMlJGMaD6cHGaYt9EZRK3NW120CYnnpw363dsTjDFTEGXoEay3x+r1dg59wLvUyX Jcuip+c5DRB69ILmBe9IZT3Qyspgupvpq5R66uiT4zcsDphIbAF3yDjHGJQR9GTvddwj vDecbUPOhMCvBX9l++6LGTbFZ0yrNkIi+zaayQozCDX5TjZkLrZpPevSmmoWTe6zeCHs YWxUV6KD2kSgIPU90+OcPW7l1BJJiAyQGYIXsnOAcIlaG9bUta1NyVUe5dSLkrF3fmLP t6Kmu+8Oq0DF9tWCwgx/0B6HV+IiQuTeBVExNFCHpHaHvy6XkEVNJLi2qr6hrcEEpSaZ fzaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695058952; x=1695663752; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3PHrdpJZzYB8uDoMyxR72oQJx3+FBhYony3GSLFR0no=; b=izqltqJrcYNxhlUlzCPoslkF2SVyVwvuDb8FisGyi98G2w2m+Rh3wHgqbPdiDAXCPA IhJx/G28h/janFpZJHlDV2ETMZ0n5vgiGN2QHElYsaEflvr3Uxu2VZjbq0dwpx0QCpPw Gl1CErvUTzap6Xr40sl3QZESdI8+p0qpPqzqB5tAHpyyJdHIrkgifnyIHKP43mqEOm1d F0geeGPmrNQq+7F3UHoI8mYG2JHSQx0p0whK0LfldacPdEN2xKBAvoDnyOWKKA/HF81J xGHZJ0cwIVhLWgfb2CeCGO50WOU3c6mwBI8JLnY9+PMWEA62yufqTnwwjuCEI2xVySmS u8iw== X-Gm-Message-State: AOJu0YwQVko1i1w/n23oCw9vfhtpmSWbnrcJ86GH09lTKF5mnkXpfV0R 1M1FPlNDKRqYoR31zX43R98= X-Google-Smtp-Source: AGHT+IH+cOK6c+cKah1jNS6r9ALwp5+90KaaJJpTJ4IMNTk8zH19h2VOsaQJmShp9tVdf6NKJO854A== X-Received: by 2002:a05:6512:546:b0:502:f2a4:152f with SMTP id h6-20020a056512054600b00502f2a4152fmr7126274lfl.10.1695058952302; Mon, 18 Sep 2023 10:42:32 -0700 (PDT) Received: from [192.168.178.26] (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id k7-20020aa7c047000000b0052febc781bfsm6359385edo.36.2023.09.18.10.42.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 10:42:31 -0700 (PDT) Message-ID: Date: Mon, 18 Sep 2023 19:42:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Eli Zaretskii References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <83il87e7lx.fsf@gnu.org> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhg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4CGwwFCQeGH1IACgkQc+obGZDFPmOT+g/9Hlui+8/EEiq3iat9OAXSR+qv4RGY 2XxdbsQVVr3Hx240IV9voxXqPa58Yt51qxlfdWaEkMcesqr8RPSS9FeEj0Zn4pWULp52j2Gu mTpJy4gnLkO12mUVOF/W9HazQdNjQqaAE2neimtmI5zUbGzdwKk7OBWGs9cBc3fJCZeAvuxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: <83il87e7lx.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-18 19:03 , Eli Zaretskii wrote: >> Date: Mon, 18 Sep 2023 17:25:20 +0200 >> From: Gerd Möllmann >> Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org >> >> On 23-09-18 17:18 , Gerd Möllmann wrote: >>> On 23-09-18 17:09 , Eli Zaretskii wrote: >>>>> From: Gerd Möllmann Cc: >>>>> monnier@iro.umontreal.ca,  66022@debbugs.gnu.org Date: Mon, 18 Sep >>>>> 2023 16:56:55 +0200 >>>>> >>>>> Eli Zaretskii writes: >>>>> >>>>>> Any idea why a call to 'documentation' loads loaddefs?  Did you >>>>>> indeed "hack the Emacs you were running"? >>>>> >>>>> No idea, and I didn't hack it at all.  This was a minute after I >>>>> started a newly-build Emacs, wondered why a C-c C-k binding didn't >>>>> work.  I then pressed C-c alone to see what it is bound to, with >>>>> which-key. >>>> >>>> So I think this now becomes the main question.  If this is not a >>>> bug, i.e. if loaddefs can legitimately be loaded mid-session, we >>>> cannot autoload key bindings, at least not naïvely as we do now. >>> >>> Another observation: when I start emacs from its source directory >>> master/src, and not as bundle, i.e. by® clicking on Emacs.app in the >>> dock, this doesn't happen. >>> >>> One difference in the two scenarios is that Emacs.app contains gzip'd el >>> files. >> >> ~/emacs/master/ > ls -l >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* >> -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz >> -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 >> /Applications/Emacs.app/Contents/Resource > > Is your Emacs compiled with zlib? > >> Note the timestamps. Is that good or bad? I think so. config.log: configure:25922: checking for library containing inflateEnd configure:25972: result: -lz From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 13:54:58 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:54:58 +0000 Received: from localhost ([127.0.0.1]:54332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiISY-000201-0W for submit@debbugs.gnu.org; Mon, 18 Sep 2023 13:54:58 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:44049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiISW-0001zp-Pe for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 13:54:57 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-317c3ac7339so4325413f8f.0 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 10:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695059682; x=1695664482; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t4ciPSlSG1S7CjANrmNcChZ59aDmYhPK2Q5TdPE08SY=; b=EFELMKn0K6Bx8TvGduFlhBj/NcidsegIvMCmdTOli47ARoaB5dX3GEhgSdy4MirdQT +Yac2MZeGKxfM8ua6WvUmbOWSTIg1lFpi32u6JYNWh+2IeUdjdsiUGPwbmmjYrH9xKC1 8+vxa3GDQ1KtNITjHr7h+wxrnPoPk3l7Cuz1oUqDO+PEifJE8aSDkdUJu90dO670fpZZ NTmg9syxq9Kr1i/BDjRQbcubbuAIUC0paGCSHPZLVDwdGwp5H4MRQhZL/u6IaAIIt7ic aMoZVH1T5k23ZC28/oKI6sgSeEcqoYaFBzSjBL14ginVyX+H2CPP+JnXvyEIVOmbrvD2 P8Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695059682; x=1695664482; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t4ciPSlSG1S7CjANrmNcChZ59aDmYhPK2Q5TdPE08SY=; b=Fmz82EnI00U2a3+NcYFaMKc4n3SuGaLq8VuvZcvkHedJgLD/Z+LdCDkY/ImoASAVk1 wDtoq5z3g7jf9RsGQO7cDKD/89SQwWj1Dpm7NcVe+EbeDpJl0ftqj3R1v13vsz6T+tDs /OWycwN8CliJibeoSoCxNYVcf4SeGRZS1g+U9YJKDSzJJu8k3JYbVGrPgl1j2cvjX8Wp dsLCRJr3kwByeGObhUEp8myfJjmc1ohDbdYTZkUUg9oYilwmXB6t7go3AnDQp3Ps4uq5 bOG9kvckN89+7sJEuhjsM2BsNeqmc4yVpqY66QngqL9Cxc35o9z4YlOtFlcU6CO5hoUK d2Aw== X-Gm-Message-State: AOJu0YwGqTZqcR0qax8v7nn9URslsR8BVg+Rq8jEO2obplqpCB/AKWW4 co0gl3+EGSv4+GmRIql7q/o= X-Google-Smtp-Source: AGHT+IGlEzyKPoa7t0wnmrMtWOcNcwc037X4/hI165HwOZNTLSCkzv84BRAI62ZELbh9LPQPohvwMQ== X-Received: by 2002:adf:ee51:0:b0:31a:e3ad:f30e with SMTP id w17-20020adfee51000000b0031ae3adf30emr8261583wro.68.1695059682225; Mon, 18 Sep 2023 10:54:42 -0700 (PDT) Received: from [192.168.178.26] (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id qb18-20020a1709077e9200b009adc5802d08sm5812704ejc.190.2023.09.18.10.54.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 10:54:41 -0700 (PDT) Message-ID: <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> Date: Mon, 18 Sep 2023 19:54:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Stefan Monnier References: <83bke1gusz.fsf@gnu.org> <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf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transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 23-09-18 19:00 , Stefan Monnier wrote: >> Sorry, missed copying a line from the terminal >> >> / > ls -l >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el* >> -rw-r--r-- 1 gerd admin 377687 Sep 17 16:36 >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz >> -rw-r--r-- 1 gerd admin 1467107 Sep 17 16:38 >> /Applications/Emacs.app/Contents/Resources/lisp/loaddefs.elc >> gerd@Pro 2023-09-18 18:32 ~/ > > > I believe the `lread.c` code which calls `Fload` should be looking at > the `loaddefs.elc` file here, so removing the `.el.gz` should make no > difference. > > Now why does it feel the need to reload this file? The way the code > works is that it receives a (FILE . POS) pair where FILE should > presumably point to the `loaddefs.elc`. > > When it opens that `.elc` file, POS should point to the beginning of > the desired docstring with nearby info indicating the length of that > docstring. > > If the file was changed in the mean time, POS may end up pointing > elsewhere. `lread.c` performs a sanity check to make sure POS > points to something that does indeed look like a docstring and > apparently in your case that sanity check fails. > > My crystal ball suggests maybe you're witnessing a bug in the build > process where we end up *re*compiling `loaddefs.elc` a second time > (maybe because we regenerate/refresh `loaddefs.el` by error) after > Emacs was dumped, maybe during the "install" step that builds the > `Emacs.app`. > > Normally, the way things are supposed to work is: > > - build temacs. - dump bootstrap-emacs using some old > `loaddefs.el(c)` of `ldefs-boot.el`. - compile the preloaded files > and build the true `loaddefs.el`. - dump the final `emacs` > executable. - keep compiling the rest. > > But if "keep compiling the rest" ends up touching a dependency of > `loaddefs.el` subsequent steps like `install` could decide to make > poor decisions :-( > > IOW rebuild, keeping a log and check what was done in which order. Ok, I'll try that during the next days. (Have to finally replace the battery of the old Macbook, and the display for the mini is not working.) Do you think the following plan make ssense? - I assume that a build from git clean -xdf shows all the steps that must happen with 100% certainty. - I'd then make bootstrap + look for a difference. - Then same procedure for simple make in the toplevel dir, - after there is only a C file changed - after only a Lisp file is changed From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 14:26:23 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 18:26:23 +0000 Received: from localhost ([127.0.0.1]:54542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIwx-00031d-2K for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:26:23 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIws-00031N-RO for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 14:26:22 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D27F3806AC; Mon, 18 Sep 2023 14:26:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695061563; bh=xBqJliQ/5jGVQXSIp3Rj6sV0x0qeG5xVLZ4X5x34fng=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Buh9JnHy/YgTbAk62pYUUVgcW6FviK8r8wQlrELpJPcaJmZlprlmSdb1nZEUgrtqY Yj8NJLe5QiP/QtrM0PNiE6oAj5JeHM3XDYeOkCpD1wrJb92bN3kPYkxjAtuldTATBP PnhGnH7xUROHuo1KF6Zy4qJwA+XIFiB5GY5M4HSdJRZZ5PA4VN5eZyKdENi4DqcNs/ t+Kqv8MdBqtXXtdseS1HBAgK3EmbtbOqVpTeRjhZ3In2OSVIvrkvBdKvdwnCHqgNGp hcvHRz5A/JM8GubvOaUgohGDD4UgnFr7OPYZzn1BhDsLrcbBVD7jrAvT3YjVjOuSI4 zo02g8J0IREuA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A2F8F80250; Mon, 18 Sep 2023 14:26:03 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8D267120218; Mon, 18 Sep 2023 14:26:03 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> ("Gerd =?windows-1252?Q?M=F6llmann=22's?= message of "Mon, 18 Sep 2023 19:54:40 +0200") Message-ID: References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> Date: Mon, 18 Sep 2023 14:24:48 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.087 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) > Do you think the following plan make ssense? > > - I assume that a build from git clean -xdf shows all the steps that > must happen with 100% certainty. > > - I'd then make bootstrap + look for a difference. > > - Then same procedure for simple make in the toplevel dir, > - after there is only a C file changed > - after only a Lisp file is changed Sounds good. You might also want to compare the timestamp of `loaddefs.elc` compared to the timestamp of `emacs.pdmp` in your build directory (assuming you still have it around). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 14:27:38 2023 Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 18:27:38 +0000 Received: from localhost ([127.0.0.1]:54546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIyA-00033Y-E4 for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:27:38 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:48354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIy8-00033K-4S for 66022@debbugs.gnu.org; Mon, 18 Sep 2023 14:27:37 -0400 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2bfb12b24e5so77213711fa.0 for <66022@debbugs.gnu.org>; Mon, 18 Sep 2023 11:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695061642; x=1695666442; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KlWtHQh+qSCHfrbtU1XvwrnQUFkgVTv3x4XmGnvkV8o=; b=IFq1wXhLoZ2fue4g2MXMQvTsliPZCrinns0E5tiiA5/kErOxhoXCtW0fy/7+fxRA9g Q2CXoI1HKJX+r7OkwkVglN+v8yK1GERnbdMunXzUw5oSv45uksBBDDsgCKsvPJJi9rJ+ /E5yAm/N/ZfwqazVc0PVZjLefLWpO5eTtgB2Pt0kEEb782lQsBMrrKi49vyTqQjeCWp3 liITa/CZiebtDOKeSxxuUB91+0Aws2IWUtnmj+x9Ts7jeOm2qf/Bpf4WP8GIcrbFi1mV 1vJc2RKBBKBIOGXXX1RpOwKw7bJAtOAr4ihoUYKk0Mcquu4Ym80V9hARM7SITIMtHoeO KYwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695061642; x=1695666442; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KlWtHQh+qSCHfrbtU1XvwrnQUFkgVTv3x4XmGnvkV8o=; b=fzZk4OOnUiafxF2q+/UIgtpxD7wqtpFbGT7z8L8uffZ2k45qbaIm+6Lj9yoxxkFaS1 LvYvfd8oYNzZDiG6c8A863hA5emfhF8lebZtcOPzUxadbowCp9t8nMMEodtgjVbUKzcH 0Tlw7hMiIz0z9fXVG0rPZkW9YWSEsTGxoo//PgVSJFK/u4NUkTjQUpJf6awOmfIWcO7S 1cI6i3K3MrzAXmrBCxehUEjCuYgDyBbdl9Pnf81XVsApgG+xjaA/VcQFzMKYrW4rjje7 us+5JNvMfuzZ81L5w6ZeSqhVz1RgSvJN0dWuEwRgNk3gykekAjYoEHXtgb1Qv/c/lQ16 ZanQ== X-Gm-Message-State: AOJu0YyHEzAReGKlpHArSpu4VkuSZA0D4RGjszQZ6KwsGn6eI+NhOKjq 3TyTubDF2GnnKWC4ZzYQ+vI= X-Google-Smtp-Source: AGHT+IFs3ibmyzZFVnw8j5kN2J6Ts4HEU6PJuM+gXS3oXkc+oc/I93c+KBCkoMTmdk296SQU47mfOA== X-Received: by 2002:a05:651c:1688:b0:2c0:1982:3893 with SMTP id bd8-20020a05651c168800b002c019823893mr1908121ljb.16.1695061641495; Mon, 18 Sep 2023 11:27:21 -0700 (PDT) Received: from [192.168.178.26] (p4fe3af17.dip0.t-ipconnect.de. [79.227.175.23]) by smtp.gmail.com with ESMTPSA id u17-20020a1709064ad100b0098ce63e36e9sm6904384ejt.16.2023.09.18.11.27.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 11:27:21 -0700 (PDT) Message-ID: <9570267e-fbf2-49e6-806b-7a4d27abd034@gmail.com> Date: Mon, 18 Sep 2023 20:27:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Stefan Monnier References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXA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uxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 23-09-18 20:24 , Stefan Monnier wrote: >> Do you think the following plan make ssense? >> >> - I assume that a build from git clean -xdf shows all the steps that >> must happen with 100% certainty. >> >> - I'd then make bootstrap + look for a difference. >> >> - Then same procedure for simple make in the toplevel dir, >> - after there is only a C file changed >> - after only a Lisp file is changed > > Sounds good. > > You might also want to compare the timestamp of `loaddefs.elc` compared to > the timestamp of `emacs.pdmp` in your build directory (assuming you > still have it around). Thanks, will do. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 05:57:51 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 09:57:51 +0000 Received: from localhost ([127.0.0.1]:58393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qitxv-0003tr-25 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 05:57:51 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:47472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qitxp-0003tX-LD for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 05:57:49 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b962c226ceso108804991fa.3 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 02:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695203850; x=1695808650; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=whYXZyFJqPT2/rofd5zK/d8zp0UED00et0f+tv653Os=; b=b3W4hcrVztEQuTqyeHvvX6mXh9HthDbyRWsp3yF2m8zDbm4Z8j0wFfGAJ+hl3lytEr pgz1I7BJ8WY9AHABeSCuMK+tkkYOuD6pVamBMeC3GRoeX30L1hhZME5/pO+q9yFFdaW7 h/PMKsf+NeUZpBV7zClo2l6Q7RRKL5FAcFmfGG/FasFLIC5OiUOgbo9aZIB23WjryI54 quZvaZgN2zGag92yanwynTkfHJ/TiVQNoZMmwCMVpsFiaSEqiCO3gLA4X5TsQAAYs4BT 9S/gRzuLTL9zdi65Z+FwNjejFJ+0a9FAS4hVestBIcD+gnHSvvdQk5V31Mh5x6aBIYKR Hy7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695203850; x=1695808650; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=whYXZyFJqPT2/rofd5zK/d8zp0UED00et0f+tv653Os=; b=Tcz8+jt769YycwSmRaUpjvdDFfXQFeWGPGJDyNH22BfgzmogWUMsJZVVRgTcnqA/o9 uI6QtmV9Mhqny7ozAELQ1DJK8viBkhAZnCx4bdt758u3wXTjBWmYuxNbCRzEWMEEO4u4 KSqGfR/WjEqYmY3+mNmvMc8P6mOHdd70mC/hqPli+EpELsUQODI1FiAR9KlfbdXFCnO4 qzY93POSYmKm4zLuGh/IOfSAthKmDpUW/vmENWQS/7arD9U8VB27QS/B+VnKXWLMe8fH FCe05pgo37Mte20JIfruOWZUQDhXI7wr3WIF6LN7B6wzKJrg4BSXqrrYKUs1fmRzTiqN 6oWA== X-Gm-Message-State: AOJu0YwOfil04Dr4qO/J2EpNX9BxIvMYcIikjgQ1cjmRm2ppykCGhw0m hTtn+SPhZ/tM7qwPNqiMQqc= X-Google-Smtp-Source: AGHT+IHvy5S8AU4swzu6Fatl5p0hGsIlbizz2mCUBra1bVka+P8ymCFHgmDuBfhCl/smgGiwc8euXw== X-Received: by 2002:a2e:b6ce:0:b0:2bf:f5c9:2dce with SMTP id m14-20020a2eb6ce000000b002bff5c92dcemr1777176ljo.30.1695203849976; Wed, 20 Sep 2023 02:57:29 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ace7.dip0.t-ipconnect.de. [79.227.172.231]) by smtp.gmail.com with ESMTPSA id e24-20020a17090681d800b009a2235ed496sm9302785ejx.141.2023.09.20.02.57.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 02:57:29 -0700 (PDT) Message-ID: <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> Date: Wed, 20 Sep 2023 11:57:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings To: Stefan Monnier References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> Content-Language: en-US, de-DE From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wMq/9d6S2EckCZAnH7R1romvtJhcse+uz tB2nyqxvCwMzZ28RrJiXkR4QIMSJi1ZMHU0dFQlkwZ/sRN0asQARAQABzSlHZXJkIE3Dtmxs bWFubiA8Z2VyZC5tb2VsbG1hbm5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ZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 23-09-18 20:24 , Stefan Monnier wrote: >> Do you think the following plan make ssense? >> >> - I assume that a build from git clean -xdf shows all the steps that >> must happen with 100% certainty. >> >> - I'd then make bootstrap + look for a difference. >> >> - Then same procedure for simple make in the toplevel dir, >> - after there is only a C file changed >> - after only a Lisp file is changed > > Sounds good. > > You might also want to compare the timestamp of `loaddefs.elc` compared to > the timestamp of `emacs.pdmp` in your build directory (assuming you > still have it around). I think I've found something. Assume I git pull, and emacs-lisp/comp.el is modified in a way that loaddefs gets regenerated and written to disk. Then do a toplevel gmake. After that, I see the following: ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp lisp/emacs-lisp/comp.* nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc -rw-r--r-- 1 gerd staff 369K Sep 20 10:55 nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz -rw-r--r-- 1 gerd staff 1.4M Sep 20 10:56 nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp Note that the pdmp in Emacs.app is new, while the loaddefs under nextstep are old. After gmake install: ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp lisp/emacs-lisp/comp.* nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc -rw-r--r-- 1 gerd staff 369K Sep 20 11:31 nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp Means to me that if I just gmake, expecting that could not possibly change Emacs.app, I'm quite mistaken. Instead, I now have an inconsistent Emacs.app. Does that make sense? Has someone maybe an idea why the pdmp gets installed so early? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 10:12:10 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 14:12:10 +0000 Received: from localhost ([127.0.0.1]:60077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qixw2-0005oN-43 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 10:12:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qixvv-0005nn-Um for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 10:12:08 -0400 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 1qixvg-0005Gf-BB; Wed, 20 Sep 2023 10:11:48 -0400 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=HXbWYqsjuBbGPlbqrd5HX7xM87ckCpqiWFxVrJOinRo=; b=Df6ggTV5Dz3QhVKcHwn8 mbiS1LnETYYokmXMFYuABsrrvn65/BsCfUi8NR1UKZqlUYC070rntVMtqnICEacv1ZN3n02V5POEh KlnUxaAn5YCA5V5ZjvHxdhO8n6w/l/U879gKg2AjpmQ/UE/qkfy5VRuBdKi4lJQ+Exl1M9rgb7Tj6 ZSN3yVRU0Wmh9ycQTzl8HQ+GPXP6UIYEVNDgjnGMW6AXR47i2lola2AZc/QqfwmDbtzxFluKZygYl 6wKlO/WP0lLPkqx5ePchl8vaaRxxyXSHbEXN3yIxZOozG1GovqA0gpg699TcFqu7RjcMado+U6i/q 817dtf19cI+bZg==; Date: Wed, 20 Sep 2023 17:11:48 +0300 Message-Id: <83jzslaq8r.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 20 Sep 2023 11:57:28 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@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: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 (---) > Date: Wed, 20 Sep 2023 11:57:28 +0200 > Cc: Eli Zaretskii , 66022@debbugs.gnu.org > From: Gerd Möllmann > > Assume I git pull, and emacs-lisp/comp.el is modified in a way that > loaddefs gets regenerated and written to disk. Then do a toplevel > gmake. After that, I see the following: > > ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp > lisp/emacs-lisp/comp.* > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* > nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp > -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el > -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc > -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp > -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el > -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc > -rw-r--r-- 1 gerd staff 369K Sep 20 10:55 > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz > -rw-r--r-- 1 gerd staff 1.4M Sep 20 10:56 > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc > -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 > nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp > > Note that the pdmp in Emacs.app is new, while the loaddefs under > nextstep are old. > > After gmake install: > > ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp > lisp/emacs-lisp/comp.* > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* > nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp > -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el > -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc > -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp > -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el > -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc > -rw-r--r-- 1 gerd staff 369K Sep 20 11:31 > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz > -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 > nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc > -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 > nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp > > Means to me that if I just gmake, expecting that could not possibly > change Emacs.app, I'm quite mistaken. Instead, I now have an > inconsistent Emacs.app. > > Does that make sense? > > Has someone maybe an idea why the pdmp gets installed so early? You are saying that building Emacs in the source tree somehow updates the .pdmp file in the _installation_ tree? That's got to be macOS-specific, because that should never happen. The installation tree is modified only by "make install". Any idea which place in the Makefile's or in loadup.el does that? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 10:22:48 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 14:22:48 +0000 Received: from localhost ([127.0.0.1]:60106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiy6J-00065Q-GN for submit@debbugs.gnu.org; Wed, 20 Sep 2023 10:22:48 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:56406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiy6E-000657-De for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 10:22:46 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5041335fb9cso1204764e87.0 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 07:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695219747; x=1695824547; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=w2STJKiOO/2OK1xARnFqFuSGjleCz4PV2KGoB5T/64c=; b=YIm9ZpntXT+aJEtjEyLHZ8H8GQnsbthyY/6O82+2SGh1wb1arRDbAQvwyrQ5SzJhsY J/7HCMqF1Oj1xV+4sVpxw6M43zwZmjmU7QGFDhloSPZTj1XIMLBgBa8GKOsQGeUeK2wv SUaZ1/SJkEpzXXCjhm+OSZRYeQcNhxqdJsVg1nU3l17ukz7vYhVBwk5/xdgPO07iE4DQ YObhg8Q7y1Slbg4HcGlB01N1t7PCMeNaP4Wi/NO0KLgVU3fV1ZZY2u4ZvXTXKmHDzIuQ +Oz1tYedudDFqtKRpdJN1fzXSNOM4pmjjAsdh3FhX9DGr73oYfxqlu+tLGCAbQxmHvXA PbTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695219747; x=1695824547; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w2STJKiOO/2OK1xARnFqFuSGjleCz4PV2KGoB5T/64c=; b=hUU+tPPC2beRchzoswhml6/VLqkITayLLYtoU4KZVyPPiycEbkuGucY1bmRiuAWo9G 55PXzizvQbWjH5n2OqC9KuralAS82+MO/zYgAtqlhFQqgjYHQIqbnVZyNHtFMt5r8+1E IrxZaSxqP15XkqjwGr80A/x7scXHDEoB89/x1nI9s2E2l32DiyOKgJhU/QEARwQTuoug GY81Bxl7raKhwPRdHjY5OSQ0JgSOm6dacE2GB+WPqXDWErj/AN6BWWSTOUKvLGe5x9m6 7w/vJZNur8WqRD7lSDMNFGgOzqKxAKiXeDWc5yeEGD2ph+4zHrHubsXwjWk66V18QKBp H+Gw== X-Gm-Message-State: AOJu0YxsJcTMQOYxINyFHSahzuFP8QzweW+4OVDVrCqMHrMUMo+GSVv5 trHrnOKAHqyGCzKjPArVTiM= X-Google-Smtp-Source: AGHT+IFYfUJnRE3HpLXL7/DgvLLb5VnrCTq9n9cS3kRDfwL5fMfP5lVkG5xWgNJvokNAeLm0IXAiTQ== X-Received: by 2002:a05:6512:3b3:b0:503:3654:37bd with SMTP id v19-20020a05651203b300b00503365437bdmr2324752lfp.45.1695219746635; Wed, 20 Sep 2023 07:22:26 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ace7.dip0.t-ipconnect.de. [79.227.172.231]) by smtp.gmail.com with ESMTPSA id s15-20020a056402014f00b0052ffc2e82f1sm9034206edu.4.2023.09.20.07.22.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 07:22:26 -0700 (PDT) Message-ID: <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> Date: Wed, 20 Sep 2023 16:22:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings To: Eli Zaretskii References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> Content-Language: en-US, de-DE From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wMq/9d6S2EckCZAnH7R1romvtJhcse+uz tB2nyqxvCwMzZ28RrJiXkR4QIMSJi1ZMHU0dFQlkwZ/sRN0asQARAQABzSlHZXJkIE3Dtmxs bWFubiA8Z2VyZC5tb2VsbG1hbm5AZ21haWwuY29tPsLBlAQTAQoAPhYhBIq2Hj6Yk/Nh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INBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: <83jzslaq8r.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-20 16:11 , Eli Zaretskii wrote: >> Date: Wed, 20 Sep 2023 11:57:28 +0200 >> Cc: Eli Zaretskii , 66022@debbugs.gnu.org >> From: Gerd Möllmann >> >> Assume I git pull, and emacs-lisp/comp.el is modified in a way that >> loaddefs gets regenerated and written to disk. Then do a toplevel >> gmake. After that, I see the following: >> >> ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp >> lisp/emacs-lisp/comp.* >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* >> nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc >> -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp >> -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el >> -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc >> -rw-r--r-- 1 gerd staff 369K Sep 20 10:55 >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 10:56 >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc >> -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 >> nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp >> >> Note that the pdmp in Emacs.app is new, while the loaddefs under >> nextstep are old. >> >> After gmake install: >> >> ~/emacs/master/ > ll lisp/loaddefs.el* src/emacs.pdmp >> lisp/emacs-lisp/comp.* >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs* >> nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:31 lisp/loaddefs.el >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 lisp/loaddefs.elc >> -rw-r--r-- 2 gerd staff 16M Sep 20 11:32 src/emacs.pdmp >> -rw-r--r-- 1 gerd staff 188K Sep 20 11:31 lisp/emacs-lisp/comp.el >> -rw-r--r-- 1 gerd staff 399K Sep 20 11:32 lisp/emacs-lisp/comp.elc >> -rw-r--r-- 1 gerd staff 369K Sep 20 11:31 >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.el.gz >> -rw-r--r-- 1 gerd staff 1.4M Sep 20 11:32 >> nextstep/Emacs.app/Contents/Resources/lisp/loaddefs.elc >> -rw-r--r-- 1 gerd staff 16M Sep 20 11:32 >> nextstep/Emacs.app/Contents/MacOS/libexec/Emacs.pdmp >> >> Means to me that if I just gmake, expecting that could not possibly >> change Emacs.app, I'm quite mistaken. Instead, I now have an >> inconsistent Emacs.app. >> >> Does that make sense? >> >> Has someone maybe an idea why the pdmp gets installed so early? > > You are saying that building Emacs in the source tree somehow updates > the .pdmp file in the _installation_ tree? That's got to be > macOS-specific, because that should never happen. The installation > tree is modified only by "make install". Yup it is. The installation is done in src/nextstep/Emacs.app/. Emacs.app is a macOS bundle that can then be copied/moved to where the user wants, for example to /Applications. > > Any idea which place in the Makefile's or in loadup.el does that? I think nextstep/Makefile.in contains # FIXME: Don't install the dump file into the app bundle when # self-contained install is disabled. ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} ../src/emacs${EXEEXT}.pdmp ${MKDIR_P} ${ns_applibexecdir} cp -f ../src/emacs${EXEEXT}.pdmp $@ and the "all" target has that the pdmp as a dependency. I have no idea though what the comment means, or if the cp if necessary for something. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 11:04:32 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 15:04:32 +0000 Received: from localhost ([127.0.0.1]:60145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiykh-0007I8-Rt for submit@debbugs.gnu.org; Wed, 20 Sep 2023 11:04:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiykf-0007Hu-8Z for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 11:04:30 -0400 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 1qiykP-0007re-Uu; Wed, 20 Sep 2023 11:04:13 -0400 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=OUwvjwY/Jl9GWKT/Z0F1eaosSHB6wFte7ttx2xREXTM=; b=NZnQ5Vta/+Dv7xJE+Vfp 1IMvb+bSlGEqaWT1UHw9b8VKZjMhB430akCQnVv34oKP9Wj7KMBcKCEJy3VQCc8kfIxN0YUmQzAQa YTxAsWkBv90e/bMZW+lkOuzd0F5fQ22ov/jvQdJeaoh5TYz4QS1xKT0lNbzFHTEvn70w35d89S052 oklnSXN1mD5Gtpc87Vqyq70N1SDybLfSt/uqxmeB7W9vhK63wnG6qfXAS2nrTbio2X7GvkiA6yeeY xcrt9OIa2S1wmbj2bTSloMOPKo9hPjeCujSpkRbWuUHS5WdzY1y/YoK4f4dOgF1w32soVxM0S0SIF OVICcv+hr1zLFQ==; Date: Wed, 20 Sep 2023 18:04:16 +0300 Message-Id: <83bkdwc2dr.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 20 Sep 2023 16:22:24 +0200) Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@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: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 (---) > Date: Wed, 20 Sep 2023 16:22:24 +0200 > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > From: Gerd Möllmann > > > You are saying that building Emacs in the source tree somehow updates > > the .pdmp file in the _installation_ tree? That's got to be > > macOS-specific, because that should never happen. The installation > > tree is modified only by "make install". > > Yup it is. The installation is done in src/nextstep/Emacs.app/. > Emacs.app is a macOS bundle that can then be copied/moved to where the > user wants, for example to /Applications. > > > > > Any idea which place in the Makefile's or in loadup.el does that? > > I think nextstep/Makefile.in contains > > # FIXME: Don't install the dump file into the app bundle when > # self-contained install is disabled. > ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} > ../src/emacs${EXEEXT}.pdmp > ${MKDIR_P} ${ns_applibexecdir} > cp -f ../src/emacs${EXEEXT}.pdmp $@ > > and the "all" target has that the pdmp as a dependency. > > I have no idea though what the comment means, or if the cp if necessary > for something. I guess no one imagined that someone will build Emacs from Git _and_ install it. I' for example, run it directly from the source tree. But anyway, all you should remember is to say "make install" each time you rebuild, and then this problem will not happen. Right? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 11:10:08 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 15:10:08 +0000 Received: from localhost ([127.0.0.1]:60149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiyq7-0007Uj-Nx for submit@debbugs.gnu.org; Wed, 20 Sep 2023 11:10:08 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:53320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiyq4-0007U8-Tt for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 11:10:06 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-52c88a03f99so8141257a12.2 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 08:09:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695222589; x=1695827389; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=liEC/MXKxk52WcboFaHdkuAAiNONbX+86+YVQrxnS2Q=; b=e34AU/1pK7rbDx4Lvu1fuj2yfy5w7BpxUi7zQ+oV2vsJ+XyHS4tylhkhlqxckZx5AL l1xIohRgadcFc7V8bXKX9REHZzpd6U7pOiClIk+M9r93icgb5Ct99rBHWFYrWDXUbNEV p1It5kV6mNMyyDuiHd4BkbHFkCWFcfkuoLjcKr8c8UToHKvZrHVruCLTe/LQYj8Ovj5F yAljE5hpo0Ojr2qbc3Jj4HVw/IsDiBGwZGzY5pt/yXk7SjP5KooCqF6atW0h/dAKy2VV /X5KhSvxT8eWx08tARnpNG1dMnwJ47hlM98Q3j1a84c4zajRC68fMw1RXHOAqAm7XYEw OV5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695222589; x=1695827389; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=liEC/MXKxk52WcboFaHdkuAAiNONbX+86+YVQrxnS2Q=; b=etpB3yu0qqRqdJ9La/9ZpfUiSHKP4rhQiMWKSm2NpKb0BvajgOOSBYIaVZ2WCqColy 0l+tw/SFRLl2pBPis/JtY9pfOS2j14QHaJnz1i73vPYxt5muXaNam2Sd8tOeU6V8t0lj 3ddIqW3+oAubMYVXxoPkn6vPFCvRhoi3blrBhVJD5e/w9iLiM+qTk9CQR8qgPr0pwLZJ 6FKlpHVdxVhKlScJdTallJfYou9cvjnvydXct1m5CjwT5H1kLmjfGEEZG3Gx324Qfmc3 PJGmQSyLhvfYNZr83apZM25JCW+TYHW9vUgfJDEjboSmqlmY0hg1sHwA22aYyeI/CTfn dM1g== X-Gm-Message-State: AOJu0YzgkEPwRN1hcr+d+EjSAmPeXVQHsDZH+nUnybGt+u8StO+t2grD 3wQCSWjZV4BcdIHZ5/QSOW4= X-Google-Smtp-Source: AGHT+IFPfoDwlt4QP7sa3ZyyfiqUid6Zvm3yCzowu+A3lBT1y5qNEEjKirL5XW8xnNL47aZKDLNhpQ== X-Received: by 2002:aa7:da81:0:b0:530:97b5:49ce with SMTP id q1-20020aa7da81000000b0053097b549cemr2638897eds.10.1695222588600; Wed, 20 Sep 2023 08:09:48 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ace7.dip0.t-ipconnect.de. [79.227.172.231]) by smtp.gmail.com with ESMTPSA id m9-20020aa7c2c9000000b0052576969ef8sm9032959edp.14.2023.09.20.08.09.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 08:09:48 -0700 (PDT) Message-ID: <9a1c216b-fb4f-4b3b-b0d6-4f9958ec709e@gmail.com> Date: Wed, 20 Sep 2023 17:09:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Eli Zaretskii References: <83a5tlgoyz.fsf@gnu.org> <837copgnu3.fsf@gnu.org> <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> <83bkdwc2dr.fsf@gnu.org> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZT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OAXSR+qv4RGY 2XxdbsQVVr3Hx240IV9voxXqPa58Yt51qxlfdWaEkMcesqr8RPSS9FeEj0Zn4pWULp52j2Gu mTpJy4gnLkO12mUVOF/W9HazQdNjQqaAE2neimtmI5zUbGzdwKk7OBWGs9cBc3fJCZeAvuxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: <83bkdwc2dr.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: monnier@iro.umontreal.ca, 66022@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 23-09-20 17:04 , Eli Zaretskii wrote: >> Date: Wed, 20 Sep 2023 16:22:24 +0200 >> Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org >> From: Gerd Möllmann >> >>> You are saying that building Emacs in the source tree somehow updates >>> the .pdmp file in the _installation_ tree? That's got to be >>> macOS-specific, because that should never happen. The installation >>> tree is modified only by "make install". >> >> Yup it is. The installation is done in src/nextstep/Emacs.app/. >> Emacs.app is a macOS bundle that can then be copied/moved to where the >> user wants, for example to /Applications. >> >>> >>> Any idea which place in the Makefile's or in loadup.el does that? >> >> I think nextstep/Makefile.in contains >> >> # FIXME: Don't install the dump file into the app bundle when >> # self-contained install is disabled. >> ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} >> ../src/emacs${EXEEXT}.pdmp >> ${MKDIR_P} ${ns_applibexecdir} >> cp -f ../src/emacs${EXEEXT}.pdmp $@ >> >> and the "all" target has that the pdmp as a dependency. >> >> I have no idea though what the comment means, or if the cp if necessary >> for something. > > I guess no one imagined that someone will build Emacs from Git _and_ > install it. I' for example, run it directly from the source tree. > > But anyway, all you should remember is to say "make install" each time > you rebuild, and then this problem will not happen. Right? Well, the reason I do this to make sure I have a "good" build available, in case something. But that's not a big problem, once one knows that a gmake (without install) does what it does :-). From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 12:58:01 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 16:58:01 +0000 Received: from localhost ([127.0.0.1]:60277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj0WX-0004oV-9g for submit@debbugs.gnu.org; Wed, 20 Sep 2023 12:58:01 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj0WU-0004oE-8s for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 12:58:00 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 33DCB801E0; Wed, 20 Sep 2023 12:57:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695229061; bh=fPpf5LD4dg9SDv3gf85l5zUb7rzL7Jg2mdEMb/igeDI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JD3+Kt8DD8uHjYPztaeh1XwcR0cfLkKOVBAS0RxtwheIu4GwwZuDWs8ydmOr21vIP r+DVDRsxqMciQJCaR5KAAjwn1/G8lZFgCIJYDR/xVNTu5naK3JkYJ9vBPUjUo5QiNd qKyGHYfMruHlcuaFvXgYP+rouIVqItAXeO1V+0i9hgVwjNRTXdKn/8yWKNliq34R/B R8s6Fe2ovkICAaAmjlWXDBox/YqZzjM0yuPl9XgCAveEFRwMX+28rchw6ZksQoNtm8 NULgBCNVxaLJryD9CmBtpClD6LnmKUsvwpi81GfwgybH8J6CDiu4akHSi+ihTVF1hY v03A1GpdF+2Mw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E410F800E7; Wed, 20 Sep 2023 12:57:41 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D419F1203CF; Wed, 20 Sep 2023 12:57:41 -0400 (EDT) From: Stefan Monnier To: Gerd =?windows-1252?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> ("Gerd =?windows-1252?Q?M=F6llmann=22's?= message of "Wed, 20 Sep 2023 16:22:24 +0200") Message-ID: References: <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> Date: Wed, 20 Sep 2023 12:56:22 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.077 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , 66022@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 (---) >> Any idea which place in the Makefile's or in loadup.el does that? > > I think nextstep/Makefile.in contains > > # FIXME: Don't install the dump file into the app bundle when > # self-contained install is disabled. > ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} > ../src/emacs${EXEEXT}.pdmp > ${MKDIR_P} ${ns_applibexecdir} > cp -f ../src/emacs${EXEEXT}.pdmp $@ > > and the "all" target has that the pdmp as a dependency. Sounds like a bug, yes: either the same thing should be done for all the files in ${ns_applibexecdir} or it should be done for none. This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory is built, so maybe this is a feature rather than a bug. > I have no idea though what the comment means, or if the cp if necessary > for something. The FIXME sounds to me like it's hinting at the same bug you're seeing (tho maybe another manifestation of it), and since there's a FIXME I presume that fixing it isn't as simple as removing this rule :-) Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 14:25:13 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 18:25:13 +0000 Received: from localhost ([127.0.0.1]:60359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj1sv-0007Rr-BD for submit@debbugs.gnu.org; Wed, 20 Sep 2023 14:25:13 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:54415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj1sr-0007RQ-Pp for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 14:25:12 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9936b3d0286so6942166b.0 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 11:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695234294; x=1695839094; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1aFoDjdnlzO3Ws3PqzRHb+y3gKvVYMAzGjJMndpzamE=; b=TCV+yqgH6eHQyxhtIlTFDOeVIKOzaj7yZ+Z3WhwypAjrAeJwPoeEK7Q3hYXMNylNKd +EZ5T2mFmMzrsGvzcDTv1ieyEEvdUchuUZx2YqPDs34CviI4110gErKjVALiF6+s/iKj FdI5l55ukG/BPRR8FEKb36XCCRaRXksrU0X+KK/iidJDhBAeYEG55dEbx0UgxOuKSmxF frH4Qh6Jd0Ar7yFEX5BS9RLkTAS8MSTN8Vzn8M58nDQJ2D1LNnmw0uHDBrdtJb0+q+h/ yUjiW4UKkoD4uXU+Yjn8qZqZqCNlGeK4oOQ/jZgEOL0y8mOQg//FPiQN70r75CqDw5yp UsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695234294; x=1695839094; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1aFoDjdnlzO3Ws3PqzRHb+y3gKvVYMAzGjJMndpzamE=; b=pareGXLJ15bdeBZZuZA1uYGv7RdH3q98m/5lLKHAp5+MGarGfnu311f1vKdUUhltOY IEfSozGkOiPfF6XeEOA0SW9JYjAYWEH3UMzgUM3FzuY4saKA6v8wL0WN2tYtjkobuXM4 hphtIYNhrspfDju1ZO6TKRYFNIBWChMETk6cldZiJMvheV71fP/Ns1Ua1eqkbzXDvZuL dkEoscb6yhBxc9HD49DpsVzSz6kr3bRL1o6gIXQl9tLDUDiInItB7BZdJLztJTodeNu6 /6/grFFpWry5cIF5kLe+pwVTwhGChevtKha8aXC7ulpk6Rc45ghJHGQI3MSZHNTvav8H HdZQ== X-Gm-Message-State: AOJu0Yxvbgal5/71/3HWHaTJsWf4qi+jtvKL9zCqygIYDxZoSreEsogp l1mttTzZ52w7GWBuDFGma6Q= X-Google-Smtp-Source: AGHT+IEh8AAvQuFeZUpBF6mmxuEJ6QjF5r8bJjEMEHZzgO/6yp8KswIq/YoHbnW+LfS61HV4qbo7OQ== X-Received: by 2002:a17:906:7387:b0:9ae:3f69:9b89 with SMTP id f7-20020a170906738700b009ae3f699b89mr3183617ejl.7.1695234294102; Wed, 20 Sep 2023 11:24:54 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ace7.dip0.t-ipconnect.de. [79.227.172.231]) by smtp.gmail.com with ESMTPSA id w15-20020a17090633cf00b009944e955e19sm9667599eja.30.2023.09.20.11.24.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 11:24:53 -0700 (PDT) Message-ID: Date: Wed, 20 Sep 2023 20:24:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Alan Third References: <83y1h5f58u.fsf@gnu.org> <48b2ed95-ecd6-4e9f-bde5-835edc6aab15@gmail.com> <83o7hzedph.fsf@gnu.org> <83led3ecxc.fsf@gnu.org> <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wMq/9d6S2EckCZAnH7R1romvtJhcse+uz tB2nyqxvCwMzZ28RrJiXkR4QIMSJi1ZMHU0dFQlkwZ/sRN0asQARAQABzSlHZX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1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , Stefan Monnier , 66022@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 23-09-20 18:56 , Stefan Monnier wrote: >>> Any idea which place in the Makefile's or in loadup.el does that? >> >> I think nextstep/Makefile.in contains >> >> # FIXME: Don't install the dump file into the app bundle when >> # self-contained install is disabled. >> ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} >> ../src/emacs${EXEEXT}.pdmp >> ${MKDIR_P} ${ns_applibexecdir} >> cp -f ../src/emacs${EXEEXT}.pdmp $@ >> >> and the "all" target has that the pdmp as a dependency. > > Sounds like a bug, yes: either the same thing should be done for all the > files in ${ns_applibexecdir} or it should be done for none. > > This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory > is built, so maybe this is a feature rather than a bug. > >> I have no idea though what the comment means, or if the cp if necessary >> for something. > > The FIXME sounds to me like it's hinting at the same bug you're seeing > (tho maybe another manifestation of it), and since there's a FIXME > I presume that fixing it isn't as simple as removing this rule :-) Hi Alan, this bug finally ended with finding that a plain "gmake" in the toplevel Emacs tree can copy src/emacs.pdmp to nextstep/Emacs.app/... which lead to me being completely puzzled. Do you perhaps remember what the FIXME in nextstep/Makefile.in is about (see above)? I guess a self-contained build is one building Emacs.app? I don't know what kind of build it is when it is not self-contained. The FIXME comes from this commit. 5dd2d50f3d5e65b85c87da86e2e8a6d087fe5767 Author: Alan Third AuthorDate: Wed Jun 16 21:28:10 2021 +0100 Commit: Alan Third CommitDate: Sat Jun 26 10:34:59 2021 +0100 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 14:51:05 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 18:51:06 +0000 Received: from localhost ([127.0.0.1]:60379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Hx-0008Mi-HD for submit@debbugs.gnu.org; Wed, 20 Sep 2023 14:51:05 -0400 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2218:0:1]:55175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Hr-0008Lw-Re for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 14:51:03 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4RrSKG13lhzyRs; Wed, 20 Sep 2023 18:50:42 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4RrSKF5XlYzHl; Wed, 20 Sep 2023 18:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1695235842; bh=iMmqzuW/VUKrUx6EUJMuKUb9dgTl0UOCrn1hF7rfysg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kAI0DV52bd+K2b3lR1bD1WYlqkZ0gXjd86lnDiN2rUUgqeGxJWNzTIs3nRrI7fK8Q 4i2OrrBOo7YuMLZqjkMWMxEdJDHMGzwOkjXDEcMbF98Zxx3lDuUAdrT9uEV/44uScf n88lXlW5zCDCnfF6+I3Ft3HnXK05UotZMQL0qe2lpD8ssO6fO4HdnJjk87DuysGtRx RlxGAdIFrVZhQjNz4tW3PyCv9kZbdwiMw9aNznDOdyJCWcLaXYFsU0ZysPSFRP5mHI 2rfktcCQ2r2GxIC7N4Q6UUgiJ3zePTUiYKWqgBFDB8gYbtE9ldAkty/SXRTd3461rk ICj/P41FdZ5rQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qj2HZ-000CFR-0V; Wed, 20 Sep 2023 19:50:41 +0100 Date: Wed, 20 Sep 2023 19:50:41 +0100 X-Soverin-Authenticated: true From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 66022@debbugs.gnu.org, Stefan Monnier References: <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66022 Cc: Eli Zaretskii , Stefan Monnier , 66022@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.7 (-) On Wed, Sep 20, 2023 at 08:24:52PM +0200, Gerd Möllmann wrote: > On 23-09-20 18:56 , Stefan Monnier wrote: > > > > Any idea which place in the Makefile's or in loadup.el does that? > > > > > > I think nextstep/Makefile.in contains > > > > > > # FIXME: Don't install the dump file into the app bundle when > > > # self-contained install is disabled. > > > ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} > > > ../src/emacs${EXEEXT}.pdmp > > > ${MKDIR_P} ${ns_applibexecdir} > > > cp -f ../src/emacs${EXEEXT}.pdmp $@ > > > > > > and the "all" target has that the pdmp as a dependency. > > > > Sounds like a bug, yes: either the same thing should be done for all the > > files in ${ns_applibexecdir} or it should be done for none. > > > > This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory > > is built, so maybe this is a feature rather than a bug. > > > > > I have no idea though what the comment means, or if the cp if necessary > > > for something. > > > > The FIXME sounds to me like it's hinting at the same bug you're seeing > > (tho maybe another manifestation of it), and since there's a FIXME > > I presume that fixing it isn't as simple as removing this rule :-) > > Hi Alan, > > this bug finally ended with finding that a plain "gmake" in the toplevel > Emacs tree can copy src/emacs.pdmp to nextstep/Emacs.app/... which lead to > me being completely puzzled. > > Do you perhaps remember what the FIXME in nextstep/Makefile.in is about (see > above)? I guess a self-contained build is one building Emacs.app? I don't > know what kind of build it is when it is not self-contained. Yeah. A non-self contained build is a standard UNIX style install. i.e. the files go into /usr/local or whatever --prefix is set to. The slight fly in the ointment here is that we support the ability to do that normal UNIX-style install, but still have an Emacs.app that will run the installed Emacs. I don't really understand how it works, or really why anyone would want to do that, but it's described in the nextstep readme, iirc, and people do sometimes use that functionality. I put that FIXME in because I couldn't work out how NOT to install the pdmp file into the .app dir when doing that UNIX style install. It still gets installed somewhere under PREFIX, but is copied into the .app as well, even though that copy is never used. I'm not great at writing Makefiles. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 15:04:51 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 19:04:51 +0000 Received: from localhost ([127.0.0.1]:60393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2VG-0000Mf-N5 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 15:04:51 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:58818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2VE-0000MN-2K for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 15:04:49 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c022ce8114so2238641fa.1 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 12:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695236672; x=1695841472; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IqDCQO0pZXvlQVcZzdqjWuWAnKgq1mV23f6LV2fBxm4=; b=DbKgXM9ohXI2PpvmEu0CqslT9OG5Fq4UB+d54RZaTZQRec76ZxbFNGlLfdWp10vPEn kSlEKERcV3vUCAOkPhcVSdhew7Z9gHpdneo2l2ULy62Gf0BmOfTuvdTCNmhbsUyXvOn+ uarUtSAwjl42/1GprJp5DptGqTSb/R2coB1gEfz01l6yB0MqucI/I7Pw77gkvlgH6WIi j5NmLz7U6sqE3uWmd/fe4/XKBZXHAB4cTXcJDxAOtBvUQkFGTxYU2pdR1z+3RcHZVGGm HExLFvu/tiDr9DBKP2ztx/ywjBf2F/ixBkWe0RO36jVZekEudWPL+bgyhj5a0f4KV0tC mYtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695236672; x=1695841472; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IqDCQO0pZXvlQVcZzdqjWuWAnKgq1mV23f6LV2fBxm4=; b=SVuTBppUZDEMLxDJnaHsUEiqYDbtkNzf0bxi5nvA5p3wDZHeXcTLpUQSJHyh5Ns76u EkO+349YN5gZ5TpWTQqHuY/k/G8kq5QvgDFnJiOAU+lVu8+twALfsCT9B7VncfQpw6Za 8V0DzFYyaYNAJHUdOht4ABvIFS1p2EuS0Oa3SZ3CE2giF1EJDkjtUgtWIjbI870rNihu nJ6aXToaIF+ib5WOCmmYYogyu7bixkt5rVxEdoBmjV6LdQyskOghIhWhlH1PxcSX9ntP hqN49c5MZIcbYvc7mpPe3z7gFx50wE/yByZ2QC5BqUaju92Ul/Pi4/kk1slrvPeGXwWz DTkA== X-Gm-Message-State: AOJu0YyLfyvAK0BNoG7Cmn7mdB5OBNh0xwPQd9/MLJNHJ0FyeqYD/OSe Mqf1QNFMVjTN1OSweKvjw2M= X-Google-Smtp-Source: AGHT+IEEy2T4JT8jnDEqFui/F0PewFfItOyDwDmZ+YIhQnkyLcCmMFE04WUgaRfUM8OSf2TedzkWVw== X-Received: by 2002:a2e:884e:0:b0:2bc:39f5:ecb4 with SMTP id z14-20020a2e884e000000b002bc39f5ecb4mr3035523ljj.25.1695236672375; Wed, 20 Sep 2023 12:04:32 -0700 (PDT) Received: from [192.168.178.26] (p4fe3ace7.dip0.t-ipconnect.de. [79.227.172.231]) by smtp.gmail.com with ESMTPSA id l27-20020a1709060e1b00b00985ed2f1584sm9733599eji.187.2023.09.20.12.04.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 12:04:31 -0700 (PDT) Message-ID: <86d0b417-7dcb-439e-aa4a-d493edcd9a7d@gmail.com> Date: Wed, 20 Sep 2023 21:04:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Alan Third , Eli Zaretskii , 66022@debbugs.gnu.org, Stefan Monnier References: <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <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epLZnjX/VA2ZIQ3VYrEsVDh1T2zTIX4myP6NwLTOVFpryRDD+WgNaL l5gbRRAJVcAEq4T63+zucULN98w59sGggdLrViiCL6bEeujj5dSI+BD1rog1rwhfzqMRdhVi rd2GwqvZNceVo2syx4V2JSPdp8na2pTyM9zI68JYVyvP+R5ok5CyVmEHgRkz9HNnZuG/bEPn zqeLROI/mqbxydwPLYi6PS+QLQARAQABwsF8BBgBCgAmFiEEirYePpiT82Hjkftpc+obGZDF PmMFAmK3Qz4CGwwFCQeGH1IACgkQc+obGZDFPmOT+g/9Hlui+8/EEiq3iat9OAXSR+qv4RGY 2XxdbsQVVr3Hx240IV9voxXqPa58Yt51qxlfdWaEkMcesqr8RPSS9FeEj0Zn4pWULp52j2Gu mTpJy4gnLkO12mUVOF/W9HazQdNjQqaAE2neimtmI5zUbGzdwKk7OBWGs9cBc3fJCZeAvuxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 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 23-09-20 20:50 , Alan Third wrote: > On Wed, Sep 20, 2023 at 08:24:52PM +0200, Gerd Möllmann wrote: >> On 23-09-20 18:56 , Stefan Monnier wrote: >>>>> Any idea which place in the Makefile's or in loadup.el does that? >>>> >>>> I think nextstep/Makefile.in contains >>>> >>>> # FIXME: Don't install the dump file into the app bundle when >>>> # self-contained install is disabled. >>>> ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} >>>> ../src/emacs${EXEEXT}.pdmp >>>> ${MKDIR_P} ${ns_applibexecdir} >>>> cp -f ../src/emacs${EXEEXT}.pdmp $@ >>>> >>>> and the "all" target has that the pdmp as a dependency. >>> >>> Sounds like a bug, yes: either the same thing should be done for all the >>> files in ${ns_applibexecdir} or it should be done for none. >>> >>> This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory >>> is built, so maybe this is a feature rather than a bug. >>> >>>> I have no idea though what the comment means, or if the cp if necessary >>>> for something. >>> >>> The FIXME sounds to me like it's hinting at the same bug you're seeing >>> (tho maybe another manifestation of it), and since there's a FIXME >>> I presume that fixing it isn't as simple as removing this rule :-) >> >> Hi Alan, >> >> this bug finally ended with finding that a plain "gmake" in the toplevel >> Emacs tree can copy src/emacs.pdmp to nextstep/Emacs.app/... which lead to >> me being completely puzzled. >> >> Do you perhaps remember what the FIXME in nextstep/Makefile.in is about (see >> above)? I guess a self-contained build is one building Emacs.app? I don't >> know what kind of build it is when it is not self-contained. > > Yeah. A non-self contained build is a standard UNIX style install. > i.e. the files go into /usr/local or whatever --prefix is set to. > > The slight fly in the ointment here is that we support the ability to > do that normal UNIX-style install, but still have an Emacs.app that > will run the installed Emacs. I don't really understand how it works, > or really why anyone would want to do that, but it's described in the > nextstep readme, iirc, and people do sometimes use that functionality. > > I put that FIXME in because I couldn't work out how NOT to install the > pdmp file into the .app dir when doing that UNIX style install. It > still gets installed somewhere under PREFIX, but is copied into the > .app as well, even though that copy is never used. > > I'm not great at writing Makefiles. Thanks for the explanation, Alan! I'd never had expected that there is an installation to /usr/local on a Mac. But maybe Nextstep does it that way, never used that. Hm, maybe I can try something. I think I've seen a config variable somewhere. I'll come back tomorrow probably, it's a bit late now. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 15:06:27 2023 Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 19:06:27 +0000 Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Wp-0000Py-8H for submit@debbugs.gnu.org; Wed, 20 Sep 2023 15:06:27 -0400 Received: from dane.soverin.net ([2a10:de80:1:4092:b9e9:2294:0:1]:36591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Wl-0000PW-5m for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 15:06:26 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4RrSg23H1yz2xSZ; Wed, 20 Sep 2023 19:06:06 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4RrSg20zQ6zHl; Wed, 20 Sep 2023 19:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1695236766; bh=zdS2IdvYtD3zKk0jtmrYn0pxnHVZFXxh1uc0/G9/v5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K4ACLrt8rTruDdSLGy25RCmiqHuE6SRBRyBqp1dRYsiV+B+PueCs7w67mSn7IZFKA qwgea18q7aAxIU+Ex1JUrTpZoXUSMGO7b9x9YbbH7C9wPSQ8onxo0OCy3XkHcM4feq 4JLASYQ2vi0LLrIrvU/Om05tt+AyBQgHHi3BnjVrAr0VrqGBoXQX/l7oRPXEOYGUBh Vzg3bK46+KzL92XZIczGL+VvJmroelyZAlvUlQPtwBTMtxSJtDC1vAOiGBHHYkA6Uz BKyRA1DIOtZQ8nk1DpD/eQd549jTuY8xniB1W4KjWHJxRf1zvvXy2FBLD0NXAHzulO j3hIuMzUdNBNQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qj2Vp-000CII-26; Wed, 20 Sep 2023 20:05:25 +0100 Date: Wed, 20 Sep 2023 20:05:25 +0100 X-Soverin-Authenticated: true From: Alan Third To: Stefan Monnier Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Message-ID: Mail-Followup-To: Alan Third , Stefan Monnier , Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 66022@debbugs.gnu.org References: <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66022 Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 66022@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.7 (-) On Wed, Sep 20, 2023 at 12:56:22PM -0400, Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > >> Any idea which place in the Makefile's or in loadup.el does that? > > > > I think nextstep/Makefile.in contains > > > > # FIXME: Don't install the dump file into the app bundle when > > # self-contained install is disabled. > > ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} > > ../src/emacs${EXEEXT}.pdmp > > ${MKDIR_P} ${ns_applibexecdir} > > cp -f ../src/emacs${EXEEXT}.pdmp $@ > > > > and the "all" target has that the pdmp as a dependency. > > Sounds like a bug, yes: either the same thing should be done for all the > files in ${ns_applibexecdir} or it should be done for none. > > This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory > is built, so maybe this is a feature rather than a bug. I think it's probably a bug. IIRC the Emacs executable in the Emacs.app directory is updated when you do a "make", and the above code runs at the same time, otherwise you end up with an inconsistent .app. Clearly you get an inconsistent .app anyway. I don't know why it works that way, I was never able to fully understand how Emacs.app is built, and I guess someone either thought it was a good idea or made a mistake. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 21 01:13:46 2023 Received: (at 66022) by debbugs.gnu.org; 21 Sep 2023 05:13:47 +0000 Received: from localhost ([127.0.0.1]:60774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjC0Y-0002tI-EY for submit@debbugs.gnu.org; Thu, 21 Sep 2023 01:13:46 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:49408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjC0T-0002t2-Ek for 66022@debbugs.gnu.org; Thu, 21 Sep 2023 01:13:44 -0400 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9ad8bba8125so60880866b.3 for <66022@debbugs.gnu.org>; Wed, 20 Sep 2023 22:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695273206; x=1695878006; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iLxJphKYy8nS543sJrSmWxYd7MLB3iNo9tMqa7iHtC8=; b=UIduYQfNVMmf+GvbMVZv5pUMAuLrpoGT5rbmiyRaitLiHU29qwnwks06uEDdJQ6U/l sYEq24jSmT2MAgpIdPcN9sgmzhR9L+CJO+yK7XfsINX6EMQwVwA8amJIGvpCpJpee2fA sLVdEAoI/9UafGHIamWGVE2ABbcrA565dcTxBcY1OuUr5UFTZuO1qUvp2AjgR+OvJFR+ PP1i6OlsDi7He7PX3sKLPBkhgZ9gNtyN5wo2PsFVpxlA5PCUOYLwqwAykgt+b8nxA65k 8JvqInyNlc7AQJchmZyP1zf09MltN+PBLj8iEeixJWfabKtyFPyNKjmcUNzxRuOrIwpX Nxpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695273206; x=1695878006; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iLxJphKYy8nS543sJrSmWxYd7MLB3iNo9tMqa7iHtC8=; b=L9dCpQh8Dyk9xe8h1nnWjezMy1czIhRSTkBXTM/VnEDw/xt1mkX8CqiYll6okYR+Gp 5OXY7iPXOTPMQUp2naquW5gPVxYZDY1glwleh9HNKheo/bpR6HvYw12/6Q9E/ukbjdMh MS6JYJnk0R5QL0o0nCypMg5VFV8rSjrBfUEeSLhQM354dXAopilWZc2Fn7ZEyLcPAxd6 POmUnkSEDRzhVzmoNDWp+P+my+B+OzCkfVDwu5PGvIfQMS1E3HcwCSoVcPVfzpWSLH8S zPlpCR8G3TDFDHBwypPuVuXZJd08hzP3dlOdnvGYiXglMQ85HcEHo5Qn0Tf36Xnb6t1e tQoA== X-Gm-Message-State: AOJu0YyVstVExuYQZysacHHemAy+C6hphaid02OeXjyqmCrGk3qshpyy cZGZDscbbvi9W/eFt9agmeM= X-Google-Smtp-Source: AGHT+IHZ95jywmHDdRaKLHzFUPU2d7OL545MQSx/iacxDwtin5LceEKZRL5Dq3z4TJxO8R6ej66fTA== X-Received: by 2002:a17:906:530c:b0:9ae:4096:61bf with SMTP id h12-20020a170906530c00b009ae409661bfmr3996196ejo.66.1695273205583; Wed, 20 Sep 2023 22:13:25 -0700 (PDT) Received: from [192.168.178.26] (p4fe3aa86.dip0.t-ipconnect.de. [79.227.170.134]) by smtp.gmail.com with ESMTPSA id qq23-20020a17090720d700b00993664a9987sm466444ejb.103.2023.09.20.22.13.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 22:13:25 -0700 (PDT) Message-ID: <8cbeae03-91af-4170-b711-204cf057e707@gmail.com> Date: Thu, 21 Sep 2023 07:13:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings Content-Language: en-US, de-DE To: Alan Third , Eli Zaretskii , 66022@debbugs.gnu.org, Stefan Monnier References: <8f8f6fad-c293-40c6-9bdb-81ed40554e2d@gmail.com> <4418cdb1-ddba-41ce-acfe-8f8b4453292c@gmail.com> <83jzslaq8r.fsf@gnu.org> <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> From: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0La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Y 2XxdbsQVVr3Hx240IV9voxXqPa58Yt51qxlfdWaEkMcesqr8RPSS9FeEj0Zn4pWULp52j2Gu mTpJy4gnLkO12mUVOF/W9HazQdNjQqaAE2neimtmI5zUbGzdwKk7OBWGs9cBc3fJCZeAvuxE 3zTM/AoeFkqQ94F7jQERV+PNTbnNsXAj/0mu4Kp/nJsX2+b6V4zl2VN7GvSWuPyXCi8SZGZt fj4eETb0P7N1gCpch7NjhFe3nYWRG5D6HdcXak0DYsXwd3CbEHo8s36bSbIZ1EgIKjoqNow3 MrqJQsCuT8zajL95zBUICjF7IDYHW7EIDOma6p3D4dSJ+ySPkV5ZKzoqDEKKSKmgV9hDMknp Vsm6TRCyz+y3iDW4Fl8pTPR30Ug+vuNM5jK328wcpYrKrzbjf5JK3lT9fRV/uzBUTBjVE7oL yEGHWwCb5gr+dWSscS6l2Jjeh7fgpfhrbCZYvvcxC4Bfu1kFAhH20VFGYbo6O3xlNwJp8esi d1hplqC5SK7WmjZI0yEODn5Nt2fnk4zq1kXyqyj9jIh7VvYBJ7MDKcSINBwdOnSbmtYhUQfW 1fiKRG+gNgVI1o+mYoBgNd80vK8xfNUZjW8aVzJsS6F4C4hLXjs9dHKfEcgRnndY+AgoHVZy Vp5NW5c= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 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 23-09-20 20:50 , Alan Third wrote: > On Wed, Sep 20, 2023 at 08:24:52PM +0200, Gerd Möllmann wrote: >> On 23-09-20 18:56 , Stefan Monnier wrote: >>>>> Any idea which place in the Makefile's or in loadup.el does that? >>>> >>>> I think nextstep/Makefile.in contains >>>> >>>> # FIXME: Don't install the dump file into the app bundle when >>>> # self-contained install is disabled. >>>> ${ns_applibexecdir}/Emacs.pdmp: ${ns_appdir} ${ns_check_file} >>>> ../src/emacs${EXEEXT}.pdmp >>>> ${MKDIR_P} ${ns_applibexecdir} >>>> cp -f ../src/emacs${EXEEXT}.pdmp $@ >>>> >>>> and the "all" target has that the pdmp as a dependency. >>> >>> Sounds like a bug, yes: either the same thing should be done for all the >>> files in ${ns_applibexecdir} or it should be done for none. >>> >>> This said, I'm, 100% unfamiliar with the way the `Emacs.app` directory >>> is built, so maybe this is a feature rather than a bug. >>> >>>> I have no idea though what the comment means, or if the cp if necessary >>>> for something. >>> >>> The FIXME sounds to me like it's hinting at the same bug you're seeing >>> (tho maybe another manifestation of it), and since there's a FIXME >>> I presume that fixing it isn't as simple as removing this rule :-) >> >> Hi Alan, >> >> this bug finally ended with finding that a plain "gmake" in the toplevel >> Emacs tree can copy src/emacs.pdmp to nextstep/Emacs.app/... which lead to >> me being completely puzzled. >> >> Do you perhaps remember what the FIXME in nextstep/Makefile.in is about (see >> above)? I guess a self-contained build is one building Emacs.app? I don't >> know what kind of build it is when it is not self-contained. > > Yeah. A non-self contained build is a standard UNIX style install. > i.e. the files go into /usr/local or whatever --prefix is set to. > > The slight fly in the ointment here is that we support the ability to > do that normal UNIX-style install, but still have an Emacs.app that > will run the installed Emacs. I don't really understand how it works, > or really why anyone would want to do that, but it's described in the > nextstep readme, iirc, and people do sometimes use that functionality. > > I put that FIXME in because I couldn't work out how NOT to install the > pdmp file into the .app dir when doing that UNIX style install. It > still gets installed somewhere under PREFIX, but is copied into the > .app as well, even though that copy is never used. > > I'm not great at writing Makefiles. I think I fixed this now on master, in d0b1e3647fb4e6d889f9f999388c53daf0e67f0d. This leaves a non-self-contained alone, just in case. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 01:01:56 2023 Received: (at 66022) by debbugs.gnu.org; 4 Oct 2023 05:01:57 +0000 Received: from localhost ([127.0.0.1]:41210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnu1E-0006Ia-NP for submit@debbugs.gnu.org; Wed, 04 Oct 2023 01:01:56 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:59713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnu1C-0006II-KP for 66022@debbugs.gnu.org; Wed, 04 Oct 2023 01:01:55 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40684f53ef3so2001255e9.3 for <66022@debbugs.gnu.org>; Tue, 03 Oct 2023 22:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696395691; x=1697000491; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=vgRL3UTAT6E49uT5wM9xfVAPI3C8Cli84n8yHgY5tD4=; b=jzisDrBh73JkBRLvdK3M9YNr25xhx1upK6H6ayEPUVEhQgn+xRCGxSVmpyoEPEIA3Z 55EBK2M1NPPwYQjussSCk04VhPI6bJtH1o2hzPi59RZ6MerLaIPI9S7m86ogHyjLBAfc iqgWvIFG/7ErvVE1e+rncyeUMy8A9Wgi8+SRpVE5t4UfSJ2mXBd7xr+Oq6wd84nhs6lw xgfINh3+mDB4GwxFOg4QWFSmW0dmh2ABQT1xIck9ZIeHSQpOsateI2egEVTCknPVqxLQ n+NoUsdSub9ltmU4JI4+HY7fiJGtxi0OcKANju1kSSnycx2bFtafGo+/BmqUluNUznOX Ef0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696395691; x=1697000491; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vgRL3UTAT6E49uT5wM9xfVAPI3C8Cli84n8yHgY5tD4=; b=GWTOTHQWwmVJF2HZAwiujvbHLzqMS1PysNAAgUt+8OiMSx/ualzR3At23ZUKWgwqH7 M3+6YVwJUeFKPYfs/SHqn+aJAvPHzjBKjo0HZ8K71RIDS0n36DjkKYCJDmkX1Rt5OzbH 7ZTHcJwkqU2nBSeZpOqWoXmeH6TkabJiQ6le645/fjp0zgspFMxBhbHS5pAub4A2tkRY nedjG6PZDVbdqxvY+eYFDbmaQkx4Sip37h+NOyxs+1DylVnlllAYkwhaxTWExTgLZvlw tOA+1RXqoAAmJq6IwejdxM06amNxlSE8HdIQKi7CkrpOCa/WrCSmx7V1DtEg9hAPSgru AB3w== X-Gm-Message-State: AOJu0Yz4I0hVNZ64SnL3oF8ltsdDavJHU9JFC2w++j0Wr8TJ/MryDbeK A0e/TyzUXM/b1kMmbVTuc7rW0tGI5Nc= X-Google-Smtp-Source: AGHT+IE8gC5OnjrCNf6/0dHXFE5U7z4MtNSDWpnTxLcN7JDbuK7wwOdk0SOzX/E/pJS0ES3P2Y41LQ== X-Received: by 2002:a7b:cc8f:0:b0:403:7b2:6d8f with SMTP id p15-20020a7bcc8f000000b0040307b26d8fmr1311281wma.2.1696395690599; Tue, 03 Oct 2023 22:01:30 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac4e.dip0.t-ipconnect.de. [79.227.172.78]) by smtp.gmail.com with ESMTPSA id g23-20020a7bc4d7000000b00406725f27e1sm562926wmk.42.2023.10.03.22.01.29 for <66022@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 22:01:29 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: 66022@debbugs.gnu.org Subject: Re: bug#66022: 30.0.50; kmacro overwriting global keybindings In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 16 Sep 2023 08:38:22 +0200") References: Date: Wed, 04 Oct 2023 07:01:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66022 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 (-) Fixed for me with d0b1e3647fb, so I'm closing this. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 01:02:06 2023 Received: (at control) by debbugs.gnu.org; 4 Oct 2023 05:02:06 +0000 Received: from localhost ([127.0.0.1]:41214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnu1N-0006JN-Vu for submit@debbugs.gnu.org; Wed, 04 Oct 2023 01:02:06 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:62874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnu1M-0006Ik-IO for control@debbugs.gnu.org; Wed, 04 Oct 2023 01:02:04 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3232be274a0so252809f8f.1 for ; Tue, 03 Oct 2023 22:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696395701; x=1697000501; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=t+Q5Er6bnndLLDnzEr5ZNpI1a7CzHhokbkVgCJdQ0Zo=; b=lzAdLvg2kmflXLy5ApJ4XwIFD/hgQRunqBJEJgugIHM4i8zj3p9C1KGgrm6WNGj3Dw MUpXoqywq8IvkXLlE3ssE7avBQD7VdzjYCbmOFXYPRBggnljGBN+r2IbETdh4g0autgR vIs/K/h2loBeWeqthYoySePu0zxGJ27x7vSO92loNLgfrd89jD1dbt45oicPB8Bl2l+f 89XVy+x2LVFK/RjHTA/wErlY4O2DnGjyRCtbASGf/VpAzp78UcZ843Iv1ce1UFukQTfG ifDZ+DWfpgX9Ng41O6Yyqqj+AhXWtU0x/f6lk3eLWhMs1JyrF8GU+4VLoVqgTJFEljPL Kq8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696395701; x=1697000501; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t+Q5Er6bnndLLDnzEr5ZNpI1a7CzHhokbkVgCJdQ0Zo=; b=Bya/fQlALa9n15pFqCZwCrg4cr7n2/dgalJ5uVKrk4aCUkMx1BgbyZ3a8AZ4nyc7+1 q+yoe4G1M4elVTgkpGlZHO7d2mms9spOP2hr6VTv1mSN2FnWEy99TYrZiJMefXk46nnx BnK1vYpxHzpa7D1WE0Gt4QYN8kXQtyE791SFj+HznIgr8TwXeOZwsbdamAo2lSx4MKoX daG8Vwz7ZNSL/goKVDq1zJXd531DEm0w/txEpBMuHkkU4iLc84wHbQtxhLS1yGUv6xEG dgMJyOKy48aoypPWVWOqR/AfF0HhrRXZIFK93dvEsNdsbR+lNGys4RTxfbymaSelsZID qczg== X-Gm-Message-State: AOJu0Yx23/c9MdHaq7H/CCgTJET+HGHSyZovIRbBft30IodcjpxQg2A4 +JgCPaeYjM6DPxnvx3p6E4ZNHj7fix8= X-Google-Smtp-Source: AGHT+IFirxSisoNNnB5qNllZcAo8DNYYjPGhobLEtGUcN+53jxriz1ssjFlF93EENU8u5Mp+flC9xw== X-Received: by 2002:adf:fe0e:0:b0:319:7ec8:53ba with SMTP id n14-20020adffe0e000000b003197ec853bamr765424wrr.14.1696395700818; Tue, 03 Oct 2023 22:01:40 -0700 (PDT) Received: from Pro.fritz.box (p4fe3ac4e.dip0.t-ipconnect.de. [79.227.172.78]) by smtp.gmail.com with ESMTPSA id j6-20020adfff86000000b0031423a8f4f7sm3042766wrr.56.2023.10.03.22.01.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 22:01:40 -0700 (PDT) Date: Wed, 04 Oct 2023 07:01:38 +0200 Message-Id: To: control@debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Subject: control message for bug #66022 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) close 66022 30.1 quit From unknown Tue Jun 17 01:41:06 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, 01 Nov 2023 11:24:08 +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