[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is the :eval form ?
From: |
Philippe M . Coatmeur |
Subject: |
What is the :eval form ? |
Date: |
Fri, 08 Jun 2012 18:39:22 +0000 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/24.1 Mule/6.0 (HANACHIRUSATO) |
Hi ; I'm trying to get some information about this (e?)lisp form
(add-to-list 'global-mode-string
'(:eval (mail-bug-mode-line-all "2")))
But it appears to be really hard to google for it, as both
https://www.google.com/search?q=":eval"
https://www.google.com/search?q="eval"
Return the same results... (apparently google does not care for
punctuation)
How can I find information about this special form ? When I ask emacs
using C-h f with point over it, it acts like google and shows me the
"plain eval" info page... :(
BTW what I'm trying to do is to use a variable to pass the ("2" in the
example) argument to the function, to use it in a loop, like this :
(loop for i from 1 to 3 do
(add-to-list 'global-mode-string
'(:eval (mail-bug-mode-line-all (format "%s" i)))))
but i's value is always stuck at 1 :(
Phil
- What is the :eval form ?,
Philippe M . Coatmeur <=
- Re: What is the :eval form ?, Eli Zaretskii, 2012/06/08
- RE: What is the :eval form ?, Drew Adams, 2012/06/08
- Re: What is the :eval form ?, Tassilo Horn, 2012/06/08
- Re: What is the :eval form ?, Tassilo Horn, 2012/06/08
- RE: What is the :eval form ?, Drew Adams, 2012/06/08
- Re: What is the :eval form ?, Barry Margolin, 2012/06/08
- Message not available