bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Accept Bison's NEWS format.


From: Jim Meyering
Subject: Re: [PATCH] Accept Bison's NEWS format.
Date: Tue, 04 Nov 2008 16:19:23 +0100

"Joel E. Denny" <address@hidden> wrote:
> announce-gen doesn't like Bison's NEWS format.  The following patch fixes
> it.  Or should we consider reformatting Bison's NEWS file?  Thanks.
>
>>From f289ed88ea6513e18709b6b65ea3875bbd375998 Mon Sep 17 00:00:00 2001
> From: Joel E. Denny <address@hidden>
> Date: Sun, 2 Nov 2008 17:58:01 -0500
> Subject: [PATCH] Accept Bison's NEWS format.
>
> * build-aux/announce-gen (print_news_deltas): Here.
>
> diff --git a/build-aux/announce-gen b/build-aux/announce-gen
> index 6775665..fc852d1 100755
> --- a/build-aux/announce-gen
> +++ b/build-aux/announce-gen
> @@ -207,7 +207,7 @@ sub print_news_deltas ($$$)
>    # the first occurrence of $prev_version.
>    my $in_items;
>
> -  my $re_prefix = qr/\* (?:Noteworthy|Major) change/;
> +  my $re_prefix = qr/\* (?:Noteworthy|Major) change|Changes/;

Hi Joel,

In addition to this, you might want to adjust Bison's NEWS format.
Adding one more level of "*" will make it so that it can be navigated
via emacs' outline mode.  I.e., you can make it so that each "* Changes
..." line is a major heading, and where currently there are bullet
items per release, you'd use two asterisks instead of one.  And finally,
add the -*- outline -*- mode setting on the first line:

Bison News                                    -*- outline -*-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]