From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#50344: C-x v keybinding for vc-print-branch-log Date: Sat, 25 Dec 2021 11:37:21 +0000 Message-ID: <87sfugud8u.fsf@posteo.net> References: <87mtoux1ha.fsf@mail.linkov.net> <87k0jora9d.fsf@gnus.org> <7ba6c699-cfe5-4fa3-92dd-55b1e227aacf@yandex.ru> <874kaptwki.fsf@mail.linkov.net> <878rz5pc9i.fsf@mail.linkov.net> <83ily91djz.fsf@gnu.org> <878rz5w9cf.fsf@mail.linkov.net> <83ee8x1bn8.fsf@gnu.org> <834k9t0z9d.fsf@gnu.org> <83v929ynpt.fsf@gnu.org> <03e150fc-5825-16ee-9022-db53de43dbc1@yandex.ru> <04c3e90b-a9a8-724d-1f2c-98c43e9f9658@yandex.ru> <87sfui2p33.fsf@posteo.net> <87y24af6lw.fsf@posteo.net> <0edd36d2-58d7-a1ba-274a-db05910ed9e6@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50344@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 25 12:38:12 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 1n15NM-0001aC-3m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Dec 2021 12:38:12 +0100 Original-Received: from localhost ([::1]:49176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n15NK-0006mG-DX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Dec 2021 06:38:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n15ND-0006lq-2x for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 06:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n15NC-0003K8-Nl for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 06:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n15NC-00010g-Gh for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 06:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Dec 2021 11:38: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.16404322533832 (code B ref 50344); Sat, 25 Dec 2021 11:38:02 +0000 Original-Received: (at 50344) by debbugs.gnu.org; 25 Dec 2021 11:37:33 +0000 Original-Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n15Mj-0000zk-CU for submit@debbugs.gnu.org; Sat, 25 Dec 2021 06:37:33 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:51661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n15Mg-0000zQ-JF for 50344@debbugs.gnu.org; Sat, 25 Dec 2021 06:37:32 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 25ADE240027 for <50344@debbugs.gnu.org>; Sat, 25 Dec 2021 12:37:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640432244; bh=IxWA4+xwLiuIRDq755SrCqu5KLk4XuSBUYo9BAo1rxs=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=Q48O/BhT76EUGCbH4e1GLEobfKvAEfbsYbfcIQYgkgv0I4k3s/fico+kR1Zzm56pr UimZvUEZnS6IS/MgvRTwh3EFDVpzPGpMW3/eX4D6pgXvMt7u5xMlO+qYLL0CLwNmFa HbcrgNuNVMyuKKexJFxbFLTFudsZvplg4ttSy+uZvtDo5bSnDNH2gwezjLhqS1IN+z fA6mzs4WnMAIgn98qUVLiGbgSYjpuBa1OpeVaRgfGRHo9N7g0W2cYHbozX8H3IRyo7 Vg42TWufdD/6DlNMdUrxXbABJ426mw+CfeHxw2Q4A/enY7THOqEfkE3uKlvwrz6Fgx zrjH3s6C2gaTA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JLhjv2Yqnz6tp6; Sat, 25 Dec 2021 12:37:22 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <0edd36d2-58d7-a1ba-274a-db05910ed9e6@yandex.ru> (Dmitry Gutov's message of "Sat, 25 Dec 2021 01:45:00 +0200") 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:223095 Archived-At: Dmitry Gutov writes: > On 24.12.2021 16:57, Philip Kaludercic wrote: >> Dmitry Gutov writes: >> >>> On 24.12.2021 14:56, Philip Kaludercic wrote: >>>> Dmitry Gutov writes: >>>> >>>>> I have pushed the change which obsoletes vc-switch-backend now. >>>> So what is the preferred way for switching to another vc backend from >>>> 28.1 onward? >>> I suppose it depends on your scenario. >>> >>> Do you routinely use two different backends in certain >>> projects/directories? >> Yes, when switching between some default vc backend such as git and >> vc-backup (from ELPA) to work with backup files. > > I haven't tried that package, but it's a little surprising that > vc-backup needs such a feature to be fully usable. I guess one option > would be for it to provide user commands, one of which which would > move it at the front of vc-handled-backends? An the other would undo > that action. Or just bundle a copy of vc-switch-backend under a > different name. The package is still usable, you just don't get to work on backups when your file is managed by some other version control system (unless you want prioritise it over any other backend). If it is the case, that vc-switch-backend is rarely used, it seems like adding a custom vc-backup-toggle-backend command to vc-backup would make the most sense. > But if you don't like both of those suggestions, my preferred plan > would be for you to continue using vc-switch-backend in Emacs 28. In > Emacs 29, we could un-obsolete it but put it on a different key > binding (such as 'C-x v B'), freeing 'C-x v b' for the prefix map for > branch operations. Maybe I missed something, but would the issue be to just unbind the key, without obsoleting it? FWIW I would also appreciate having C-x v b bound to branch commands. -- Philip Kaludercic