From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#50344: C-x v keybinding for vc-print-branch-log Date: Sun, 19 Sep 2021 03:01:48 +0300 Message-ID: <8ea68c73-df86-7e65-a07f-77367e4a906f@yandex.ru> 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> <874kahogdt.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: 50344@debbugs.gnu.org, Lars Ingebrigtsen , 50643@debbugs.gnu.org, Filipp Gunbin To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 02:03:13 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 1mRkIa-0008Q1-1g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 02:03:12 +0200 Original-Received: from localhost ([::1]:45822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRkIY-0005R0-OA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 20:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRkIQ-0005QU-4j for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 20:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRkIP-0003pC-SR for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 20:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRkIP-0001YU-Kh for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 20:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 00:03:01 +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.16320097235917 (code B ref 50344); Sun, 19 Sep 2021 00:03:01 +0000 Original-Received: (at 50344) by debbugs.gnu.org; 19 Sep 2021 00:02:03 +0000 Original-Received: from localhost ([127.0.0.1]:37167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRkHT-0001XH-0W for submit@debbugs.gnu.org; Sat, 18 Sep 2021 20:02:03 -0400 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:55912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRkHN-0001We-HL; Sat, 18 Sep 2021 20:02:02 -0400 Original-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) Original-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) In-Reply-To: <874kahogdt.fsf@mail.linkov.net> Content-Language: en-US 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:214668 Archived-At: 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!