From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] New option to make C-x 4 a use file-less ChangeLog buffers (was Re: git history tracking across renames (and emacs support)) Date: Mon, 16 Jul 2018 18:50:18 +0300 Message-ID: <83r2k389j9.fsf@gnu.org> References: <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> <838t6hfa4h.fsf@gnu.org> <87h8l4lt9q.fsf@gmail.com> <831sc8fttu.fsf@gnu.org> <87sh4lwwg6.fsf_-_@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531756140 26628 195.159.176.226 (16 Jul 2018 15:49:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 15:49:00 +0000 (UTC) Cc: tzz@lifelogs.com, larsi@gnus.org, cpitclaudel@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 17:48:55 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 1ff5k6-0006p0-3i for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 17:48:54 +0200 Original-Received: from localhost ([::1]:52518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5mD-0001Xh-60 for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 11:51:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5lV-0001V1-Fn for emacs-devel@gnu.org; Mon, 16 Jul 2018 11:50:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff5lR-0008PW-Gl for emacs-devel@gnu.org; Mon, 16 Jul 2018 11:50:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5lL-0008KW-GP; Mon, 16 Jul 2018 11:50:11 -0400 Original-Received: from [176.228.60.248] (port=1067 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ff5lK-0007Nl-T1; Mon, 16 Jul 2018 11:50:11 -0400 In-reply-to: <87sh4lwwg6.fsf_-_@gmail.com> (message from =?utf-8?B?Sm8=?= =?utf-8?B?w6NvIFTDoXZvcmE=?= on Sat, 14 Jul 2018 18:36:57 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:227459 Archived-At: > From: João Távora > Cc: larsi@gnus.org, tzz@lifelogs.com, emacs-devel@gnu.org, cpitclaudel@gmail.com > Date: Sat, 14 Jul 2018 18:36:57 +0100 > > Eli Zaretskii writes: > > > [...] perhaps add-log.el could be extended to be able to use a buffer > > name, not just a file name, for where to put the log messages. It > > already allows you to customize the file name; it could do something > > similar with a buffer name, and that buffer could have no file name. > > Then a large part of your problems would go away, AFAIU. > > Hi Eli, > > Find attached a patch that does exactly this. It is only lightly > tested, so I need a clinical eye that I didn't break anything. > Fortunately, it is quite short. Appropriately, I used it to compose the > commit message (and I don't have any ChangeLog files lying around). > > If this is accepted, I can submit more patches for more related > functionality. The next two I imagine, in this order, are: > > * C-c C-c (commit-time in vc-log) somehow disables the entries collected > by C-c C-a in the ChangeLog buffer. > > * Use a single ChangeLog buffer indexed by projects (Stefan's idea) Thanks. I didn't forget about this and didn't lose it. I'm just a bit busy these days, and may need a couple more days before I get to reviewing this. I'm saving Stefan's comments and your responses for that time. Stay tuned.