From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#66022: 30.0.50; kmacro overwriting global keybindings Date: Wed, 20 Sep 2023 19:50:41 +0100 Message-ID: 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=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , 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 Wed Sep 20 20:52:20 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 1qj2J9-0007Dx-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 20:52:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj2Im-00048k-JX; Wed, 20 Sep 2023 14:51: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 1qj2Ik-00048A-3B for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 14:51: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 1qj2Ij-0006SX-O6 for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 14:51:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj2Is-0008OR-FB for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Sep 2023 18:52: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.169523586632169 (code B ref 66022); Wed, 20 Sep 2023 18:52:02 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 20 Sep 2023 18:51:06 +0000 Original-Received: from localhost ([127.0.0.1]:60379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Hx-0008Mi-HD for submit@debbugs.gnu.org; Wed, 20 Sep 2023 14:51:05 -0400 Original-Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2218:0:1]:55175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2Hr-0008Lw-Re for 66022@debbugs.gnu.org; Wed, 20 Sep 2023 14:51:03 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4RrSKG13lhzyRs; Wed, 20 Sep 2023 18:50:42 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4RrSKF5XlYzHl; Wed, 20 Sep 2023 18:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1695235842; bh=iMmqzuW/VUKrUx6EUJMuKUb9dgTl0UOCrn1hF7rfysg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kAI0DV52bd+K2b3lR1bD1WYlqkZ0gXjd86lnDiN2rUUgqeGxJWNzTIs3nRrI7fK8Q 4i2OrrBOo7YuMLZqjkMWMxEdJDHMGzwOkjXDEcMbF98Zxx3lDuUAdrT9uEV/44uScf n88lXlW5zCDCnfF6+I3Ft3HnXK05UotZMQL0qe2lpD8ssO6fO4HdnJjk87DuysGtRx RlxGAdIFrVZhQjNz4tW3PyCv9kZbdwiMw9aNznDOdyJCWcLaXYFsU0ZysPSFRP5mHI 2rfktcCQ2r2GxIC7N4Q6UUgiJ3zePTUiYKWqgBFDB8gYbtE9ldAkty/SXRTd3461rk ICj/P41FdZ5rQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qj2HZ-000CFR-0V; Wed, 20 Sep 2023 19:50:41 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 66022@debbugs.gnu.org, Stefan Monnier Content-Disposition: inline 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:270946 Archived-At: 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. -- Alan Third