From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: diary turning off holidays Date: Tue, 10 Oct 2006 06:09:20 -0400 Message-ID: <452B7150.2000305@speakeasy.net> References: <6yfydxqa2z.fsf@xoc2.stanford.EDU> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1160474991 6020 80.91.229.2 (10 Oct 2006 10:09:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2006 10:09:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 12:09:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXEYP-00048w-2I for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 12:09:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXEYO-0000Pu-Fu for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 06:09:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXEYE-0000P2-EL for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:09:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXEYC-0000Np-Ol for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:09:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXEYC-0000Nm-Mk for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:09:28 -0400 Original-Received: from [69.17.117.6] (helo=mail4.sea5.speakeasy.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GXEfx-0002HD-7Q for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:17:29 -0400 Original-Received: (qmail 8591 invoked from network); 10 Oct 2006 10:09:26 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Oct 2006 10:09:26 -0000 User-Agent: Thunderbird 1.5.0.7 (X11/20060911) Original-To: GNU Emacs List In-Reply-To: <6yfydxqa2z.fsf@xoc2.stanford.EDU> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37959 Archived-At: On 10/09/2006 08:38 PM Glenn Morris wrote: > ken wrote: > >> (setq holidays-in-diary-buffer nil) >> >> but when I do this, holidays, s.a., Columbus Day, are not displayed at >> all. Is this how it's supposed to work? > > Yes. As it says in the documentation for this variable, and the Emacs > manual. You would think it would. But from what I can see, it doesn't say anything about what setting it to nil does, other than it makes the display "faster"... which isn't the same thing, right? --------------------------------------------------------------- holidays-in-diary-buffer is a variable defined in `calendar.el'. Its value is t Documentation: Non-nil means include holidays in the diary display. The holidays appear in the mode line of the diary buffer, or in the fancy diary buffer next to the date. This slows down the diary functions somewhat; setting it to nil makes the diary display faster. --------------------------------------------------------------- Glenn, what in the Emacs manual are you referring to? Because, honestly, my silly browser couldn't find it, not even in the current version of . Nor does the latest version of the Elisp manual provide any more information than the documentation shown above. You would think that it would. > >> If so, how do I get holidays displayed below the date along with >> other entries? > > You re-write the diary display function, or you add the holidays you > are interested in to your diary like any other entry. Of course (I suppose). It just seemed to me that in an application as mature as emacs-- including its diary/calendar-- this functionality would be autochthonous. I thought sure I was missing some other variable or something which would allow holidays to be displayed elsewhere than next to the date, perhaps some undocumented corner of the code, known only to the emacs scholars here. Thanks kindly for your reply. -- In a time of universal deceit, telling the truth becomes an act of rebellion. --George Orwell