[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get value of parameter in macro
From: |
Cecil Westerhof |
Subject: |
Re: How to get value of parameter in macro |
Date: |
Wed, 06 Jan 2010 16:58:09 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Ted Zlatanov <tzz@lifelogs.com> writes:
> CW> The key binding is okay, but the lambda function not. This becomes:
> CW> (lambda nil (interactive) (gnus-group-jump-to-group group-to-jump-to))
>
> CW> instead of:
> CW> (lambda nil (interactive) (gnus-group-jump-to-group "nndraft:drafts"))
>
> CW> What do I need to do to get the value of group-to-jump-to instead of the
> CW> string?
>
> Read the manual section on macros again, and again, and again. It
> really takes a while. You are trying to find the , interpolation
> marker, e.g. ",group-to-jump-to" will become "nndraft:drafts" but again
> you should read the manual very thoroughly.
I have already tried that, but -until now- without avail. Lisp is
certainly a 'little' harder to learn as other languages. But when I
understand it correctly you have a very powerful tool when you grasp it.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof