From: "vy" <volkan.yazici@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Macro Problem
Date: 2 Apr 2007 14:15:06 -0700 [thread overview]
Message-ID: <1175548506.345646.47790@l77g2000hsb.googlegroups.com> (raw)
Hi,
I'm trying to fix a macro for a simple task but still couldn't figure
out the solution to the problem emacs complains about. Here's the
related macro:
(defun adhoc-make-font-face (face spec)
`(,face ((((class color)
(min-colors 8))
,spec))))
(defmacro adhoc-custom-set-faces (faces)
`(custom-set-faces
,@(loop for face in faces
collect (adhoc-make-font-face (first face) (second
face)))))
(adhoc-custom-set-faces
'((font-lock-builtin-face (:foreground "yellow"))
(font-lock-comment-face (:foreground "red"))
(font-lock-function-name-face (:foreground "cyan"
:underline "cyan"))))
I'll be appreciated if anybody can give some hints about how to fix
the problem.
Regards.
next reply other threads:[~2007-04-02 21:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-02 21:15 vy [this message]
2007-04-03 8:11 ` Macro Problem Pascal Bourguignon
2007-04-04 9:53 ` vy
-- strict thread matches above, loose matches on Subject: below --
2018-05-13 20:22 Macro problem Douglas Harter
2018-05-15 15:01 Douglas Harter
2018-05-15 17:13 ` John Mastro
[not found] <mailman.32.1526396527.20804.help-gnu-emacs@gnu.org>
2018-05-15 15:32 ` Barry Margolin
2018-05-15 16:20 ` Paw Writer
2018-05-15 17:13 ` Søren Pilgå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=1175548506.345646.47790@l77g2000hsb.googlegroups.com \
--to=volkan.yazici@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.