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: Thu, 21 Sep 2023 07:13:23 +0200 Message-ID: <8cbeae03-91af-4170-b711-204cf057e707@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="18854"; 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 Thu Sep 21 07:14:11 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 1qjC0w-0004gk-Lq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Sep 2023 07:14:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjC0k-0003Aj-Gi; Thu, 21 Sep 2023 01:13:59 -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 1qjC0e-0003AV-Ps for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 01:13: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 1qjC0d-0005ih-Sn for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 01:13:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjC0n-0002tt-Ka for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 01:14: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: Thu, 21 Sep 2023 05:14: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.169527322711120 (code B ref 66022); Thu, 21 Sep 2023 05:14:01 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 21 Sep 2023 05:13:47 +0000 Original-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 Original-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 Original-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) Original-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) 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:270974 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. I think I fixed this now on master, in d0b1e3647fb4e6d889f9f999388c53daf0e67f0d. This leaves a non-self-contained alone, just in case.