From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support) Date: Wed, 11 Jul 2018 23:36:56 +0100 Message-ID: References: <877etklvsa.fsf@lifelogs.com> <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: multipart/alternative; boundary="0000000000001505f60570c0e3d3" X-Trace: blaine.gmane.org 1531348527 4483 195.159.176.226 (11 Jul 2018 22:35:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2018 22:35:27 +0000 (UTC) Cc: larsi@gnus.org, Ted Zlatanov , emacs-devel@gnu.org, =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 00:35:23 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 1fdNhh-00011H-5I for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 00:35:21 +0200 Original-Received: from localhost ([::1]:55672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdNjm-0004Yt-3G for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2018 18:37:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdNja-0004Yc-QP for emacs-devel@gnu.org; Wed, 11 Jul 2018 18:37:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdNjX-0006sr-4t for emacs-devel@gnu.org; Wed, 11 Jul 2018 18:37:18 -0400 Original-Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:42224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdNjS-0006ow-K4; Wed, 11 Jul 2018 18:37:10 -0400 Original-Received: by mail-io0-x22c.google.com with SMTP id r24-v6so25951468ioh.9; Wed, 11 Jul 2018 15:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w6GyV5BB5hCnPWKNQansCTjkg8JuQw7XBm1SOaaJpwc=; b=TbQqHWftN1b3ysOwICOqxc82Ev+yuwYwSnb/W3YCXW7ov4AX5k+yBl/M37Qg30/xpx zVtU14CdKu341bcXOpFayNCfGVcAl5c4CZ/VuNmf80Jx9eBtxsPoQOY44ylQErgJQVyw EbYektcd34eTgjhaTPRB9N0OnMxgBmcNTiR7UIXiY5Kf+CzCO7JmqT1FOPzBd4qyTumA ASSFQe6cnwZREAXmeg/u7q5PUXD9XJ+qmfgF+NGxWwdzZahvP8l2pcTOFCyT8C8p1Vdl zCwIPcFt6S1Jh01gNM+/2gWBV6zGPlW07/RuRJsv0XkRFOpo2Y8rkYjLa4+uU14xjZeM YQzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w6GyV5BB5hCnPWKNQansCTjkg8JuQw7XBm1SOaaJpwc=; b=Js7MroXp07I70A9gs7MDSK2dHXGvZ4ccH7LE4Dsg6DyR9cNKXlbTMNyD1LuCxcHYoB O1QYwKU1jUozvsYr+zVT9MehbO2nP0csYSBPFyatmwbeYzxIBP0LHWrfJ4IqsNskzeWw H+f5qEmQStABRpkInJdVVPjj1qaHONFVNqCfsUvPt2SCS0q8WXxzfm3M5LAKfAzcEYRO AMsa9w2D0j1rH7AbxrvcujyxtW4v1ClWgtpTO+JTdrEtD+ur+U+0hGmrIAJ2TN/shFdv B+G0GmO+a176CAI4x2+TgO4a6ZJPM52mU+d7SiWZGU47VBdIOZF749S1eVeBGHINidgg VqDw== X-Gm-Message-State: AOUpUlGrGsniZ5DmP6KyZ5ZmoAzpdyxqVfXH8g/X4G3wsVg5ZI4XB0tn Uuqx9LjsbXoItjeWvTeTwwdSsBm32J7qHUI8aIjMYQ== X-Google-Smtp-Source: AAOMgpfOSVub5lwt++SSA9TFUUxmONI0LwPjD1r6hi/eYRPpFk7PsXvFPLwl1RAUHvjjR/5lV8jo5O8ZnMAfBje5nFc= X-Received: by 2002:a6b:a64d:: with SMTP id p74-v6mr862312ioe.652.1531348629388; Wed, 11 Jul 2018 15:37:09 -0700 (PDT) In-Reply-To: <83efg9fxnj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22c 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:227262 Archived-At: --0000000000001505f60570c0e3d3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 11, 2018, 19:14 Eli Zaretskii wrote: > > From: Ted Zlatanov > > Cc: Cl=C3=A9ment Pit-Claudel , > > emacs-devel@gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca > > Date: Wed, 11 Jul 2018 17:31:57 +0000 > > > > EZ> There's only one command: "C-x 4 a". > > > > I think that's not entirely accurate. It sort of works for most cases > > from a single file. But it opens a ChangeLog file, not a commit entry, > > which is really odd. And it has many other special behaviors (e.g. > > doesn't regenerate entries if the code changes). > > Yes, it opens ChangeLog, but copy-pasting from there to the log buffer > when committing is trivial, right? And you will see that our > .gitignore conveniently ignores .ChangeLog > To be fair, there isn't even any copy-paste involved if you use vc-next-action and such. But that doesn't mean it's not horribly impractical. I hate the ChangeLog buffers, especially how they interact with save-some-buffers because invariably I end up saving them inadvertently. 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. Would a patch for this be welcome? This would be a big improvement for me, because otherwise I quite like the ChangeLog format. It has saved my hide many times, especially during tricky merges or rebases. > --0000000000001505f60570c0e3d3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, = Jul 11, 2018, 19:14 Eli Zaretskii <eliz@= gnu.org> wrote:
> From: T= ed Zlatanov <tzz@lifelogs.com>
> Cc: Cl=C3=A9ment Pit-Claudel <cpitclaudel@gmail.com>,
>=C2=A0 =C2=A0emacs-devel@gnu.org,=C2=A0 larsi@gnus.org,=C2=A0 monnier@iro.umontreal.ca
> Date: Wed, 11 Jul 2018 17:31:57 +0000
>
> EZ> There's only one command: "C-x 4 a".
>
> I think that's not entirely accurate. It sort of works for most ca= ses
> from a single file. But it opens a ChangeLog file, not a commit entry,=
> which is really odd. And it has many other special behaviors (e.g.
> doesn't regenerate entries if the code changes).

Yes, it opens ChangeLog, but copy-pasting from there to the log buffer
when committing is trivial, right?=C2=A0 And you will see that our
.gitignore conveniently ignores .Cha= ngeLog

To be fair, there isn't even any copy-paste involved if yo= u use vc-next-action and such.

But that doesn't mean it's not horribly impractical. I hate = the=C2=A0ChangeLog buffers, especial= ly how they interact with save-some-buffers because invariably I end up sav= ing them inadvertently.

I wish there was a way to make these buffers without buffe= r-file-name and still have vc collect the entries from them.=C2=A0 Also, af= ter committing, the entries would actually be removed.

Would a patch for this be = welcome?

This would be a big improvement for me, because otherwise I quite like th= e=C2=A0ChangeLog format. It h= as saved my hide many times, especially during tricky merges or rebases.




--0000000000001505f60570c0e3d3--