From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philippe M. Coatmeur Newsgroups: gmane.emacs.help Subject: What is the :eval form ? Date: Fri, 08 Jun 2012 18:39:22 +0000 Organization: A noiseless patient Spider Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1339177813 5641 80.91.229.3 (8 Jun 2012 17:50:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 17:50:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 19:50:12 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sd3K8-0003PX-5H for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 19:50:12 +0200 Original-Received: from localhost ([::1]:45376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd3K8-0000ka-1T for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 13:50:12 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Injection-Info: mx04.eternal-september.org; posting-host="l6ZpNYZpdkye8DdcMXcwMg"; logging-data="6154"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18L2K00enA83nXoEmhlkwMvaLqIw9oFBKs=" User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.1 Mule/6.0 (HANACHIRUSATO) Cancel-Lock: sha1:i7pKlg40ywJksQhSAtmnVZqS1MA= Original-Xref: usenet.stanford.edu gnu.emacs.help:192753 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85159 Archived-At: 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