From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: `vc-revert' keybinding Date: Tue, 05 Nov 2024 03:56:32 -0500 Message-ID: References: <87r07r3pef.fsf@ledu-giraud.fr> <87zfme9k44.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 05 09:57:53 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t8FNo-0007S5-Te for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Nov 2024 09:57:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8FMf-000703-0i; Tue, 05 Nov 2024 03:56:41 -0500 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 1t8FMa-0006zU-Pk for emacs-devel@gnu.org; Tue, 05 Nov 2024 03:56:37 -0500 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 1t8FMZ-0001JP-IT; Tue, 05 Nov 2024 03:56:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=D21q7NQBFpvV4463FdB5pqDPR/6GGEPw63qPB+Bg4zw=; b=GGh9+M5rVl2/ dbx8mISoq6evwlnKAsSzlR6LvT5vw5W5dNJn/GPnjXdkInRVBojSeYn+ZXDhY/vH0HWJjE6IKXtWS tt0CHdQMb1UHd3Ajxp3zAnO8b5s5FNMoYgAMdiY7aXo8NRgQNpopG4Ubhg7tMmNt9OEL71uwG6e4E RDPgP4rFe7NnOGee4eCyxTQoESNvvkRlKmf0weDPPXmFA1cdbBuPuI91Gm2YFcaDozuTcQ59ksFsE IGn2j+4XV0txkClbwhc4BaRqX4DYi7Go2MxZcHhT0pojsOkcUOHFIbmRd7hvcYjUeFenkgIdIuIM0 +yO+jD0S5uWgLOIITORhlg==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1t8FMW-0001jQ-Ou; Tue, 05 Nov 2024 03:56:34 -0500 In-Reply-To: <87zfme9k44.fsf@ledu-giraud.fr> (message from Manuel Giraud on Tue, 05 Nov 2024 09:10:19 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325131 Archived-At: > Why is 'u' prevented from being "unmark" in vc dir? "Works for me"? I haven't made myself clear. As 'u' is already used for "unmark", it cannot be used as a VC dir shortcut for 'C-x v u' (vc-revert) without causing much confusion to the user. That is why I thought that we could have another character for this that would be the same for the 'C-x v' form, i.e.: - C-x v (globally) - (in VC dir mode) One can always use 'C-x v u' for both, but it seems strange that emacs does not have a VC dir shortcut for such a basic task. It is becasue VC dired is a dired, and dired has different purpose in general. (What would be nice is dired supported C-x v keybindings though ... and we could get rid of vc-dired :-)