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: Wed, 20 Sep 2023 16:22:24 +0200 Message-ID: <923759b2-d4b4-4b7a-b3f2-1f594d8acc16@gmail.com> 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> 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="3312"; 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 Wed Sep 20 16:23:27 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 1qiy6w-0000eZ-DI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 16:23:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiy6U-00019K-9B; Wed, 20 Sep 2023 10:22:58 -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 1qiy6R-00018b-8W for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 10:22:55 -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 1qiy6O-00086x-OL for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 10:22:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiy6Y-00065x-4s for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 10:23: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: Wed, 20 Sep 2023 14:23: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.169521976823404 (code B ref 66022); Wed, 20 Sep 2023 14:23:02 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 14:22:48 +0000 Original-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 Original-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 Original-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) Original-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) 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: <83jzslaq8r.fsf@gnu.org> 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:270927 Archived-At: 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.