Re: trivial bug of font-lock in Change Log mode.

2005-06-09 Thread Kenichi Handa
In article <[EMAIL PROTECTED]>, Richard Stallman <[EMAIL PROTECTED]> writes: > Anyway, I think this kind of discussion is useless unless we > know what kind of date format we are going to support. For > instance, the current one doesn't handle this kind of date > format (note "JST

Re: trivial bug of font-lock in Change Log mode.

2005-05-28 Thread Richard Stallman
Anyway, I think this kind of discussion is useless unless we know what kind of date format we are going to support. For instance, the current one doesn't handle this kind of date format (note "JST"): Sat May 28 09:41:40 JST 2005 The idea is to handle date formats that were ac

Re: trivial bug of font-lock in Change Log mode.

2005-05-27 Thread Kenichi Handa
In article <[EMAIL PROTECTED]>, Richard Stallman <[EMAIL PROTECTED]> writes: >>;; Date lines, new and old styles. >> ! >> ("^\\([1-9][0-9][0-9][0-9]-[0-9-]+\\|\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) >> \\sw\\sw\\sw\\)[0-9:+ ]*" >> (0 'change-log-date-face) >

Re: trivial bug of font-lock in Change Log mode.

2005-05-27 Thread Richard Stallman
> ;; Date lines, new and old styles. > ! ("^\\([1-9][0-9][0-9][0-9]-[0-9-]+\\|\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\sw\\sw\\sw\\)[0-9:+ ]*" > (0 'change-log-date-face) > Shouldn't that regexp end with + rather than *? The original regexp also

Re: trivial bug of font-lock in Change Log mode.

2005-05-27 Thread Juri Linkov
> For instance, emacs/src/ChangeLog has this line near the > end. > > See ChangeLog.9 for earlier changes. > > When I visit this file and turn on font-lock mode, "See > Change" (the first 10 characters) gets change-log-data-face. > > It seems that the attached change fix the problem, but, it > may

Re: trivial bug of font-lock in Change Log mode.

2005-05-26 Thread Kenichi Handa
In article <[EMAIL PROTECTED]>, Richard Stallman <[EMAIL PROTECTED]> writes: > ;; Date lines, new and old styles. > ! > ("^\\([1-9][0-9][0-9][0-9]-[0-9-]+\\|\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) > \\sw\\sw\\sw\\)[0-9:+ ]*" > (0 'change-log-date-face) > Sho

Re: trivial bug of font-lock in Change Log mode.

2005-05-26 Thread Richard Stallman
;; Date lines, new and old styles. ! ("^\\([1-9][0-9][0-9][0-9]-[0-9-]+\\|\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\sw\\sw\\sw\\)[0-9:+ ]*" (0 'change-log-date-face) Shouldn't that regexp end with + rather than *? ___

trivial bug of font-lock in Change Log mode.

2005-05-25 Thread Kenichi Handa
For instance, emacs/src/ChangeLog has this line near the end. See ChangeLog.9 for earlier changes. When I visit this file and turn on font-lock mode, "See Change" (the first 10 characters) gets change-log-data-face. It seems that the attached change fix the problem, but, it may fail if there are