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

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

Re: diary turning off holidays


From: ken
Subject: Re: diary turning off holidays
Date: Tue, 10 Oct 2006 06:09:20 -0400
User-agent: Thunderbird 1.5.0.7 (X11/20060911)

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 <http://www.gnu.org/software/emacs/manual/emacs.html>.  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





reply via email to

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