From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support) Date: Thu, 12 Jul 2018 09:36:56 -0400 Message-ID: References: <83y3m0pv8u.fsf@gnu.org> <86608msw0h.fsf@dod.no> <838tdiet25.fsf@gnu.org> <87y3li4vh7.fsf@telefonica.net> <87efnan46u.fsf@linux-m68k.org> <86wp12qtgo.fsf@dod.no> <83tvw6chqv.fsf@gnu.org> <86shbprix7.fsf_-_@dod.no> <838t6jgl1k.fsf@gnu.org> <601m6cc6.fsf@lifelogs.com> <83o9fefnv9.fsf@gnu.org> <83in5lg4ol.fsf@gnu.org> <83efg9fxnj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531409638 29739 195.159.176.226 (12 Jul 2018 15:33:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 15:33:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: larsi@gnus.org, Eli Zaretskii , =?windows-1252?Q?Cl=E9ment?= Pit-Claudel , Ted Zlatanov , emacs-devel@gnu.org To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 17:33:54 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fddbN-0007ca-OX for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 17:33:53 +0200 Original-Received: from localhost ([::1]:60785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdddR-00081J-Q7 for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 11:36:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fddYw-0005PV-UN for emacs-devel@gnu.org; Thu, 12 Jul 2018 11:31:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fddYr-0007zt-4N for emacs-devel@gnu.org; Thu, 12 Jul 2018 11:31:22 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fddYq-0007xU-Tk; Thu, 12 Jul 2018 11:31:17 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w6CFVC1J018322; Thu, 12 Jul 2018 11:31:12 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0DC306634E; Thu, 12 Jul 2018 09:36:57 -0400 (EDT) In-Reply-To: (=?windows-1252?Q?=22Jo=E3o_T=E1vora=22's?= message of "Wed, 11 Jul 2018 23:36:56 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6328=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6328> : inlines <6747> : streams <1792341> : uri <2672561> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227275 Archived-At: > I wish there was a way to make these buffers without buffer-file-name and > still have vc collect the entries from them. Also, after committing, the > entries would actually be removed. How 'bout making C-x 4 a add entries directly to the *vc-log* buffer when there's one and there's no ChangeLog? I had played with such a hack at some point but never finished it because it turned out I like saving it into a file (lets you write the comment calmly, with no inconvenience if you have to temporarily switch to some other commit elsewhere, or have to restart Emacs or something). Maybe another take on it is to use a "hidden" ChangeLog file, saved somewhere in ~/.emacs.d, indexed by the project location and with some way to recover some earlier commit message you worked on and had to abandon? Stefan