From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: Syntax highlight (problem with 'concat)
Date: Mon, 2 Jan 2006 18:59:06 -0900 [thread overview]
Message-ID: <20060103035906.GB1812@johnsons-web.com> (raw)
In-Reply-To: <871wzq2cye.fsf@gmail.com>
* Ian Zimmerman <nobrowser@gmail.com> [060102 18:51]:
> Tim> '("\\b\\(print\\|setq\\)\\b" . font-lock-user-keyword-face) ;; good, line below is bad
> Tim> ;'((concat tj-word-begin tj-lisp-user-keywords tj-word-end) . font-lock-user-keyword-face)
>
> The quote around the last item in the list applies to _everything_ inside.
> So your concat call never actually happens. What you want is something like
I suspected that ....
> ...
>
> (cons (concat tj-word-begin tj-lisp-user-keywords tj-word-end) 'font-lock-user-keyword-face)
Aha!
> ...
>
>
> or use quasi-quotes (see Elisp manual)
Okay, will bone up on that too...
Thank you Ian!
--
Tim Johnson <tim@johnsons-web.com>
http://www.alaska-internet-solutions.com
next prev parent reply other threads:[~2006-01-03 3:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-03 3:34 Syntax highlight (problem with 'concat) Tim Johnson
2006-01-03 3:43 ` Ian Zimmerman
2006-01-03 3:59 ` Tim Johnson [this message]
2006-01-03 18:09 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060103035906.GB1812@johnsons-web.com \
--to=tim@johnsons-web.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).