From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#72768: [PATCH] Keep local keymap out of vc-git-stash-get-at-point Date: Sun, 8 Sep 2024 05:11:29 +0300 Message-ID: References: <86le0nzuar.fsf@outlook.com> <861q2bndj9.fsf@gmx.net> <86bk0zzzmm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 72768-done@debbugs.gnu.org To: Eli Zaretskii , James Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 08 04:12:22 2024 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 1sn7PZ-0000y5-4T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Sep 2024 04:12:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sn7PJ-0001BC-8Y; Sat, 07 Sep 2024 22:12:05 -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 1sn7PF-0001AX-A1 for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 22:12:01 -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 1sn7PF-0003dK-0J for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 22:12:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=Kbhl9ubgK5EKlCVlJl38X+4m3feEOxVNkiYKDqSlORs=; b=q/uTCGk1AUF8c87x5SaWJqU4DNRYUgLTAcM8/wrlXId217zvASzJo6yBmKiCzE8BkHvNvnPn6XPX3yC8BO2s4imjLN+nVg+7FNWuAvw1VgN+qXS02/2J1F4JGmQ6eWsFZOh9+cdX/HbDJ40myn9PPYCaogSt6oHZ9xBBVJTQiASM0JOncfJAG8nEG4saGKbqaibTdjNr1wxCZTJNiSCX9oJXfFVoUS7hTmEiq9g9I+GadXTOE89xRWa1Xa6w7MFzrX8YY5L5XWjR1kIeDGU1lQiYEz3RyuhyqX75mfz9kIHhmkQ/iv65ptuS1cDvPa2oFhEW7kNInuHY/06BDKezpg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sn7PG-0003By-Hj for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 22:12:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Sep 2024 02:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 72768@debbugs.gnu.org, dmitry@gutov.dev, jimjoe@gmx.net Original-Received: via spool by 72768-done@debbugs.gnu.org id=D72768.172576150212232 (code D ref 72768); Sun, 08 Sep 2024 02:12:02 +0000 Original-Received: (at 72768-done) by debbugs.gnu.org; 8 Sep 2024 02:11:42 +0000 Original-Received: from localhost ([127.0.0.1]:57806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sn7Ov-0003BE-LA for submit@debbugs.gnu.org; Sat, 07 Sep 2024 22:11:42 -0400 Original-Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]:40523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sn7Ot-0003Az-LG for 72768-done@debbugs.gnu.org; Sat, 07 Sep 2024 22:11:40 -0400 Original-Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id D9BD3114012F; Sat, 7 Sep 2024 22:11:32 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Sat, 07 Sep 2024 22:11:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1725761492; x=1725847892; bh=Kbhl9ubgK5EKlCVlJl38X+4m3feEOxVNkiYKDqSlORs=; b= kIHQLvz8zwlhFHmcH19bAAkAM2LidH0H6gaZkMOg/ULMuLYgjpKlcA4o7OIfljLE Xp29RJONEZ2i4yHooI8oLamHkPTDswckdm8ZjUnGyQLDyBWb3wfSZksdQkfZoaOT CPv+TNjH+mgcRCfDgoWu2TJ8/yWwmWvoCTiTi8vsJXRFaYzcQ1M6tApM0rkvk2gf CEfwUpQTz/OiV8sHN3qmAVVehrKbRzpil1+b2inQjyGxqBDhYEY0Z5308QAVKs1v 7bH5/da/hTe9xsWnTt/AUtBNqeicbeXbPaaGyRv/olXOyROWV+xapzHSwDVx9FvK E/4Miwzpo3G+muhB3JRjEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725761492; x= 1725847892; bh=Kbhl9ubgK5EKlCVlJl38X+4m3feEOxVNkiYKDqSlORs=; b=e hE7atyoh1EtUh7TGGuZCmm9fJ7pkPxcZsUIrDHzR8Uww7BW3gPTou6nVnNCrJOkI yov0BWPJaR4EsT63SefXjv7ivyVDbuNywdUjru7xOLFz9tWgR0hqkN9rSygkJjAv Z+iHY9QTmo68JKO5cFApC9b3nPIhBM/MIHp8y/K6qOr5oaxH3dWbZLBvE61yBqEZ x3IOUI5zIv7Tu29Riu5pEavV5Ffgz2MGR5n/UKF+8kKD3Mv5FkM0HWKnucK78C0N fgmq3gJ0zos75JgqXjv8frCn/TtEYCQlT4vijpRVLTqZPATPNOQMg70zYshT7Thq HAQvQ4f5HG7vXdEZY4taA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeigedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh dprhgtphhtthhopehjihhmjhhovgesghhmgidrnhgvthdprhgtphhtthhopeejvdejieek qdguohhnvgesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 7 Sep 2024 22:11:31 -0400 (EDT) Content-Language: en-US In-Reply-To: <86bk0zzzmm.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:291415 Archived-At: Version: 31.1 On 07/09/2024 10:33, Eli Zaretskii wrote: >> Date: Tue, 27 Aug 2024 03:37:54 +0530 >> From: James Thomas via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> James Thomas wrote: >> >>> emacs -Q >>> (define-key key-translation-map [?\C-j] (kbd "RET")) >>> M-x vc-dir (select a git repo) >>> (with point on a 'stash' entry) C-x v ! = C-j (fails) >> Of course, if a 'stash' doesn't exist, it may be created, so that the >> steps are: >> >> emacs -Q >> C-x C-f (open a git-tracked file, make changes), C-x C-s (and save it) >> C-x p v (select the above repo) >> z c (create stash) >> M-: (define-key key-translation-map [?\C-j] (kbd "RET")) >> (with point on the new 'stash' entry) C-x v ! = C-j (fails) > Dmitry, any comments or suggestions? Makes sense. Pushed to master, thanks!