From: ken <gebser@speakeasy.net>
Subject: Re: diary turning off holidays
Date: Tue, 10 Oct 2006 06:09:20 -0400 [thread overview]
Message-ID: <452B7150.2000305@speakeasy.net> (raw)
In-Reply-To: <6yfydxqa2z.fsf@xoc2.stanford.EDU>
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
next prev parent reply other threads:[~2006-10-10 10:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2006-10-06 13:31 ken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=452B7150.2000305@speakeasy.net \
--to=gebser@speakeasy.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).