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#61712: 30.0.50; Want way to generate VC log for arbitrary list of files Date: Wed, 22 Feb 2023 21:07:39 +0200 Organization: LINKOV.NET Message-ID: <86o7plplhg.fsf@mail.linkov.net> References: <871qmhd339.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 61712@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 22 20:09:24 2023 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 1pUuUV-000A5s-46 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Feb 2023 20:09:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUuUC-0000ru-Rz; Wed, 22 Feb 2023 14:09:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUuUB-0000qg-AO for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 14:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUuUA-0002QK-Sn for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 14:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUuUA-0003ne-A3 for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 14:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2023 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61712 X-GNU-PR-Package: emacs Original-Received: via spool by 61712-submit@debbugs.gnu.org id=B61712.167709290914568 (code B ref 61712); Wed, 22 Feb 2023 19:09:02 +0000 Original-Received: (at 61712) by debbugs.gnu.org; 22 Feb 2023 19:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:60360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUuTd-0003mu-Ak for submit@debbugs.gnu.org; Wed, 22 Feb 2023 14:08:29 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:60911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUuTX-0003mc-Fa for 61712@debbugs.gnu.org; Wed, 22 Feb 2023 14:08:27 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id EC26E240002; Wed, 22 Feb 2023 19:08:15 +0000 (UTC) In-Reply-To: <871qmhd339.fsf@melete.silentflame.com> (Sean Whitton's message of "Wed, 22 Feb 2023 10:25:46 -0700") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256391 Archived-At: > Yesterday I wanted to review changes to some documentation files in a > repository; roughly, `git log -- dgit.1 *.pod`. I would have preferred > to have the result in a *vc-log* buffer, but I don't believe we have a > command to do this. 'C-x v !' can't do it. > > If there were changes to each of the files, they would have appeared in > *vc-dir*, and I could have used the new vc-dir-mark-by-regexp, and then > vc-print-log would have done the right thing. > > So, I wonder if we could have a way to insert up-to-date files into > *vc-dir*, so that they could be used to select an arbitrary VC fileset? It's easy to do this in the Dired buffer by marking the required files. I'm doing this all the time since Dired supports all vc commands.