From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: Derived Mode 101 HOWTO
Date: Mon, 13 Mar 2006 17:57:28 -0000 [thread overview]
Message-ID: <slrne1bcbs.6ke.tim@linus.johnson.com> (raw)
In-Reply-To: yoij64mi8xjh.fsf@linus003.dd.chalmers.se
In gnu.emacs.help, you wrote:
> Tim Johnson <tim@johnsons-web.com> writes:
>
>> Error during redisplay:
>> (void-variable font-lock-newlisp-keywords-face) [2 times]
>
> I already tried to explain this one in the first part of my earlier
> post (subtly); look closer. Together with the error message you should
> be able to figure it out.
:-) You're too kind..
In your post, you provided this below:
;;=======================================================================
[C-h v font-lock-keywords]
Emacs:
"FACENAME is an expression whose value is the face name to use."
^^^^^^^^^^^^^^^^^^^^^^
XEmacs:
"FACE-FORM :== The symbol naming a defined face. | Expression whos
value is the face name to use. If you want FACE-FORM to be a
symbol that evaluates to a face, use a form like "(progn sym)"."
;;=======================================================================
And unfortunately I do not entirely understand. Are you saying that
XEmacs needs a 'progn form for the face?
By quoting the face:
(defvar newlisp-font-lock-keywords
`(,@scheme-font-lock-keywords
(,(concat "\\<\\(" newlisp-keywords "\\)\\>")
. 'font-lock-newlisp-keywords-face) ;; quoted here
)
"List of newlisp keywords and faces")
Highlighting is now 'enabled' in GNU emacs
*but*
is now 'disabled' in XEmacs.
Don't know how to resolve ...
thanks
tim
--
Tim Johnson <tim@johnsons-web.com>
http://www.alaska-internet-solutions.com
next prev parent reply other threads:[~2006-03-13 17:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 17:59 Derived Mode 101 HOWTO Tim Johnson
2006-03-07 18:01 ` Stefan Monnier
2006-03-08 2:58 ` Tim Johnson
2006-03-08 5:46 ` Stefan Monnier
2006-03-08 16:58 ` Tim Johnson
2006-03-11 17:15 ` Stefan Monnier
2006-03-12 0:57 ` Tim Johnson
2006-03-12 13:49 ` Stefan Monnier
2006-03-13 1:48 ` Tim Johnson
2006-03-13 10:10 ` Johan Bockgård
2006-03-13 17:57 ` Tim Johnson [this message]
2006-03-13 21:35 ` Johan Bockgård
2006-03-13 23:57 ` Tim Johnson
2006-03-12 5:29 ` Johan Bockgård
2006-03-12 17:50 ` Tim Johnson
2006-03-12 18:14 ` Johan Bockgård
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=slrne1bcbs.6ke.tim@linus.johnson.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.