unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Denis Bueno" <dbueno@gmail.com>
To: "Emacs Dev [emacs-devel]" <emacs-devel@gnu.org>,
	 help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: todo-prefix default value has odd diary interpretation
Date: Fri, 20 Apr 2007 10:04:22 -0400	[thread overview]
Message-ID: <6dbd4d000704200704l9c7b35ere80d396f1fb27ebf@mail.gmail.com> (raw)

[Crossposting because this is half request-for-help and half bug-report.]

I recently started using diary and todo-mode. I use the following
customisations to have emacs display appoinments as they occur:

;; Remind me about diary entries.
(add-hook 'diary-display-hook 'appt-make-list)
;; Also display the diary when I do M-x diary.
(add-hook 'diary-display-hook 'fancy-diary-display)
;; Enable #include in diary.
(add-hook 'list-diary-entries-hook 'include-other-diary-files)

As suggested in todo-mode.el in the emacs trunk, I enable diary
includes so that my todos show up when I'm reading my diary for the
day. This behavior is useful. However, I find one thing odd:

If I add a todo to some category at (say) 09:00 on Tuesday, then when
I read my diary wednesday morning, I get an "appointment" at 09:00
whose text is the text of the todo. This doesn't make any sense,
because the time at which I added the todo has nothing (necessarily)
to do with any kind of "deadline" for that todo (I put the deadline in
scare quotes because todo-mode appears to have no concept of deadlines
for todos).

So, first: is there a way to set a deadline for a todo, such that
emacs will display an appointment at the time of the deadline for the
todo?

Second: should this behavior be changed so that the time of entering
the todo should not be considered an appointment time?

Please let me know if I'm confused, or if you agree with my confusion.

Thanks.

-Denis

             reply	other threads:[~2007-04-20 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 14:04 Denis Bueno [this message]
2007-04-20 18:32 ` todo-prefix default value has odd diary interpretation Glenn Morris
2007-04-20 18:41   ` Denis Bueno

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=6dbd4d000704200704l9c7b35ere80d396f1fb27ebf@mail.gmail.com \
    --to=dbueno@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).