From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Denis Bueno" Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: todo-prefix default value has odd diary interpretation Date: Fri, 20 Apr 2007 10:04:22 -0400 Message-ID: <6dbd4d000704200704l9c7b35ere80d396f1fb27ebf@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177077892 22594 80.91.229.12 (20 Apr 2007 14:04:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2007 14:04:52 +0000 (UTC) To: "Emacs Dev [emacs-devel]" , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 16:04:45 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hetj5-0007UK-Tf for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 16:04:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Heto9-0008WQ-Oj for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 10:09:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hetnw-0008W1-Hr for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:09:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hetnu-0008VI-Li for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:09:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hetnu-0008VF-Es for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:09:38 -0400 Original-Received: from nz-out-0506.google.com ([64.233.162.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hetip-0001LN-CM for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:04:23 -0400 Original-Received: by nz-out-0506.google.com with SMTP id s1so708869nze for ; Fri, 20 Apr 2007 07:04:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UhGsFLSwSZgj9GihmSDIrGnNj3oa9bb3TedSwccgmSlcyZjzRbsgVzUGIXadE399jXoI6zbidWJi+gGkeUMlfwUqnAYsTOYwod1SZBZZlRzLIbc4T9ZaVX144phZFFA9Zm7r9FWWHdQD/rIS5XAjPCI6joWow5TsMb1dyXoK0og= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E/chS/ke35VAJ5NyqnxpWOSlDo8YrLP3L3XQbBH6eGf8ry8onA8bwVLnCXDeGn5ZsI5A3Jy6kzwu+sPLeNFh7G4yjPNXIykYBI46nGP9izgXvtoJVzVcp3AR+0RK9Kjy40jt5ja8+c0N+TcXnLMVvgUi1eYIEK6h8pph/EbLLeM= Original-Received: by 10.114.75.1 with SMTP id x1mr1220402waa.1177077862666; Fri, 20 Apr 2007 07:04:22 -0700 (PDT) Original-Received: by 10.114.195.2 with HTTP; Fri, 20 Apr 2007 07:04:22 -0700 (PDT) Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42891 gmane.emacs.devel:69689 Archived-At: [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