From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61712: 30.0.50; Want way to generate VC log for arbitrary list of files Date: Thu, 23 Feb 2023 15:00:42 +0200 Message-ID: <83zg94pmdh.fsf@gnu.org> References: <871qmhd339.fsf@melete.silentflame.com> <86o7plplhg.fsf@mail.linkov.net> <87cz619wck.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20694"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61712@debbugs.gnu.org To: Sean Whitton , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 14:02:52 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 1pVBFM-0005BX-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 14:02:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVBDn-00016a-6t; Thu, 23 Feb 2023 08:01:15 -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 1pVBDk-0000i7-Mq for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:01:12 -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 1pVBDa-0003Cu-9f for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:01:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVBDa-0004LY-4S for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 08:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2023 13:01: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.167715725816691 (code B ref 61712); Thu, 23 Feb 2023 13:01:02 +0000 Original-Received: (at 61712) by debbugs.gnu.org; 23 Feb 2023 13:00:58 +0000 Original-Received: from localhost ([127.0.0.1]:33338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVBDW-0004L9-6C for submit@debbugs.gnu.org; Thu, 23 Feb 2023 08:00:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVBDU-0004Kt-6m for 61712@debbugs.gnu.org; Thu, 23 Feb 2023 08:00:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVBDO-00039h-AJ; Thu, 23 Feb 2023 08:00:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=r0naUHALlqszAReaIGjJ1z9wtVWkL7a9duzixyMGTBM=; b=qGv9kIpk2inz mxltGFNr3T0U4DMUbEoeiK5e02RWWFZ2xytE8Hp5cxPraKMit0Q94bYwuMcnL5q6ZUlEm0Vw7xudL BCnzzOThE5VE4ccwAyH212qFaPesn+WUTD3t/bpX5BsCU9teborZvuaVvCmvD3sjRRKKNC19mAhDE XAPRW78v0SyWj0diX3wrn3V9tq04Wl/2vDiNRxOl0bjabMXnlFXrq21Ty4lO++Wr3y/EMLBBjKWCn tdg7W97+Y3YuYOrvH1ImcTzEn1OvG/bqf3BKQcNJ5Ponx6ca+BnNCurwQqvVPQIhY3jJE24kZK+hr Yw/4qs28ItrL3kO9ODFkOg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVBDK-0004bx-0s; Thu, 23 Feb 2023 08:00:47 -0500 In-Reply-To: <87cz619wck.fsf@melete.silentflame.com> (message from Sean Whitton on Wed, 22 Feb 2023 15:19:39 -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:256454 Archived-At: > Resent-To: bug-gnu-emacs@gnu.org > Cc: 61712-close@debbugs.gnu.org > From: Sean Whitton > Date: Wed, 22 Feb 2023 15:19:39 -0700 > > On Wed 22 Feb 2023 at 09:07PM +02, Juri Linkov wrote: > > >> 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. > > Oh, I didn't know dired could do this. My apologies. How could you know, when this important feature was almost completely undocumented? Apart of a single NEWS entry, which is also quite misleading in what it does NOT say, there was no mention of this anywhere in our manuals, until now. We should be able to do better with documenting such significant user features. Btw, shouldn't we show the VC information in the mode line of a Dired buffer that displays a directory under VCS? Since all VC commands now work in such a buffer, this is very similar to showing a file under VCS, so the omission doesn't sound right to me.