From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: A vc wish: vc-timemachine Date: Sun, 16 Oct 2022 21:26:33 -0400 Message-ID: References: <83a65w5o91.fsf@gnu.org> <15d84e08-dd58-a406-4923-52140f642aa6@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000051a1e205eb30de7d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 17 03:28:30 2022 Return-path: Envelope-to: ged-emacs-devel@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 1okEvd-0008sl-Oi for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 03:28:29 +0200 Original-Received: from localhost ([::1]:55852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okEvc-0004GF-8y for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 21:28:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okEu0-0003YH-8I for emacs-devel@gnu.org; Sun, 16 Oct 2022 21:26:48 -0400 Original-Received: from mail-pf1-f173.google.com ([209.85.210.173]:45805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okEty-0000P3-Ck; Sun, 16 Oct 2022 21:26:47 -0400 Original-Received: by mail-pf1-f173.google.com with SMTP id 67so9726952pfz.12; Sun, 16 Oct 2022 18:26:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G5g1IKRMYXLpbopiHIN3BDnQjbWFjYiNIP+K3m7f/Zw=; b=tafISeE8isX/yMZyyCwUBwuf4Z37sQPCgkCt3VXiw/VvaUK0RfR0A/dBpdy1oreTTs gJMzMvyTxTPZmjDgAFT10rXRFFYBPsr6LAUXzLM2GsUiYs8YN4W9ZTaen+ZQmV55s2cw 6oxJgeKyhCVR4+gN46VkMZvYQxmmSIPUGPlvdaN4h/mUIuH1CBQ6uHg1sx6kU7LUk9ZT pbLad3FMiSqE8AXo1xrkC7BtO0jC8mBWv08cJAeg3BpCy1DC9Opt29esN72Rbi3kLyLa fGROEXnRpnCL6L9rWEx1ibKmeFKRW+WFRZBdMpxZ9kUe7zYaPwRltOfNQU6yF/JOMzN1 Z3NA== X-Gm-Message-State: ACrzQf0+ARt/27aHDimTkMqS05vYPRpvmaLPzyi0xi/xUCY8czAdOKvL pZ/1W3z1GtVg6gxlYUJzHAAskbL7bZVv5tNG1Zc= X-Google-Smtp-Source: AMsMyM5HCgKAugGSKLEvoq0tkVhefu5iIKqQXM4WvK5Si9VkbTXEBlnpdXB8m9WvkVZYkEkp/1lbJcTl82GJg4bCN3I= X-Received: by 2002:a65:580a:0:b0:439:befc:d2b0 with SMTP id g10-20020a65580a000000b00439befcd2b0mr8376055pgr.302.1665970004401; Sun, 16 Oct 2022 18:26:44 -0700 (PDT) In-Reply-To: <15d84e08-dd58-a406-4923-52140f642aa6@yandex.ru> Received-SPF: pass client-ip=209.85.210.173; envelope-from=john.yates.sheets@gmail.com; helo=mail-pf1-f173.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297901 Archived-At: --00000000000051a1e205eb30de7d Content-Type: text/plain; charset="UTF-8" I grant you that these capabilities are present in a vc-annotate buffer. That said, vc-annotate is a jarring presentation. As I browse through different revisions I want the major mode to remain that of the original (non-annotated) file. I want syntax-based highlighting, lsp support, etc. On Sun, Oct 16, 2022 at 6:29 PM Dmitry Gutov wrote: > On 16.10.2022 14:49, John Yates wrote: > > My druthers would be for a vc-browse command that pops a new buffer > > containing the most recently committed revision of the subject file. > > It would support operations similar to git-timemachine: > > * vc-browse-show-previous > > * vc-browse-show-next > > > > git-timemachine style refinements could include: > > * vc-browse-show-commit > > * vc-browse-show-annotation > > * vc-browsw-goto-earlier-commit (regex search) > > Is vc-annotate missing much of these features? > > The navigation is there (n, p, d, l, a), the panel is togglable. I > suppose we could tune the colors and/or the absence of font-lock. > -- John Yates 505 Tremont St, #803 Boston, MA 02116 --00000000000051a1e205eb30de7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I grant you that these=C2=A0capabilities are present in= a vc-annotate buffer.

That said, vc-annotate is a jar= ring presentation.=C2=A0 As I browse through different revisions I want the= major mode to remain that of the original (non-annotated) file.=C2=A0 I wa= nt syntax-based highlighting, lsp support, etc.

On Sun, Oct 16, 2022= at 6:29 PM Dmitry Gutov <dgutov@yan= dex.ru> wrote:
On 16.10.2022 14:49, John Yates wrote:
> My druthers would be for a vc-browse command that pops a new buffer > containing the most recently committed revision of the subject file. > It would support operations similar to git-timemachine:
> * vc-browse-show-previous
> * vc-browse-show-next
>
> git-timemachine style refinements could include:
> * vc-browse-show-commit
> * vc-browse-show-annotation
> * vc-browsw-goto-earlier-commit=C2=A0 =C2=A0(regex search)

Is vc-annotate missing much of these features?

The navigation is there (n, p, d, l, a), the panel is togglable. I
suppose we could tune the colors and/or the absence of font-lock.


--
John= Yates
505 Tremont St, #803
Boston, MA 02116
<= /div>
--00000000000051a1e205eb30de7d--