unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Sean Whitton <spwhitton@spwhitton.name>
Cc: 57807@debbugs.gnu.org
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	[thread overview]
Message-ID: <86illgc542.fsf@mail.linkov.net> (raw)
In-Reply-To: <87o7v8ple4.fsf@melete.silentflame.com> (Sean Whitton's message of "Wed, 21 Sep 2022 12:39:31 -0700")

>> 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".





  reply	other threads:[~2022-09-22  6:39 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14 17:19 bug#57807: 29.0.50; Make vc-print-branch-log able to log multiple branches Sean Whitton
2022-09-14 17:41 ` Eli Zaretskii
2022-09-14 22:42   ` Sean Whitton
2022-09-15  5:33     ` Eli Zaretskii
2022-09-15 16:18       ` Sean Whitton
2022-09-15 16:48         ` Eli Zaretskii
2022-09-15 22:29           ` Sean Whitton
2022-09-14 19:17 ` Juri Linkov
2022-09-14 22:44   ` Sean Whitton
2022-09-15  6:59     ` Juri Linkov
2022-09-15 16:15       ` Sean Whitton
2022-09-15 17:27         ` Juri Linkov
2022-09-15 22:29           ` Sean Whitton
2022-09-16  6:59             ` Juri Linkov
2022-09-18 21:48               ` Sean Whitton
2022-09-19  6:42                 ` Juri Linkov
2022-09-20 22:54                   ` Sean Whitton
2022-09-21 18:52                     ` Juri Linkov
2022-09-21 19:39                       ` Sean Whitton
2022-09-22  6:39                         ` Juri Linkov [this message]
2022-09-22 16:10                           ` Sean Whitton
2022-09-22 18:44                             ` Juri Linkov
2022-09-22 21:20                               ` Sean Whitton
2022-09-23  6:42                                 ` Juri Linkov
2022-09-23 16:34                                   ` Sean Whitton
2022-09-24 19:20                                   ` Sean Whitton
2022-09-24 19:57                                     ` Juri Linkov
2022-09-24 23:18                                       ` Sean Whitton
2022-09-25  7:29                                         ` Juri Linkov
2022-09-26 22:33                                           ` Sean Whitton
2022-09-27 18:59                                             ` Juri Linkov
2022-09-28  1:15                                               ` bug#57807: vc-edit-next-command (was bug#57807: 29.0.50; Make vc-print-branch-log able to log multiple branches) Sean Whitton
     [not found]                                               ` <87k05ofgfe.fsf_-_@melete.silentflame.com>
2022-09-28 17:53                                                 ` Juri Linkov
     [not found]                                                 ` <86pmff5qtf.fsf@mail.linkov.net>
2022-09-28 20:41                                                   ` Sean Whitton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86illgc542.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=57807@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).