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#55039: [PATCH] Use VC-relative file names in ChangeLog entries Date: Wed, 20 Apr 2022 19:01:12 +0300 Message-ID: <83v8v3sq0n.fsf@gnu.org> References: <8735i7zvk4.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21853"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55039@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 18:19:07 2022 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 1nhD2p-0005Za-1N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 18:19:07 +0200 Original-Received: from localhost ([::1]:49646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhD2n-0006tH-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 12:19:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhCmI-0004RX-Kj for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 12:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhCmI-0005MH-65 for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 12:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhCmH-0003pf-VB for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 12:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2022 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55039-submit@debbugs.gnu.org id=B55039.165047048914679 (code B ref 55039); Wed, 20 Apr 2022 16:02:01 +0000 Original-Received: (at 55039) by debbugs.gnu.org; 20 Apr 2022 16:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:47145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhCll-0003oh-BT for submit@debbugs.gnu.org; Wed, 20 Apr 2022 12:01:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhClj-0003oI-19 for 55039@debbugs.gnu.org; Wed, 20 Apr 2022 12:01:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhCld-0005Im-7M; Wed, 20 Apr 2022 12:01:21 -0400 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=4m62aEZIDeXFxShsKNSP1oyFo2erKLBR5U3Q2nUJ4ME=; b=audijRnhrS+i 1/5KKRiHv2EoAnZKQVZg1s/VT1i1qjWCenEY79qjH3/v15FYGBrymf75CRJp2LjesOIvTHhrszkMi tM4oU8+TW67BPwGsZ49lxbU3btInmufjU1YT1J6ENZ2+8KfuaO1ciyaoUfKdZtOe6dzf9aBF9OWxC 8IKFAW1p2sxbDf71wMu8DdSvnKMjHJ2/FsU9gjy6z6nXlTmFzv6IZSiROJOqWVmJmy4ktMAa4TY+z /f6c6rdtnyGl2k/rhLt0KP5gSvyQaN6WcHEXkE5LIHZPAp8K2yCz+zWgqGw1eIIPJJ/pzR//Hkm2W N7hcQA9qPa2gT7lxApRGrQ==; Original-Received: from [87.69.77.57] (port=1263 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 1nhClb-000527-RX; Wed, 20 Apr 2022 12:01:20 -0400 In-Reply-To: <8735i7zvk4.fsf@posteo.net> (message from Philip Kaludercic on Wed, 20 Apr 2022 14:19:39 +0000) 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" Xref: news.gmane.io gmane.emacs.bugs:230310 Archived-At: > From: Philip Kaludercic > Date: Wed, 20 Apr 2022 14:19:39 +0000 > > By default C-c C-w (log-edit-generate-changelog-from-diff) just uses the > file name when generating a changelog message. As it has been requested > to use the project relative path name when writing changelog messages, > it seems to make sense to generate these automatically as well. > > Alternatively, this could also be configured using a directory local > variable that would be set for emacs.git. First, I think this must be customizable, because different projects have different conventions. Second, I think the code should DTRT if there's already a ChangeLog file in the current directory or in one of its parent directories, because those usually show you the project's conventions.