From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66022: 30.0.50; kmacro overwriting global keybindings Date: Mon, 18 Sep 2023 20:03:54 +0300 Message-ID: <83il87e7lx.fsf@gnu.org> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19341"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 18 19:05:03 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 1qiHgF-0004n5-5f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 19:05:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiHg8-00027t-ED; Mon, 18 Sep 2023 13:04:56 -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 1qiHg6-00027V-Ip for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 13:04:54 -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 1qiHg6-0008Dc-A1 for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 13:04:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiHgE-0000au-AO for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2023 17:05: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.16950566732230 (code B ref 66022); Mon, 18 Sep 2023 17:05:02 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 18 Sep 2023 17:04:33 +0000 Original-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 Original-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 Original-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==; 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) 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:270826 Archived-At: > 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.