* Re: diary turning off holidays
[not found] <mailman.7810.1160141516.9609.help-gnu-emacs@gnu.org>
@ 2006-10-10 0:38 ` Glenn Morris
2006-10-10 10:09 ` ken
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2006-10-10 0:38 UTC (permalink / raw)
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.
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: diary turning off holidays
2006-10-10 0:38 ` diary turning off holidays Glenn Morris
@ 2006-10-10 10:09 ` ken
0 siblings, 0 replies; 3+ messages in thread
From: ken @ 2006-10-10 10:09 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* diary turning off holidays
@ 2006-10-06 13:31 ken
0 siblings, 0 replies; 3+ messages in thread
From: ken @ 2006-10-06 13:31 UTC (permalink / raw)
Rather than having holidays (calendar-holidays) displayed on the same
line and after the date, I wanted them below the date, along with other
entries for that day. I set
(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? If so, how do I get holidays
displayed below the date along with other entries?
Thanks.
--
In a time of universal deceit, telling the truth becomes an act of
rebellion.
--George Orwell
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-10 10:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.7810.1160141516.9609.help-gnu-emacs@gnu.org>
2006-10-10 0:38 ` diary turning off holidays Glenn Morris
2006-10-10 10:09 ` ken
2006-10-06 13:31 ken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).