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 21:04:30 +0200 Message-ID: <86d0b417-7dcb-439e-aa4a-d493edcd9a7d@gmail.com> 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=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16490"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Alan Third , Eli Zaretskii , 66022@debbugs.gnu.org, Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 20 21:05:14 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 1qj2Ve-00042G-Hc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 21:05:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj2VL-0001j0-NA; Wed, 20 Sep 2023 15:04:55 -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 1qj2VK-0001is-5f for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15: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 1qj2VJ-0008QW-UE for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15:04:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj2VR-0000NB-Qb for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15:05:01 -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 19:05:01 +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.16952366911409 (code B ref 66022); Wed, 20 Sep 2023 19:05:01 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 19:04:51 +0000 Original-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 Original-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 Original-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) Original-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) 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:270948 Archived-At: 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.