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

Bug#339938: enscript: Wrapped function lists in ChangeLog files are not highlighted properly

tags 339938 + moreinfo

Re: Daniel Leidert 2005-11-25 <1132881850.4987.9.camel@localhost>
> > Break long lists of function names by closing continued lines with ')',
> > rather than ',', and opening the continuation with '(' as in this
> > example:
> > 
> >     * keyboard.c (menu_bar_items, tool_bar_items)
> >     (Fexecute_extended_command): Deal with `keymap' property.
> > 
> > (http://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs)
> > 
> > The current enscript only highlights the last '(...)' before the ':' but
> > not all the other function lists. It would be really nice if you could
> > fix this bug.
> A fix is attached. It should expect a ':' or a newline after the closing
> bracket. For really long lists this should also be done for the last
> regex pattern ('Function name descriptions without file names.').

Hi Daniel,

I was just looking at your patch. Trying it on the gcc-4.1 changelog,
I couldn't spot any difference in coloring, though. Could you send me
a changelog where your patch makes a difference?

cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply to: