unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: adamp_at@at_ipipan.waw.pl (Adam P.)
Subject: Re: enhanced diary mode?
Date: Sun, 03 Nov 2002 13:31:51 +0100	[thread overview]
Message-ID: <87vg3ezvew.fsf@at_ipipan.waw.pl> (raw)
In-Reply-To: mailman.1036324818.17268.help-gnu-emacs@gnu.org

"Alfred M. Szmidt" <ams@kemisten.nu> writes:

> Did you read the section about Calendar/Diary in the Emacs manual?

Yes.  Apparently missed some important bits, though...

> From (emacs)Diary Commands:
>
>    Many users like to receive notice of events in their diary as
> email.  To send such mail to yourself, use the command `M-x
> diary-mail-entries'.  A prefix argument specifies how many days
> (starting with today) to check; otherwise, the variable
> `diary-mail-days' says how many days.

This description wasn't helpful because it suggested that I have to
run M-x diary-mail-entries manually each time I want to remind myself
about diary entries, which missed the point.  But "C-h f
diary-mail-entries" describes a way of automating this task (using
cron).

>    - marking diary entries in various ways depending on the type of the
>      entry (e.g.: anniversaries in red and appointment via underlining);
>
> See (emacs)Special Diary Entries:
>
>    Each of the standard sexp diary entries takes an optional parameter
> specifying the name of a face or a single-character string to use when
> marking the entry in the calendar.

A! This is useful -- thanks.  More useful would be defining just a few
entry types, with a face for each type, and without the need to
manually assign face to each entry, but I suppose this can be done
with some elisp tweaking.

>    - something like RefTeX's follow mode: moving cursor from one date to
>      another would automatically result in displaying diary entries for
>      the new date, without the need to press 'd' each time.
>
> See calendar-move-hook:
>
> *List of functions called whenever the cursor moves in the calendar.
>
> For example,
>
>   (add-hook 'calendar-move-hook (lambda () (view-diary-entries 1)))
>
> redisplays the diary for whatever date the cursor is moved to.

Many thanks -- that's been very helpful.

Best,

        Adam
-- 
Name and address in X-Real...

  parent reply	other threads:[~2002-11-03 12:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-03 10:04 enhanced diary mode? Adam P.
2002-11-03 11:45 ` Alfred M. Szmidt
     [not found] ` <mailman.1036324818.17268.help-gnu-emacs@gnu.org>
2002-11-03 12:31   ` Adam P. [this message]
2002-11-03 16:53     ` Alan Shutko
2002-11-03 17:50       ` Adam P.
2002-11-03 16:52   ` Alan Shutko
2002-11-06  9:25     ` Janusz S. Bień
2002-11-06 13:35       ` Alan Shutko
2002-11-09 19:51         ` Janusz S. Bień
     [not found]       ` <mailman.1036591851.15704.help-gnu-emacs@gnu.org>
2002-11-06 15:30         ` David S Goldberg
     [not found]     ` <mailman.1036567032.10098.help-gnu-emacs@gnu.org>
2002-11-06 15:17       ` Edward M. Reingold
2002-11-04  2:10 ` Diary Usage Poll (WAS) " Galen Boyer
2002-11-04  2:22   ` Diary Usage Poll Henrik Enberg
2002-11-04  3:23   ` Diary Usage Poll (WAS) Re: enhanced diary mode? Alan Shutko
2002-11-04 21:27     ` David Masterson
2002-11-04 21:48       ` Diary Usage Poll David S Goldberg
2002-11-05 18:16         ` David Masterson
2002-11-04 22:07       ` Diary Usage Poll (WAS) Re: enhanced diary mode? Alan Shutko
2002-11-05 13:33         ` Sacha Chua
2002-11-05 18:41         ` Robert Uhl <ruhl@4dv.net>
2002-11-05 19:08           ` Alan Shutko
2002-11-05  0:47   ` mr.sparkle
2002-11-06 20:01     ` ken
     [not found]     ` <mailman.1036615660.28127.help-gnu-emacs@gnu.org>
2002-11-06 21:22       ` Diary Usage Poll Alan Shutko
2002-11-07 15:11         ` ken
     [not found]         ` <mailman.1036682579.21567.help-gnu-emacs@gnu.org>
2002-11-07 19:07           ` Alan Shutko

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=87vg3ezvew.fsf@at_ipipan.waw.pl \
    --to=adamp_at@at_ipipan.waw.pl \
    /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).