GNU bug report logs - #50643
28.0.50; [feature request] vc command for branch creation, with customization by prefix arg

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Filipp Gunbin <fgunbin@HIDDEN>; dated Fri, 17 Sep 2021 15:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 20 Sep 2021 07:10:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 03:10:50 2021
Received: from localhost ([127.0.0.1]:40849 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSDRy-0002Pa-6O
	for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:10:50 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36973)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>)
 id 1mSDRv-0002P0-U6; Mon, 20 Sep 2021 03:10:48 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5A28D20002;
 Mon, 20 Sep 2021 07:10:38 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
Organization: LINKOV.NET
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN>
 <875yvgvohe.fsf@HIDDEN> <87y28burzd.fsf@HIDDEN>
 <87o896kt5k.fsf@HIDDEN> <87sfyhj3qw.fsf@HIDDEN>
 <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN>
 <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN>
 <m24kajutb1.fsf@HIDDEN>
 <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
 <874kahogdt.fsf@HIDDEN>
 <8ea68c73-df86-7e65-a07f-77367e4a906f@HIDDEN>
 <87y27sfpxz.fsf@HIDDEN>
 <077bfc22-616e-cd67-3e84-e6917f9e2e53@HIDDEN>
Date: Mon, 20 Sep 2021 09:49:36 +0300
In-Reply-To: <077bfc22-616e-cd67-3e84-e6917f9e2e53@HIDDEN> (Dmitry Gutov's
 message of "Mon, 20 Sep 2021 03:33:56 +0300")
Message-ID: <87sfxzoimv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> It makes sense to create a copy where the meaning of its arg
>> is reversed, so by default it will operate on branches,
>> and only with C-u on tags.
>
> Yup.
>
> But I also wonder if reading START-POINT with completion (with current
> branch name as default) will make sense for creating tags in all backends
> too.

You mean tag completion for creating tags?  Maybe.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 20 Sep 2021 00:34:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 19 20:34:06 2021
Received: from localhost ([127.0.0.1]:40327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mS7G2-0000Kq-Bz
	for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 20:34:06 -0400
Received: from mail-wr1-f50.google.com ([209.85.221.50]:42806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>)
 id 1mS7G1-0000KL-2T; Sun, 19 Sep 2021 20:34:05 -0400
Received: by mail-wr1-f50.google.com with SMTP id q11so25685780wrr.9;
 Sun, 19 Sep 2021 17:34:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=jRR6UQvxJILopNVv8AM9UoanhJ8KNuGp5uMaQ3hx/VQ=;
 b=E/sl7fHrgorG6caMHohLltWIUCi7SF5C8z9Y4yNjr7IekahCQq0efzMPi1gEluysmZ
 UHkPevZ2DKSDujKfukH6cXZYS2qb3ZyRzgOeWv8cS1S/ycZCJFlPU3ijiy7C5bAGsglL
 OAJFJCrq+6isJj/00rzA2TKuqW18kzkOB5JrRcPaSk3JVsgPx90YD3aeHBUXVK0OGduw
 lNLiw7Kz/KbaACBYle5OjP8sYhVHXIRVJs3VKMn1nZ6UT28jgaonn/MJ2ztgYbvd6SDV
 GwccX/tB+/AL94PbTWfUQXoBm3hMXeqCaJ+9wTst1lvM0T6aPY8O8zgeORQZRTGOa2/B
 /dlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=jRR6UQvxJILopNVv8AM9UoanhJ8KNuGp5uMaQ3hx/VQ=;
 b=JfUt4ej+6Kjebq6tXEEfJ1h4IMcbcdiSvCNY+CRun/IW9n4SE9Z9IPVrQCD1fEmP0i
 Qb/xnGfrDlgQx2daBhItTYfj/R9Zs1Qxhd0jpfNBNiMXq2j1PvAIaqocaAHYGl4Nhw9J
 EnILkuN/2A7neIlLp1R/iCWZ7ZbVd4+DIVrv1m39Z7GgaK7QNWaijFDwKwYzpw+tCiDy
 ciZ/r/FlTNIa5ms+nDwAneg4G+0BmDKrqg7/9u0oC/b9t46Tv0o2f4l0FLEif2Q0vIQW
 dX1Buo8WqMYztzldR8Cqk+BH8k3pysVct8wP7VBBbpqiQEX+IgiP8VtoBFeXeMVQqv/z
 ZA/Q==
X-Gm-Message-State: AOAM532ZMhs5PYlv4idZZHaWgGxLSIe2lp/XdV3X0Le1c622OMNy9frs
 dyIg46z9prgGB2mPLyt0e+Fv/3W1H38=
X-Google-Smtp-Source: ABdhPJx9naGcF891A3Wgw9PydqhjXsJ5l2PV+0aGabPYINa0ZzojlfDYnXhARAiHfNtqBQAiC01piQ==
X-Received: by 2002:a5d:4d02:: with SMTP id z2mr25674837wrt.8.1632098039236;
 Sun, 19 Sep 2021 17:33:59 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id e5sm7929136wrd.1.2021.09.19.17.33.57
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 19 Sep 2021 17:33:58 -0700 (PDT)
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
To: Juri Linkov <juri@HIDDEN>
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN> <875yvgvohe.fsf@HIDDEN>
 <87y28burzd.fsf@HIDDEN> <87o896kt5k.fsf@HIDDEN>
 <87sfyhj3qw.fsf@HIDDEN> <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN> <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN> <m24kajutb1.fsf@HIDDEN>
 <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
 <874kahogdt.fsf@HIDDEN>
 <8ea68c73-df86-7e65-a07f-77367e4a906f@HIDDEN>
 <87y27sfpxz.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <077bfc22-616e-cd67-3e84-e6917f9e2e53@HIDDEN>
Date: Mon, 20 Sep 2021 03:33:56 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <87y27sfpxz.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

On 19.09.2021 20:04, Juri Linkov wrote:
>> So far we only have one tag command, and it doubles for branches with
>> 'C-u'. The other tag-related command doesn't differentiate between branches
>> and tags.
>>
>> Would having essentially two copies of these, but with different names, be
>> a good idea?
> 
> It makes sense to create a copy where the meaning of its arg
> is reversed, so by default it will operate on branches,
> and only with C-u on tags.

Yup.

But I also wonder if reading START-POINT with completion (with current 
branch name as default) will make sense for creating tags in all 
backends too.

>> Are there some VCS which would benefit from a more stricter differentiation
>> between the two? Hg, perhaps? I don't know how branches work there.
> 
> So the question is what backends already use the arg 'branchp'?
> The search shows that vc-cvs-create-tag, vc-git-create-tag,
> vc-hg-create-tag all use this arg.

I thought of Hg in particular because there was a report or two citing 
some problems with how we handle them.

And: "Mercurial offers a variety of approaches to branching, including 
“named branches”, “bookmarks” (most similar to git), “anonymous 
branches” and using clones." 
(https://markheath.net/post/using-named-branches-in-mercurial)

That's basically all I know about it.

The introduction in 
https://www.draketo.de/software/mercurial-branching-strategy, however, 
sounds very similar to Git's approach.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 19 Sep 2021 17:15:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 19 13:15:39 2021
Received: from localhost ([127.0.0.1]:39803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mS0Pi-0000Ci-Ud
	for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 13:15:39 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:50667)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>)
 id 1mS0Pg-0008WH-B2; Sun, 19 Sep 2021 13:15:37 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay10.mail.gandi.net (Postfix) with ESMTPSA id 21E80240002;
 Sun, 19 Sep 2021 17:15:27 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
Organization: LINKOV.NET
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN>
 <875yvgvohe.fsf@HIDDEN> <87y28burzd.fsf@HIDDEN>
 <87o896kt5k.fsf@HIDDEN> <87sfyhj3qw.fsf@HIDDEN>
 <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN>
 <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN>
 <m24kajutb1.fsf@HIDDEN>
 <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
 <874kahogdt.fsf@HIDDEN>
 <8ea68c73-df86-7e65-a07f-77367e4a906f@HIDDEN>
Date: Sun, 19 Sep 2021 20:04:16 +0300
In-Reply-To: <8ea68c73-df86-7e65-a07f-77367e4a906f@HIDDEN> (Dmitry Gutov's
 message of "Sun, 19 Sep 2021 03:01:48 +0300")
Message-ID: <87y27sfpxz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> So far we only have one tag command, and it doubles for branches with
> 'C-u'. The other tag-related command doesn't differentiate between branches
> and tags.
>
> Would having essentially two copies of these, but with different names, be
> a good idea?

It makes sense to create a copy where the meaning of its arg
is reversed, so by default it will operate on branches,
and only with C-u on tags.

> Are there some VCS which would benefit from a more stricter differentiation
> between the two? Hg, perhaps? I don't know how branches work there.

So the question is what backends already use the arg 'branchp'?
The search shows that vc-cvs-create-tag, vc-git-create-tag,
vc-hg-create-tag all use this arg.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 19 Sep 2021 00:02:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 18 20:02:03 2021
Received: from localhost ([127.0.0.1]:37165 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRkHS-0001XF-NA
	for submit <at> debbugs.gnu.org; Sat, 18 Sep 2021 20:02:02 -0400
Received: from mail-wm1-f46.google.com ([209.85.128.46]:55912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>)
 id 1mRkHN-0001We-HL; Sat, 18 Sep 2021 20:02:02 -0400
Received: by mail-wm1-f46.google.com with SMTP id 70so7272191wme.5;
 Sat, 18 Sep 2021 17:01:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=BARUgwtERqziW0dXQ4Fnq4/o9zioQmxKfRNS0Ve9BLk=;
 b=ng/jo7kTi8k15VHSbPoAV579SWHdTjkkHPm0+UqMzN/BGC22GmXsscDgiyQeTfBFkW
 nNp+tcEBMnFt6xI+mG1Lm2mMeIRnKfQxFzWkn8281vmQ+2KV3ochtmfZFRdijOfbkcuq
 roWEadkAaAq4tpMkVMCP9tUIsJuGxndrpZ1GUdEquqGm5ny+Y405pGL0Q4ZpGhsG1X9C
 c6hQ8J19HPqAuhnAqvXu0H5xUsZNNicnaQ1eNtlmB9hetIzFlQ9GadMr3299/bXMfxsX
 +ab6WyePDUMbDKyx4Aop5/jZ3zEwXQyPzDQYH4Y4sclQ3n5/86NYzyAPfs15pL3NliNX
 oQGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=BARUgwtERqziW0dXQ4Fnq4/o9zioQmxKfRNS0Ve9BLk=;
 b=ioaOiV/DgHQmBFy3Sjnh1yy491mNhML/dgjia0QLyAfoozCPW6msSe1GdAWFF8rVmo
 uy5FUutS6LZQj/xsGkm/NQ38/W+75/kD6WZi5NhtUiAj0yoh3ZEkUuZHlvU7d5/TXgf6
 jByywjCkufFqklpGqmjGEo+NW0ZCZyCZ/3W8Ju26Knf4WBEvFYgxvSVb+QncHvKvnvJI
 E+UW0DGZYXRt8/Qn/3/n5dgA4rNRJFeIFw/h794g7kC7Cpb0EgaaBo3xTRmHLGToozfp
 dsS4ztn7iHESVTRucv9TnzwXh1bMa/41w9g78vms8NNCp6BKhXjsXYKFDvZxtgr9gx53
 Q4Mg==
X-Gm-Message-State: AOAM532GYifRQ07ubZp6jLAsWfia5U38EAp9UkqXBcOarNPPBD6dKor8
 Ym3FPg9VrMoxzeXnnXDh8HQ2fER1Tlo=
X-Google-Smtp-Source: ABdhPJxJ2XcA79MFDMxHO94pGNywYNs20KJ5Uc2Oenc/wE/qtYx0LGTIoE3VMBK9j+etyU/qIitXlg==
X-Received: by 2002:a05:600c:4105:: with SMTP id
 j5mr5666597wmi.138.1632009711517; 
 Sat, 18 Sep 2021 17:01:51 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id b187sm9712692wmd.33.2021.09.18.17.01.49
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 18 Sep 2021 17:01:51 -0700 (PDT)
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
To: Juri Linkov <juri@HIDDEN>
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN> <875yvgvohe.fsf@HIDDEN>
 <87y28burzd.fsf@HIDDEN> <87o896kt5k.fsf@HIDDEN>
 <87sfyhj3qw.fsf@HIDDEN> <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN> <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN> <m24kajutb1.fsf@HIDDEN>
 <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
 <874kahogdt.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <8ea68c73-df86-7e65-a07f-77367e4a906f@HIDDEN>
Date: Sun, 19 Sep 2021 03:01:48 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <874kahogdt.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

On 18.09.2021 22:03, Juri Linkov wrote:

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

So far we only have one tag command, and it doubles for branches with 
'C-u'. The other tag-related command doesn't differentiate between 
branches and tags.

Would having essentially two copies of these, but with different names, 
be a good idea?

Are there some VCS which would benefit from a more stricter 
differentiation between the two? Hg, perhaps? I don't know how branches 
work there.

Either way, we could put the same command in both keymaps, but I also 
don't know how often the tag commands are used for working with _tags_ 
these days.

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

Yup!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 18 Sep 2021 19:05:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 18 15:05:40 2021
Received: from localhost ([127.0.0.1]:36930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRfee-0004my-FF
	for submit <at> debbugs.gnu.org; Sat, 18 Sep 2021 15:05:40 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58377)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>)
 id 1mRfec-0004md-6Y; Sat, 18 Sep 2021 15:05:38 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4151C1C0002;
 Sat, 18 Sep 2021 19:05:29 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
Organization: LINKOV.NET
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN>
 <875yvgvohe.fsf@HIDDEN> <87y28burzd.fsf@HIDDEN>
 <87o896kt5k.fsf@HIDDEN> <87sfyhj3qw.fsf@HIDDEN>
 <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN>
 <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN>
 <m24kajutb1.fsf@HIDDEN>
 <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
Date: Sat, 18 Sep 2021 22:03:42 +0300
In-Reply-To: <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN> (Dmitry Gutov's
 message of "Sat, 18 Sep 2021 03:09:13 +0300")
Message-ID: <874kahogdt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at 50643 <at> debbugs.gnu.org:


Received: (at 50643) by debbugs.gnu.org; 18 Sep 2021 00:09:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 17 20:09:25 2021
Received: from localhost ([127.0.0.1]:33244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRNv3-00012D-Fi
	for submit <at> debbugs.gnu.org; Fri, 17 Sep 2021 20:09:25 -0400
Received: from mail-wm1-f54.google.com ([209.85.128.54]:54839)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>)
 id 1mRNuz-00011u-Ei; Fri, 17 Sep 2021 20:09:24 -0400
Received: by mail-wm1-f54.google.com with SMTP id s24so8534094wmh.4;
 Fri, 17 Sep 2021 17:09:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=LPYPkN4ezSo9mK65uMyHk/eIFvAaq5pjmRZZYKV1RPg=;
 b=RlJkQpTY6sA7KPoMG+Z04ICa+7rP8LvUZD9EUwnwgSMnjxyCozkTAFazeLraSF/wfn
 bt07Y6OS7rHWayiQtD8ChKCx2ZPg+JVBJn5AOFwTneCAqEK/r1Yq3Qk63SKGPBWFfssE
 mDjSkt2CzJDEpzNhlKd0TL09Jg0BsL+g5y9HI7FEAEjotFUxYVZ79kPf24nliOX/ueha
 zdWiliWwE0HFh4Cqwd6RFKuqO5pL5tn0+9gaPge92dqIub00/gqIo9wo15aTEhrFP2Q7
 axR+1ebazkvxtRNF6rj1Pt8JOc9bKyXoeNrpuDYprRWcmXzsKYBxKbCg9wWDgfWooR9V
 LtmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=LPYPkN4ezSo9mK65uMyHk/eIFvAaq5pjmRZZYKV1RPg=;
 b=ttz8RwL7Sn95j0cdEN175vfIgRO+VvcVshhwgOGTsVR/6jnNHyCkWPgyyKXkXeNElO
 mSpGFYGHVMthtoet2iiNAuEMVLzz2mJtVD7w3MMKYJZmicREMSYxbBGJWIjbsyp6sKk+
 f6zR8LAR1fFrtJb7ie0ZqCHQTyFLUW25tSCoxaj0ci7gyqvPaxOi6hn7Nolb8It7C3vu
 1QAQ3QmpIrG0QLG0S8hC8m2j0ssBHaPu2B9WN5b50/Q18CGlLv2msm9m5a5ZJJj86iJu
 u0QgzTQZry1/SG9WI4ljqMBvYFP9+j/QgPUxIyHke6NjvIKB3hOq4Tb6A1/Fs9WlXmCQ
 qX0g==
X-Gm-Message-State: AOAM530gmkAO0TXKky0IECZD6PxrvGFP7YQGEoKSzVTqJckEkJOP3lzb
 QQ4wKOitIFcsKA4fT6beDLBRrdJ1X0Y=
X-Google-Smtp-Source: ABdhPJxVCq+vk44YbUFk51Yox2eho5krYoUNZ3m4e83dYvMF+QUDQ/8cjszIrM0LSK/FsCglnMS2tQ==
X-Received: by 2002:a1c:149:: with SMTP id 70mr17511387wmb.187.1631923755431; 
 Fri, 17 Sep 2021 17:09:15 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id p1sm7684425wmi.30.2021.09.17.17.09.14
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 17 Sep 2021 17:09:14 -0700 (PDT)
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
To: Filipp Gunbin <fgunbin@HIDDEN>
References: <87mtoux1ha.fsf@HIDDEN>
 <1f39aa34-6626-3d0b-d764-2c9908787d99@HIDDEN>
 <87o8998wf4.fsf@HIDDEN>
 <84e4e2ef-6c8d-3645-9e1e-3129981dd45f@HIDDEN> <875yvgvohe.fsf@HIDDEN>
 <87y28burzd.fsf@HIDDEN> <87o896kt5k.fsf@HIDDEN>
 <87sfyhj3qw.fsf@HIDDEN> <87zgsoctoc.fsf@HIDDEN>
 <59a05468-2309-c6e7-5a2a-51426c208966@HIDDEN> <87tuiv4hvc.fsf@HIDDEN>
 <e5ee5a3c-3f12-cf78-dfd3-0d020847e0c8@HIDDEN>
 <87fsudsngq.fsf@HIDDEN> <m2h7ekg2ug.fsf@HIDDEN>
 <85dfa858-091b-80df-b9d1-bd1136c2b91e@HIDDEN> <m24kajutb1.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <dc984fd4-5a85-a2e0-ad18-ccf1de8b82ff@HIDDEN>
Date: Sat, 18 Sep 2021 03:09:13 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <m24kajutb1.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 50643
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 50643 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

On 17.09.2021 18:15, Filipp Gunbin wrote:
> On 16/09/2021 14:54 +0300, Dmitry Gutov wrote:
> 
>> On 16.09.2021 14:46, Filipp Gunbin wrote:
>>> Maybe I should express this wish in a separate bug, but:
>>>
>>> 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.

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?).

What do people think?

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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Sep 2021 15:12:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 17 11:12:54 2021
Received: from localhost ([127.0.0.1]:60911 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRFXp-0002K2-S3
	for submit <at> debbugs.gnu.org; Fri, 17 Sep 2021 11:12:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:41130)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fgunbin@HIDDEN>) id 1mRFXl-0002Jt-ON
 for submit <at> debbugs.gnu.org; Fri, 17 Sep 2021 11:12:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48372)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fgunbin@HIDDEN>)
 id 1mRFXl-0003Xv-Ip
 for bug-gnu-emacs@HIDDEN; Fri, 17 Sep 2021 11:12:49 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:43809)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fgunbin@HIDDEN>)
 id 1mRFXj-0007qm-PR
 for bug-gnu-emacs@HIDDEN; Fri, 17 Sep 2021 11:12:49 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 599F15C01CA
 for <bug-gnu-emacs@HIDDEN>; Fri, 17 Sep 2021 11:12:45 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Fri, 17 Sep 2021 11:12:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h=
 from:to:subject:date:message-id:mime-version:content-type; s=
 fm1; bh=L0m437PD6ZZg1+XSX/3gAPf44DPCfLL4iBdnnwbS3CA=; b=XlPfHhqF
 L+7BeUtyP5/lWHqE3+PswLsuxoqy6Ie4hGIZIhlSmjD9fHWeexhr6XadIFNT/d68
 H9I5x8ft+ucIYXBbTxJrCXfiu6XCwEqfWXRynAouZmz6S840nrJDHTDMtgG1UWET
 Srf1IUGdH+tz+5sv8lj1OPHyjh4Y9UndggEYUjIq23NeEoPcnvRan2v8GSvXgabl
 awxt/ykzEeS2djLFeuIUwm0agIRlN4DSofZBqji5rllOHjWJaWT0WaxdhVE1itAT
 4bOX5Si3qJnDXc0vvGWov06COsFn3jHIsxSoT3754Oam8330FBudJT5vEyT4ozjb
 t31x001UIXv/Zg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=L0m437PD6ZZg1+XSX/3gAPf44DPCf
 LL4iBdnnwbS3CA=; b=rt7+ZqP1oQwnz6aU4KXhQJ0wufkqC+QHysXibZ+DWu06N
 JYfC3RHaBtAieyKjNYJSY33kFukjoPJ8HMphj20WywRd71ncBSRLL+x7czyvcPhP
 kUW0MSTeC4kOLEzBKGv57MNxzwsP8jDg5WAT/lef0K3WXG/2LXPQUnJWDdpJecEm
 N4dJQwQZV9au8vnHQ3L91qoHBn4946chmf5FuCicgVlHzs8K9iztNnWEHXeh1KZ0
 95IL0/hs+3QfsDXYgO1oED0RD5EXXI8vZfi27O82Z0ZRgAxMe1Deliv+XYtDS7GM
 1+uEVN1YbPnwQ02a8Ex9l1pIN/rwL5tq147vdlb0Q==
X-ME-Sender: <xms:bbBEYTJAn-DPhvSVWM2YkFSkA_3qiLfktuhWq3GPEhCahmDxXHxngA>
 <xme:bbBEYXJdiYkEh7RFm34r8SGe4aOUwZ_oxNu5cganM7lHa2zrhu-ffVO48T7ziDY-C
 gkDzfWrcqUMr-Wh>
X-ME-Received: <xmr:bbBEYbuN6fHgVXuZjZcp411YGmXszQc5MIyCKtz7XNJz0uMKGN-azkvrOTR22NQtIA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehiedgkeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd
 ertdenucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghs
 thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeetkefggfejudejkeevheduteffud
 ffjeeutdevveefueevgfeiieeuueelkeduudenucevlhhushhtvghrufhiiigvpedtnecu
 rfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghilhdrfhhm
X-ME-Proxy: <xmx:bbBEYcbGDu375wrx8pP4evX_GFFg1sJGmVhbOTto8jGe0KcK4-uePw>
 <xmx:bbBEYaZKrGSUXy9ZGySm_LClyw9QUqkn_6uRZQMBTb6gU7KBvcjzHA>
 <xmx:bbBEYQCJW-4U5V2FdvAKcgajS2AZ062t0VeMn8iiZI0k3pmLiN4DZw>
 <xmx:bbBEYY0M_crH1-wj5eAMCdnY41qlVfI5MgEy2MyiM4_Js8xhfwKqaw>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Fri, 17 Sep 2021 11:12:44 -0400 (EDT)
From: Filipp Gunbin <fgunbin@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; [feature request] vc command for branch creation, with
 customization by prefix arg
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)
Date: Fri, 17 Sep 2021 18:12:40 +0300
Message-ID: <m28rzvutg7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.29; envelope-from=fgunbin@HIDDEN;
 helo=out5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Currently, vc-create-tag creates a branch when given C-u.  With
distributed VCSes like Git, branch creation is a very frequent operation
to be worth a separate command.

The command could have a mode for specifying START-POINT, so for Git the
command becomes "git checkout -b new-branch-name START-POINT".  This
could be on C-u (unless there're other frequent "customization" cases).

Thanks.




Acknowledgement sent to Filipp Gunbin <fgunbin@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50643; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 20 Sep 2021 07:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.