[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font-lock of comments using comment tokens, does it work?
From: |
Björn Lindqvist |
Subject: |
Re: Font-lock of comments using comment tokens, does it work? |
Date: |
Thu, 4 Jun 2015 01:37:04 +0200 |
2015-06-03 21:11 GMT+02:00 Stefan Monnier <monnier@iro.umontreal.ca>:
>> I have a really complicated font-locking problem I'm trying to solve
>> for a major mode. It's like I've tried everything but nothing
>> works. Here is the question I asked on Stack Overflow and got some
>> help with but it didn't go all the way:
>
> The answer there gives you the technique to use. AFAICT you only need
> to adjust the regexp he used in exmark-syntax-propertize.
>
> You'll want to read about syntax-tables in the Elisp manual to
> understand what the "_" means in that function (for a quick
> refresher on which char means what, C-h f modify-syntax-entry RET is
> what I use, but you first need to read the Elisp reference to really
> understand how that works).
If you think you know what it should be changed to, can you tell me?
I've tried a dozen different permutations of the regexp and none of
them produces the desired result. I've also read the syntactic
font-lock and syntax table sections of the manual several times and I
still don't get it. (sorry for the double mail)
--
mvh/best regards Björn Lindqvist
- Font-lock of comments using comment tokens, does it work?, Björn Lindqvist, 2015/06/03
- Re: Font-lock of comments using comment tokens, does it work?, Stefan Monnier, 2015/06/03
- Re: Font-lock of comments using comment tokens, does it work?,
Björn Lindqvist <=
- Message not available
- Re: Font-lock of comments using comment tokens, does it work?, Stefan Monnier, 2015/06/03
- Re: Font-lock of comments using comment tokens, does it work?, Björn Lindqvist, 2015/06/04
- Message not available
- Re: Font-lock of comments using comment tokens, does it work?, Stefan Monnier, 2015/06/04
- Re: Font-lock of comments using comment tokens, does it work?, Björn Lindqvist, 2015/06/04
- Re: Font-lock of comments using comment tokens, does it work?, tomas, 2015/06/05
- Re: Font-lock of comments using comment tokens, does it work?, Björn Lindqvist, 2015/06/05
- Re: Font-lock of comments using comment tokens, does it work?, Björn Lindqvist, 2015/06/06
- Re: Font-lock of comments using comment tokens, does it work?, tomas, 2015/06/07