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#50344: C-x v keybinding for vc-print-branch-log Date: Sat, 18 Sep 2021 22:03:42 +0300 Organization: LINKOV.NET Message-ID: <874kahogdt.fsf@mail.linkov.net> References: <87mtoux1ha.fsf@mail.linkov.net> <1f39aa34-6626-3d0b-d764-2c9908787d99@yandex.ru> <87o8998wf4.fsf@mail.linkov.net> <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@yandex.ru> <875yvgvohe.fsf@gnus.org> <87y28burzd.fsf@mail.linkov.net> <87o896kt5k.fsf@gnus.org> <87sfyhj3qw.fsf@mail.linkov.net> <87zgsoctoc.fsf@gnus.org> <59a05468-2309-c6e7-5a2a-51426c208966@yandex.ru> <87tuiv4hvc.fsf@gnus.org> <87fsudsngq.fsf@mail.linkov.net> <85dfa858-091b-80df-b9d1-bd1136c2b91e@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26064"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50344@debbugs.gnu.org, Lars Ingebrigtsen , 50643@debbugs.gnu.org, Filipp Gunbin To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 18 21:13:50 2021 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 1mRfmX-0006cj-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 21:13:49 +0200 Original-Received: from localhost ([::1]:56914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRfmW-0006a2-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 15:13:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRff0-0006y5-Ig for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 15:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRff0-0003Tz-An for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 15:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRff0-0004nl-1x for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Sep 2021 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50344 X-GNU-PR-Package: emacs Original-Received: via spool by 50344-submit@debbugs.gnu.org id=B50344.163199194018415 (code B ref 50344); Sat, 18 Sep 2021 19:06:02 +0000 Original-Received: (at 50344) by debbugs.gnu.org; 18 Sep 2021 19:05:40 +0000 Original-Received: from localhost ([127.0.0.1]:36928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfee-0004mw-7Z for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:05:40 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfec-0004md-6Y; Sat, 18 Sep 2021 15:05:38 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4151C1C0002; Sat, 18 Sep 2021 19:05:29 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Sat, 18 Sep 2021 03:09:13 +0300") 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:214653 Archived-At: >>>> It would be nice if vc-create-tag allowed to specify start-point >>>> conveniently: >>>> >>>> git checkout -b new-branch-name START-POINT >>>> >>>> Currently I do this in shell. >>> Perhaps we could do that with 'C-u C-u'. >>> >>> Yes, a separate feature request is preferable. >> I'm also thinking of a separate command for branch creation, wrote all >> that in bug#50643. Thanks. > > This part might actually fit better in this one: if we add a new command > which will create a branch by default, then it will fit the new 'b' > keymap best. 👍 for the new branch command. Until now, I avoided ‘vc-create-tag’ to not make a mistake that will create a tag instead of the branch. > We could actually do the migration this way: create a new command which > "flips" the branch-tag relationship and put it on 'C-v b c'. Then, if we're > not removing the 'C-x s' binding in this release, we could obsolete the > command in favor of the new one because people create branches more often > tags tags these days (right?). Shouldn't tag commands be moved to another prefix key ‘C-x v t’? But I don't know how often tag commands are used. > The command could also prompt for START-POINT by default: it shouldn't > really hurt to press RET once more at the end. It can also be useful to > double-check the branch you are currently branching from. A prompt for START-POINT would be fine with completion on branch names, and saying what the default value will be used when exiting with RET.