From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#57807: 29.0.50; Make vc-print-branch-log able to log multiple branches Date: Thu, 22 Sep 2022 09:39:33 +0300 Organization: LINKOV.NET Message-ID: <86illgc542.fsf@mail.linkov.net> References: <87czbxub4b.fsf@melete.silentflame.com> <86v8ppn5b2.fsf@mail.linkov.net> <87h719shi6.fsf@melete.silentflame.com> <861qsdktqo.fsf@mail.linkov.net> <87fsgs396r.fsf@melete.silentflame.com> <8635cs8s59.fsf@mail.linkov.net> <87leqk1day.fsf@melete.silentflame.com> <86o7vfpzya.fsf@mail.linkov.net> <87sfkos6as.fsf@melete.silentflame.com> <86bkrb7qt8.fsf@mail.linkov.net> <8735clu05s.fsf@melete.silentflame.com> <864jx0o903.fsf@mail.linkov.net> <87o7v8ple4.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 57807@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 22 08:43:43 2022 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 1obFvz-0001WB-MB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 08:43:43 +0200 Original-Received: from localhost ([::1]:44644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obFvy-0008Tr-4I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Sep 2022 02:43:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFvK-0008Tj-DS for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obFvK-0006IF-4l for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obFvJ-0007r1-Ow for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2022 02:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2022 06:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57807 X-GNU-PR-Package: emacs Original-Received: via spool by 57807-submit@debbugs.gnu.org id=B57807.166382895930163 (code B ref 57807); Thu, 22 Sep 2022 06:43:01 +0000 Original-Received: (at 57807) by debbugs.gnu.org; 22 Sep 2022 06:42:39 +0000 Original-Received: from localhost ([127.0.0.1]:35982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFuw-0007qQ-Sx for submit@debbugs.gnu.org; Thu, 22 Sep 2022 02:42:39 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:45315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obFur-0007q9-Tl for 57807@debbugs.gnu.org; Thu, 22 Sep 2022 02:42:37 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7DCCE100008; Thu, 22 Sep 2022 06:42:25 +0000 (UTC) In-Reply-To: <87o7v8ple4.fsf@melete.silentflame.com> (Sean Whitton's message of "Wed, 21 Sep 2022 12:39:31 -0700") 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" Xref: news.gmane.io gmane.emacs.bugs:243398 Archived-At: >> After you will push it, it would be good also to try to generalize it >> to other vc commands. The problem is that some commands already use >> C-u for other purposes, such as 'C-u C-x v L' asks for a limit. What >> would be a possible way to set vc-want-edit-command-p without using a >> prefix arg? Maybe to add a new command that will only set >> vc-want-edit-command-p for the next vc command, and bind it to >> e.g. 'C-x v c'. Then 'C-x v c C-x v L' will allow editing the root >> log command. > > Right. It would be good to find a way to make all this consistent. > It's unfortunate that C-x v l and C-x v P were different to begin with. > > Regarding your idea, how about 'C-x V V'? It's easier to type, won't > clash with another command we might want to put on 'c', and feels a bit > like C-x 4 4, C-x 5 5 etc. It's easier to type the same letter again, but holding the Shift key for V V after typing Control-X is more hard to type in a key sequence 'C-x V V C-x v L'. It's a pity that 'C-x v v' is not available. > Though, to be honest, I'd prefer it if we could come up with something > involving multiple 'C-u'. Another variant is to bind 'C-x v c' to a command that uses 'read-key-sequence' to read a key sequence from the vc keymap, then call a command with call-interactively while let-binding vc-want-edit-command-p, like project--switch-project-command does. Then e.g. 'C-x v c L' will have mnemonic "vc command for root log".