From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#66022: 30.0.50; kmacro overwriting global keybindings Date: Mon, 18 Sep 2023 17:25:20 +0200 Message-ID: <3eee4d40-decf-46f0-9a0d-26a2d0f2e383@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32675"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 18 17:26:10 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qiG8Y-0008DF-Gz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 17:26:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiG8O-00087H-4a; Mon, 18 Sep 2023 11:26:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiG8J-00086E-72 for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 11:25:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiG8I-0003xF-Am for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 11:25:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiG8Q-0000PA-4z for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2023 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66022 X-GNU-PR-Package: emacs Original-Received: via spool by 66022-submit@debbugs.gnu.org id=B66022.16950507391509 (code B ref 66022); Mon, 18 Sep 2023 15:26:02 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 15:25:39 +0000 Original-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 Original-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 Original-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) Original-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) Content-Language: en-US, de-DE 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/Nh45H7 aXPqGxmQxT5jBQJit0M+AhsDBQkHhh9SBQ In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270814 Archived-At: 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?