bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: forward-comment doesn't (quite) match its documentation


From: Alan Mackenzie
Subject: Re: forward-comment doesn't (quite) match its documentation
Date: 29 Nov 2001 11:15:43 +0100
Date: Thu, 29 Nov 2001 10:15:25 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Stefan Monnier <monnier+gnu.emacs.bug/news/@rum.cs.yale.edu> wrote on 27
Nov 2001 19:33:14 -0500:
>>>>>> "Alan" == Alan Mackenzie <address@hidden> writes:

>>> Are you working on the version that's in the CVS repository ?  If not,
>>> you should.

>> Yes, ...

> Excellent.

>>> The version that's in the CVS repository has font-lock tricks to 
>>> (try to) take care of it.
>> They're not yet perfect:  For example, in a statement like:
>> /^[ \t]*#/ {comments += 1}

> Huh?  I just tried it and it worked fine.  The /.../ part is highlighted
> with the font-lock-string text property and the rest as plain code.

> Are you sure you tried with the version that's in the trunk of
> the CVS repository ?

Er, no, sorry!  I said "yes" (see above), because I was thinking mainly
about the cc-mode files.  For awk-mode.el, I've got the version which was
shipped with 21.1 (4109 bytes, Nov  5  2000).  I kind of assumed without
thinking that nothing would have been done on it since then.

Could you give me a pointer towards the CVS repository, please.  I found
the address of one or two gnu CVS servers on www.gnu.org, but I don't
know the name of the module which awk-mode.el is in.  I don't know CVS
that well.  Is there an "ls" command for a CVS repository?
Alternatively, could you possibly email me a copy of the current
awk-mode.el.

>> At the moment I'm planning on setting the syntax-table text property on
>> certain awkward characters ('/' when it's a division sign, and possibly

> That's exactly what my font-lock settings do.

Are you talking about font-lock settings you've made in awk-mode.el or
just about awkward characters in some other mode?

>       Stefan

-- 
Alan Mackenzie (Munich, Germany)
Email: address@hidden; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").




reply via email to

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