help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the :eval form ?


From: Barry Margolin
Subject: Re: What is the :eval form ?
Date: Fri, 08 Jun 2012 14:21:26 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <lzvcj1tzqd.wl%philippe.coatmeur@gmail.com>,
 Philippe M. Coatmeur <philippe.coatmeur@gmail.com> wrote:

> 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... :(

It's not a special form, it's specific to the way the value of 
global-mode-string is interpreted.  If you read its documentation, 
you'll see that it's used within mode-line-format.  If you then read its 
documentation, it describes all the special keywords that can be used 
within it.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]