From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jason Schroeder" Newsgroups: gmane.emacs.bugs Subject: todo-mode.el comment patch Date: Sat, 30 Mar 2002 22:09:56 -0800 (PST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <20020330220957.952.c001-h014.c001.wm@mail.subnature.com.criticalpath.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1017555139 8826 127.0.0.1 (31 Mar 2002 06:12:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2002 06:12:19 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16rYZe-0002IF-00 for ; Sun, 31 Mar 2002 08:12:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rYZa-00052V-00; Sun, 31 Mar 2002 01:12:14 -0500 Original-Received: from c001-h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16rYXP-0004mC-00 for ; Sun, 31 Mar 2002 01:09:59 -0500 Original-Received: (cpmta 21960 invoked from network); 30 Mar 2002 22:09:57 -0800 Original-Received: from 209.228.32.128 (HELO mail.subnature.com.criticalpath.net) by smtp.parent.register.com (209.228.32.119) with SMTP; 30 Mar 2002 22:09:57 -0800 X-Sent: 31 Mar 2002 06:09:57 GMT Original-Received: from [12.228.35.72] by mail.subnature.com with HTTP; Sat, 30 Mar 2002 22:09:56 -0800 (PST) Content-Disposition: inline Original-To: bug-gnu-emacs@gnu.org X-Sent-From: shrode@subnature.com X-Mailer: Web Mail 5.0.7-2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:320 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:320 Hi. lisp/calendar/todo-mode.el is missing some relevant comments. The next new user can avoid reading the elisp code if the following was included in the comments. This is an anonymous donation for all I care. Jason Schroeder --- todo-mode.el~ Tue Nov 13 04:12:45 2001 +++ todo-mode.el Sun Mar 31 06:03:58 2002 @@ -69,6 +69,28 @@ ;; in order to initialise the file, but it is not necessary ;; afterwards. ;; +;; TODO is designed to be used in conjunction with diary mode. This +;; indicates the purpose of the pattern "*/*" (aka todo-prefix below) +;; in the TODO files. The following are diary specific initializations +;; used to expose the TODO/diary functionality. +;; +;; In the diary-file, you add the line: +;; #include "~/.todo-do" +;; (The file name is the same as todo-file-do.) +;; +;; Also, you add the following in order to cause the diary include +;; include feature to work. +;; (add-hook 'diary-display-hook 'fancy-diary-display) +;; (add-hook 'list-diary-entries-hook 'include-other-diary-files) +;; +;; And, when using the diary mode in conjunction with the calendar mode, +;; the first turns that feature on and the second controls whether the +;; todo items are indicated on the calendar. I do not suggest the use +;; of the diary marking feature in conjunction with TODO. +;; +;; (add-hook 'diary-hook 'appt-make-list) +;; (add-hook 'mark-diary-entries-hook 'mark-included-diary-files) +;; ;; As these commands are quite long to type, I would recommend ;; the addition of two bindings to your to your global keymap. I ;; personally have the following in my initialisation file: