From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.help Subject: Re: "variable [in .emacs] is void" Date: Sun, 21 Dec 2003 21:07:10 +0100 Organization: Lemis World Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1072037765 13310 80.91.224.253 (21 Dec 2003 20:16:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2003 20:16:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 21 21:16:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AY9ze-00034c-00 for ; Sun, 21 Dec 2003 21:16:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AYAvO-0005O1-Ml for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Dec 2003 16:15:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.f.de.plusline.net!feed.news.tiscali.de!news.tiscali.de!wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: p62.246.12.69.tisdip.tiscali.de Original-X-Trace: ulysses.news.tiscali.de 1072037367 92843 62.246.12.69 (21 Dec 2003 20:09:27 GMT) Original-X-Complaints-To: abuse@tiscali.de Original-NNTP-Posting-Date: Sun, 21 Dec 2003 20:09:27 +0000 (UTC) X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:; &*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.4.0 Cancel-Lock: sha1:6gjP9CggPSHSTdrHA10lRTgky8w= Original-Xref: shelby.stanford.edu gnu.emacs.help:119552 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15492 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15492 An unnamed person wrote: > (eval-after-load "sendmail" > (add-hook 'mail-setup-hook ^ Here is the error. You need to quote that list. [...] so it becomes: (eval-after-load "sendmail" '(add-hook 'mail-setup-hook ... > Sometimes that works with this variable, other times it doesn't. My > almost educated guess is that it depends on whether or not I've first > opened a mail session (M-x mail). Right. KP -- "But it has nothing to do with what a _value_ is. This has to do with whether you pass whatever-a-value-is or wherever-whatever-is-a-value-is whenever you pass an argument to a function. (Call it the Shakira theory. :)" [Erik Naggum in cllisp über call-by-value und call-by-reference]