The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.lisp
From: Tamas Papp <tkp...@gmail.com>
Date: Sun, 22 Jan 2012 14:22:37 +0000 (UTC)
Local: Sun, Jan 22 2012 9:22 am
Subject: Re: highlighting let+
On Sun, 22 Jan 2012 14:02:33 +0000, Tim Bradshaw wrote:
You are right, but Emacs is one of the most important IDEs for CL, so
> On 2012-01-22 13:45:07 +0000, Tamas Papp said: >> Hi,
>> How can I highlight the symbol `let+' in Emacs (SLIME etc, standard
>> I tried
>> (font-lock-add-keywords nil
>> but the `+' isn't highlighted, only the `let'.
>> Best,
>> Tamas
> This is really an Emacs question: I don't know if there are still active
I thought I would try here, because I expect that very few languages have keywords that have characters like + in them so lispers are most likely to have run into this problem. > Emacs newsgroups. But I'm guessing that the keyword is a regexp so "+"
Strangely, it is the opposite: in Emacs regexps, + does what you
> is special, and what you've probably defined is a pattern which will > highlight "lett", "lettt" & so on. Probably you want "let\\+" or > "let[+]" or something like that. describe when you escape it. I have also tried
(font-lock-add-keywords nil
which at least doesn't interfere with flet & similar, but the + is
Best,
Tamas
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||