From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: ChangeLog to *VC-log* Date: Wed, 09 Mar 2016 20:30:32 +0100 Message-ID: <878u1rih47.fsf@gmx.net> References: <56BE7E37.3090708@cs.ucla.edu> <4hd1rw1ubr.fsf@fencepost.gnu.org> <83vb50wxhv.fsf@gnu.org> <87y49vz4cg.fsf@acer.localhost.com> <20160306220502.GA23154@thyrsus.com> <8760wx442f.fsf@mat.ucm.es> <87si00srmo.fsf_-_@gmx.net> <40522b1b-fc32-1a6c-9e69-e1df628d85a0@yandex.ru> <87oaaosh51.fsf@gmx.net> <1c5d8058-d7ed-1e2f-f83d-a3241ec7040c@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457551858 13895 80.91.229.3 (9 Mar 2016 19:30:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2016 19:30:58 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 20:30:51 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adjol-0006WS-Eb for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2016 20:30:47 +0100 Original-Received: from localhost ([::1]:43682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adjok-00073l-My for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2016 14:30:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adjog-00073B-EZ for emacs-devel@gnu.org; Wed, 09 Mar 2016 14:30:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adjob-0000ud-VJ for emacs-devel@gnu.org; Wed, 09 Mar 2016 14:30:42 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:52954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adjob-0000uG-Hz for emacs-devel@gnu.org; Wed, 09 Mar 2016 14:30:37 -0500 Original-Received: from rosalinde ([89.245.66.173]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MMpYB-1amF3l0OFT-008XZT; Wed, 09 Mar 2016 20:30:34 +0100 In-Reply-To: <1c5d8058-d7ed-1e2f-f83d-a3241ec7040c@yandex.ru> (Dmitry Gutov's message of "Wed, 9 Mar 2016 01:11:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-Provags-ID: V03:K0:XJksZE8NDRsOntBJNHXt1bj1UkRocoSc+OoD0/9fzM/cJJjy1Z8 I5Ci9wn6ueW3QDZUm01ldlqibTG4lnLgay+3gWCZouJfZCYFajFge/jNwUujH2F4f61x/ma 97h6HUPUdljC67ybnCG8rWSbbh36JrdfBkxVMrAxnnx1kDjfH0C1kRw3vlKM04zswEDgpiC gOFxUn9OWRZ97HoeObpnQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:YXPBPApuvNg=:zugVwa3DgEMidvl2wxdRTx nSoa96x/aa6FqH9gyhv5vRguIi+KPpItsPRy/y+se8xE2vPWX6xuO84OmDfpEJYt+JpzxttlG Pc9LVUj0Wsa7KE+VoWZ9xJnKgzvnVxj9vdsDbdALEpyJt9Eryo/8cZUDVwFW52ahdCrzrHLTA KW6rn4VofsUTIxxyrqbmxTrxoxHzA+Aa23bx8KCqkfd129bFPx5etSdAd6cB9JM6Cg8+vl6IA 0ZTHeimBColEnva8oMgn0Mgxx/W9oLx/fdjj+sCk70ZaN5d0ciLoUDbSxjF5M8oz9V156BjdQ 0bh2CBny68RXs+bIAxREMKzIyvtlSEDDLbK95DX27JumIW0YjI0Teae0YA7fkD48kTUNgF76q 32dvuBWa1D6Y7CUn0brq7zXp32b2F61cRSbNYErM7O6xjAsRtu1An5/6ApDbW+8poru3N3j4y 20pDDotYoJEzLFzmvMybi4vFCYLY3vYRjbUYjqr0YhddiArX720pTHSRqx5hnfLpWhdzZ6tkd dJoqeBTFCtZ/SVIZLFSeXNfMtDHG/3+HkepTRBk5CWci6Fh8Iq87lGpn59tE5i3IBbXCxcvhv U6lvAHv/9thA5bNv6YB4suXsgKrS6A0Mb6mtXkPDqAbxQwzqyzzEurPcoym+cQL2L7m1GkY2c cmIj5MGByq+4yLZ7CaFFVa9gS8kMgOIMiG8zgCek2lwF9VljPupoEJnnmCH/Nh4yBAIV3PwZi ACs6GrXvlQGMXrDhyiR19UDgTOrDJT+2gJS/vEWjzu0vcbwAXxc4MhqZPSFdpzkka+7O1l2l X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201299 Archived-At: On Wed, 9 Mar 2016 01:11:01 +0200 Dmitry Gutov wrote: > On 03/09/2016 01:07 AM, Stephen Berman wrote: > >> Ah, thanks. I'm pretty sure it used to be the case that `C-x 4 a' would >> automatically find the right ChangeLog file, but I suppose that changed >> when manually maintaining ChangeLogs was abandoned. So I guess Emacs >> developers should now set `change-log-default-name' to top level. > > Probably. If you have a solid reproduction scenario, please make a bug report. > On Tue, 08 Mar 2016 21:01:40 -0500 Stefan Monnier wrote: > AFAIK the C-x 4 a code hasn't been changed, so if there's a change in > behavior it's most likely an accident/bug. Please report it via M-x > report-emacs-bug with a detailed recipe. I found the cause of the change in behavior I observed: it's due to the elimination of files named "ChangeLog" from the Emacs sources (there are now only files named "ChangeLog."). In consequence, find-change-log creates an empty file named "ChangeLog" in the immediate directory of the file in which `C-x 4 a' was invoked, e.g. in lisp/calendar/, when I'm editing todo-mode.el; previously, `C-x 4 a' found lisp/ChangeLog. I guess those who don't see this keep an non-VCS-tracked file "ChangeLog" at top level. If we don't return to maintaining versioned ChangeLog files, I think it would be desirable for `C-x 4 a' to always create (or find) the file "ChangeLog" at top level when editing Emacs sources, since this would add the required directory levels to the commit message. (Of course, people could just always use `C-u C-x 4 a', but that's not as convenient.) Since other projects that could use `C-x 4 a' may have different requirements on its effect, this should be conditioned by a user option (or maybe just a plain variable), which can (and probably should) be set in .dir-locals.el. What do others think? (Should I still file a bug (though it's more like a feature request), or should we just continue the discussion here?) Steve Berman