all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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

  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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.