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: Sun, 17 Sep 2023 11:53:40 +0300 Message-ID: <83a5tlgoyz.fsf@gnu.org> References: <83edixgwrr.fsf@gnu.org> <83bke1gusz.fsf@gnu.org> 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="4952"; 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 Sun Sep 17 10:54:10 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 1qhnXe-0001BF-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Sep 2023 10:54:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhnXP-0006lb-NY; Sun, 17 Sep 2023 04:53: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 1qhnXO-0006lL-KP for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 04:53: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 1qhnXO-0006O1-Cq for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 04:53:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhnXV-0001WN-Jr for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 04:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Sep 2023 08:54: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.16949408405840 (code B ref 66022); Sun, 17 Sep 2023 08:54:01 +0000 Original-Received: (at 66022) by debbugs.gnu.org; 17 Sep 2023 08:54:00 +0000 Original-Received: from localhost ([127.0.0.1]:49030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnXU-0001W8-CG for submit@debbugs.gnu.org; Sun, 17 Sep 2023 04:54:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhnXR-0001Vu-QZ for 66022@debbugs.gnu.org; Sun, 17 Sep 2023 04:53:58 -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 1qhnXE-0006ND-QW; Sun, 17 Sep 2023 04:53:44 -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=WPxcnVHfORlH9t6t6aXE6qL2G9tIb6WPW2GYKMKDfMM=; b=omkXanppFsUm9BZeAVlb 15vJj7nJ3BbiSTQfQNdrGntL/4HMCfmaVsSyg5b7JoPnuUwmnZgetCA2uYNGjgqyyxZD6pZuHox8a CQnWj5qWUAA31esZZF2Q8zjp0Uk7IbsToKHRUr27vCc7QSz3Bw8W+80v02y44tZIqwa3xRUoul+B3 sOggrfNMjWD91bINDrHS1AQqy8f1LiEQbbpF6PjqLUzknkuE7imZrixBMXATvYmOP7SpeaHKdtLRy WsQy3CMTzPV40vEW9MlkNFOLC8uKhJ+VlD1J421HlYqHlhflDOT9+60bwLCoVFxBqPpS4WfmcM8++ fPXlA/BVYKpz8A==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sun, 17 Sep 2023 08:52:07 +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:270678 Archived-At: > From: Gerd Möllmann > Cc: monnier@iro.umontreal.ca, 66022@debbugs.gnu.org > Date: Sun, 17 Sep 2023 08:52:07 +0200 > > Eli Zaretskii writes: > > >> From: Gerd Möllmann > >> Cc: Stefan Monnier , 66022@debbugs.gnu.org > >> Date: Sun, 17 Sep 2023 08:40:06 +0200 > >> > >> I'm using use-package (+ straight) in my init.el, and because of that > >> the bindings are done, behind the scenes, with bind-key. The > >> use-package binding f2 looks like (stripped down): > >> > >> (use-package emacs > >> :bind > >> ;; FIXME: The function key bindings sometimes mysteriously > >> ;; disappear, and are replaced with the original bindings in > >> ;; global-map. > >> ("" . mode-line-other-buffer)) > > > > What does use-package do when the "package" is "emacs"? IOW, at what > > point in time will the above binding be executed, and what event will > > trigger that? > > Nothing. It's sort of an idiom I found on the net for general > customizations and so on that don't belong to a particular package. > Some people apparently name it "general". So the above binding of F2 is never executed in your case? Or else, how should I interpret your "Nothing" response to my question about the point in time when this binding is executed?