From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.help Subject: Re: non nil? Date: 08 Sep 2002 22:52:12 +0200 Organization: CWI, Amsterdam Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031519169 29094 127.0.0.1 (8 Sep 2002 21:06:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Sep 2002 21:06:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17o9Fv-0007Z8-00 for ; Sun, 08 Sep 2002 23:06:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17o9Fv-00065y-00; Sun, 08 Sep 2002 17:06:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!isdnet!surfnet.nl!news.surfnet.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: occarina.pna.cwi.nl Original-X-Trace: news.surfnet.nl 1031518332 21004 192.16.184.200 (8 Sep 2002 20:52:12 GMT) Original-X-Complaints-To: usenet@news.surfnet.nl Original-NNTP-Posting-Date: Sun, 8 Sep 2002 20:52:12 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 In-Reply-To: Original-Xref: nntp.stanford.edu gnu.emacs.help:104597 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1154 Raimund.Kohl@freenet.de writes: > I think I do have a silly question here - but since I am not a techguy I > don't hesitate to ask anyway :-)) > > I am about to customize my diary and came across a part of the > documentarey: > > "If the variable `cal-tex-diary' is non-`nil' (the default is `nil'), > diary entries are included also (in weekly and monthly calendars > only)." > > If I want to have the diary entries printed with the latex-calender I am > to declare > > (setq cal-tex-diary t) > > in the .emacs file? I'm not familiar with the diary, but if I understand you correctly, you would like to know if t is non-nil. Yes, it is. In (Emacs) Lisp, variables can hold a lot different object. One of those objects, nil, is considered special. All other values are said to be non-nil. If you would like a variable to be anything but nil, you usually set it to t, but any other value like the number 5, or the symbol 'blackbird would do as well. Incidentally, nil is exactly the same as the empty list '(). Lute. -- (spook) => "beanpole Roswell hackers" (insert-file-contents "~/.signature") => (error "`~/.signature' too rude")