GNU bug report logs - #19341
Change Log mode filling of multi-line file lists

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 10 Dec 2014 21:09:01 UTC

Severity: minor

Found in version 24.4

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19341 in the body.
You can then email your comments to 19341 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Wed, 10 Dec 2014 21:09:01 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Change Log mode filling of multi-line file lists
Date: Wed, 10 Dec 2014 16:07:58 -0500
Package: emacs
Version: 24.4
Severity: minor

I can't find the reference for why I think this, so maybe I'm just
wrong, but I always thought that multi-line file lists should be written
in ChangeLogs as:

   * file1, file2, file3, file4, file5, file6, file7, file8, file9:
   * file10, file11:

But Change Log mode fills such lines as:

    * file1, file2, file3, file4, file5, file6, file7, file8, file9,
    file10, file11:

Please could it use the former format.

TIA.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 03:38:02 GMT) Full text and rfc822 format available.

Message #6 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Thu, 11 Dec 2014 05:37:04 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Wed, 10 Dec 2014 16:07:58 -0500
> 
> I can't find the reference for why I think this, so maybe I'm just
> wrong, but I always thought that multi-line file lists should be written
> in ChangeLogs as:
> 
>    * file1, file2, file3, file4, file5, file6, file7, file8, file9:
>    * file10, file11:
> 
> But Change Log mode fills such lines as:
> 
>     * file1, file2, file3, file4, file5, file6, file7, file8, file9,
>     file10, file11:
> 
> Please could it use the former format.

It does neither.  It does this instead:

	* file1:

	* file2:

	* file3:





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 03:42:02 GMT) Full text and rfc822 format available.

Message #9 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Wed, 10 Dec 2014 22:41:43 -0500
Eli Zaretskii wrote:
>> But Change Log mode fills such lines as:
>> 
>>     * file1, file2, file3, file4, file5, file6, file7, file8, file9,
>>     file10, file11:
>> 
>> Please could it use the former format.
>
> It does neither.  It does this instead:
>
> 	* file1:
>
> 	* file2:
>
> 	* file3:

Really?

You type:

     * file1, file2, file3, ...

and auto-fill gives you the format you quote? That seems very odd to me,
and not what I see. But that's not really relevant AFAICS, since it's
not the format I asked for.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 16:06:01 GMT) Full text and rfc822 format available.

Message #12 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Thu, 11 Dec 2014 18:05:21 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 19341 <at> debbugs.gnu.org
> Date: Wed, 10 Dec 2014 22:41:43 -0500
> 
> Eli Zaretskii wrote:
> >> But Change Log mode fills such lines as:
> >> 
> >>     * file1, file2, file3, file4, file5, file6, file7, file8, file9,
> >>     file10, file11:
> >> 
> >> Please could it use the former format.
> >
> > It does neither.  It does this instead:
> >
> > 	* file1:
> >
> > 	* file2:
> >
> > 	* file3:
> 
> Really?
> 
> You type:
> 
>      * file1, file2, file3, ...
> 
> and auto-fill gives you the format you quote?

Well, if you just type manually a bunch of file names, how is Emacs to
know they are file names?  You can format it any way you like, it's
just text as far as Emacs is concerned.

The format I show above is produced by "C-x 4 a" and friends, when you
type that command in several buffers one after the other.

> But that's not really relevant AFAICS, since it's not the format I
> asked for.

How do you expect Emacs to distinguish between a list of files and
arbitrary text, in your scenario?  You only want it to do that
for files, right?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 16:57:02 GMT) Full text and rfc822 format available.

Message #15 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Thu, 11 Dec 2014 11:56:08 -0500
Eli Zaretskii wrote:

> How do you expect Emacs to distinguish between a list of files and
> arbitrary text, in your scenario?  You only want it to do that
> for files, right?

Files are what come after "TAB * ". Font-lock manages to figure it out.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 18:11:02 GMT) Full text and rfc822 format available.

Message #18 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Thu, 11 Dec 2014 20:10:32 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 19341 <at> debbugs.gnu.org
> Date: Thu, 11 Dec 2014 11:56:08 -0500
> 
> Eli Zaretskii wrote:
> 
> > How do you expect Emacs to distinguish between a list of files and
> > arbitrary text, in your scenario?  You only want it to do that
> > for files, right?
> 
> Files are what come after "TAB * ". Font-lock manages to figure it out.

Your example was this:

   * file1, file2, file3, file4, file5, file6, file7, file8, file9:
   * file10, file11:

In this example, file1 and file10 follow "TAB * ", but all the rest do
not.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Thu, 11 Dec 2014 18:41:01 GMT) Full text and rfc822 format available.

Message #21 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Thu, 11 Dec 2014 13:40:40 -0500
OK, well, pretend I explained what the likely characters in a file name
are (the ones which ChangeLog mode already knows about, since it
font-locks them).

In summary, I think it's possible and you don't. In the unlikely event
someone ever works on this, they can make up their own mind.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Tue, 25 Jan 2022 13:56:01 GMT) Full text and rfc822 format available.

Message #24 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Tue, 25 Jan 2022 14:55:46 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> I can't find the reference for why I think this, so maybe I'm just
> wrong, but I always thought that multi-line file lists should be written
> in ChangeLogs as:
>
>    * file1, file2, file3, file4, file5, file6, file7, file8, file9:
>    * file10, file11:
>
> But Change Log mode fills such lines as:
>
>     * file1, file2, file3, file4, file5, file6, file7, file8, file9,
>     file10, file11:
>
> Please could it use the former format.

Makes sense to me, so I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 19341 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 25 Jan 2022 13:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Tue, 25 Jan 2022 17:57:02 GMT) Full text and rfc822 format available.

Message #29 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Tue, 25 Jan 2022 12:56:34 -0500
Lars Ingebrigtsen wrote:

> Makes sense to me, so I've now fixed this in Emacs 29.

Thanks, but I don't see where. (I find it very helpful to have the
relevant git hash, or indeed the whole commit, in bug closure messages.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Wed, 26 Jan 2022 11:28:01 GMT) Full text and rfc822 format available.

Message #32 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Wed, 26 Jan 2022 12:27:38 +0100
>>>>> On Tue, 25 Jan 2022 12:56:34 -0500, Glenn Morris <rgm <at> gnu.org> said:

    GM> Lars Ingebrigtsen wrote:
    >> Makes sense to me, so I've now fixed this in Emacs 29.

    GM> Thanks, but I don't see where. (I find it very helpful to have the
    GM> relevant git hash, or indeed the whole commit, in bug closure messages.)

fb16a6c124

found via 'git log --grep 19341'

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19341; Package emacs. (Wed, 26 Jan 2022 13:42:02 GMT) Full text and rfc822 format available.

Message #35 received at 19341 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19341 <at> debbugs.gnu.org
Subject: Re: bug#19341: Change Log mode filling of multi-line file lists
Date: Wed, 26 Jan 2022 14:41:07 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Thanks, but I don't see where. (I find it very helpful to have the
> relevant git hash, or indeed the whole commit, in bug closure messages.)

Forgot to push as usual.  It would indeed be nice to have the commits in
the bug tracker, but it's too much work.

(Somebody could set up a Git commit hook that posts diffs that refer to
patches to be bug tracker, though.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Feb 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.