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#72768: [PATCH] Keep local keymap out of vc-git-stash-get-at-point Date: Sat, 07 Sep 2024 10:33:53 +0300 Message-ID: <86bk0zzzmm.fsf@gnu.org> References: <86le0nzuar.fsf@outlook.com> <861q2bndj9.fsf@gmx.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72768@debbugs.gnu.org To: James Thomas , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 09:35:21 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 1smpyb-0002ax-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 09:35:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smpyK-0007LE-5e; Sat, 07 Sep 2024 03:35:04 -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 1smpyH-0007KQ-Tu for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:35: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 1smpyH-0007HU-JS for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:35:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=rwMUtC+XMqDI+eghD84DnJmxKWI/TzRZ0K9FnDexdIg=; b=ThQvLv8L8+SUSafIXBXiJWofBpcJ/yOYl48NrGgtd19uHKgT2RGv6Ry3KnIrYnLLCjYydK7Fzz3q9VA38/IrfQncFJhePncQuVjx9/sUdKHE/29C+gP8PyCEvJguvaZ7TxRPPQWPOKe+Z4qnjeriS5vrpV2f6vkFjxpCsEi+iLfQ4qbTB/Pq4o9irwIRoKQkLSMxMcCKTbM1p0sbme9GCzHvDGSrCF8MsqT1dYufs1cPiVWRoFbTXPB3w7f5gMuuM+ixQOGyFw3+CPOlVqOZDEPxILXF5QMbLXHgH4Gb0AVZpzd9zBjErkMb9kt0NzUIu+y9Duzc/jDMBwtQk1OWPA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smpyI-0001Ey-0F for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 07:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72768-submit@debbugs.gnu.org id=B72768.17256944444663 (code B ref 72768); Sat, 07 Sep 2024 07:35:01 +0000 Original-Received: (at 72768) by debbugs.gnu.org; 7 Sep 2024 07:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:54696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpxM-0001D9-5M for submit@debbugs.gnu.org; Sat, 07 Sep 2024 03:34:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpxK-0001Cf-RG for 72768@debbugs.gnu.org; Sat, 07 Sep 2024 03:34:03 -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 1smpxE-00079h-W9; Sat, 07 Sep 2024 03:33:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rwMUtC+XMqDI+eghD84DnJmxKWI/TzRZ0K9FnDexdIg=; b=l6H4aDeWn65H fdzeOk2gnUTnSFmgrtHesjARJxH6a75l8b6wKU3DsehPtg2BjnfX8KaWvhOCQv7yrJ7OY6JBh/Ci4 1TjvZm0YTxDFnfXUeFtVru8ybwulNo1skk9NIb/keqQKKkeOi8JiN5mqqYW+rIRmzXU6Vqf588taK 8pmZGxrByCMdwADuETZEamxDDIy/LYIuzk9y6dmJ7B5nnbrwQ0R+CEhqNmKuLwf2zLFm7fFbBD3r0 mKQ85n3wnRlarz3V5e0PUFXYFo7qE1bxfng37xpQxLQrn3RblIa8d6etgBZ2pHnrRgNuwp2726pVq zSUhr3PKs8jZ1NfC7E5aGQ==; In-Reply-To: <861q2bndj9.fsf@gmx.net> (bug-gnu-emacs@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:291358 Archived-At: > 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?