Mercurial > emacs
comparison lisp/calendar/todo-mode.el @ 83565:41aaac7180d5
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-708
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-709
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-710
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-711
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-712
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-713
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-714
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-715
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-716
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-717
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-718
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-719
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-720
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-721
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-722
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-723
Merge from emacs--rel--22: lisp/dired-x.el: Revert 2007-04-06 change.
* emacs@sv.gnu.org/emacs--devo--0--patch-724
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-725
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-726
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-727
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-728
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-729
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-730
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-731
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-732
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-733
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-734
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-735
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-736
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-737
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-738
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-739
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--devo--0--patch-740
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-741
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-742
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-743
Merge from emacs--rel--22
* emacs@sv.gnu.org/emacs--rel--22--base-0
tag of emacs@sv.gnu.org/emacs--devo--0--patch-709
* emacs@sv.gnu.org/emacs--rel--22--patch-1
Sync to CVS tag EMACS_22_BRANCHPOINT
* emacs@sv.gnu.org/emacs--rel--22--patch-2
Sync to CVS branch EMACS_22_BASE
* emacs@sv.gnu.org/emacs--rel--22--patch-3
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-4
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-5
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-6
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-7
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-8
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-9
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-10
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-11
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-12
Update from CVS
* emacs@sv.gnu.org/emacs--rel--22--patch-13
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-217
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-218
Merge from emacs--devo--0, emacs--rel--22
* emacs@sv.gnu.org/gnus--rel--5.10--patch-219
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-220
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-605
author | Karoly Lorentey <karoly@lorentey.hu> |
---|---|
date | Fri, 11 May 2007 18:24:42 +0000 |
parents | 5a45becb5728 e905e4598d5f |
children |
comparison
equal
deleted
inserted
replaced
83564:8cb34e1b7bbb | 83565:41aaac7180d5 |
---|---|
203 ;; Another nifty feature is the insertion accuracy. If you have | 203 ;; Another nifty feature is the insertion accuracy. If you have |
204 ;; 8 items in your TODO list, then you may get asked 4 questions | 204 ;; 8 items in your TODO list, then you may get asked 4 questions |
205 ;; by the binary insertion algorithm. However, you may not | 205 ;; by the binary insertion algorithm. However, you may not |
206 ;; really have a need for such accurate priorities amongst your | 206 ;; really have a need for such accurate priorities amongst your |
207 ;; TODO items. If you now think about the binary insertion | 207 ;; TODO items. If you now think about the binary insertion |
208 ;; halfing the size of the window each time, then the threshold | 208 ;; halving the size of the window each time, then the threshold |
209 ;; is the window size at which it will stop. If you set the | 209 ;; is the window size at which it will stop. If you set the |
210 ;; threshold to zero, the upper and lower bound will coincide at | 210 ;; threshold to zero, the upper and lower bound will coincide at |
211 ;; the end of the loop and you will insert your item just before | 211 ;; the end of the loop and you will insert your item just before |
212 ;; that point. If you set the threshold to, e.g. 8, it will stop | 212 ;; that point. If you set the threshold to, e.g. 8, it will stop |
213 ;; as soon as the window size drops below that amount and will | 213 ;; as soon as the window size drops below that amount and will |
229 ;; o Entries which both have the generic */* prefix and a | 229 ;; o Entries which both have the generic */* prefix and a |
230 ;; "deadline" entry which are understood by diary, indicating | 230 ;; "deadline" entry which are understood by diary, indicating |
231 ;; an event (unless marked by &) | 231 ;; an event (unless marked by &) |
232 ;; o The optional COUNT variable of todo-forward-item should be | 232 ;; o The optional COUNT variable of todo-forward-item should be |
233 ;; applied to the other functions performing similar tasks | 233 ;; applied to the other functions performing similar tasks |
234 ;; o Modularization could be done for repeaded elements of | 234 ;; o Modularization could be done for repeated elements of |
235 ;; the code, like the completing-read lines of code. | 235 ;; the code, like the completing-read lines of code. |
236 ;; o license / version function | 236 ;; o license / version function |
237 ;; o export to diary file | 237 ;; o export to diary file |
238 ;; o todo-report-bug | 238 ;; o todo-report-bug |
239 ;; o GNATS support | 239 ;; o GNATS support |
240 ;; o elide multiline (as in bbdb, or, to a lesser degree, in | 240 ;; o elide multiline (as in bbdb, or, to a lesser degree, in |
241 ;; outline mode) | 241 ;; outline mode) |
242 ;; o rewrite complete package to store data as lisp objects | 242 ;; o rewrite complete package to store data as lisp objects |
243 ;; and have display modes for display, for diary export, | 243 ;; and have display modes for display, for diary export, |
244 ;; etc. (Richard Stallman pointed out this is a bad idea) | 244 ;; etc. (Richard Stallman pointed out this is a bad idea) |
245 ;; o so base todo-mode.el on generic-mode.el instead | 245 ;; o so base todo-mode.el on generic-mode.el instead |
246 ;; | 246 ;; |
247 ;; History and Gossip | 247 ;; History and Gossip |
248 ;; | 248 ;; |
249 ;; Many thanks to all the ones who have contributed to the | 249 ;; Many thanks to all the ones who have contributed to the |
252 ;; | 252 ;; |
253 ;; Enjoy this package and express your gratitude by sending nice | 253 ;; Enjoy this package and express your gratitude by sending nice |
254 ;; things to my parents' address! | 254 ;; things to my parents' address! |
255 ;; | 255 ;; |
256 ;; Oliver Seidel | 256 ;; Oliver Seidel |
257 ;; (Lessingstr. 8, 65760 Eschborn, Federal Republic of Germany) | 257 ;; (Lessingstr. 8, 65760 Eschborn, Federal Republic of Germany) |
258 | 258 |
259 ;;; Code: | 259 ;;; Code: |
260 | 260 |
261 (require 'time-stamp) | 261 (require 'time-stamp) |
262 | 262 |
278 | 278 |
279 in your diary file to include your todo list file as part of your | 279 in your diary file to include your todo list file as part of your |
280 diary. With the default value \"*/*\" the diary displays each entry | 280 diary. With the default value \"*/*\" the diary displays each entry |
281 every day and it may also be marked on every day of the calendar. | 281 every day and it may also be marked on every day of the calendar. |
282 Using \"&%%(equal (calendar-current-date) date)\" instead will only | 282 Using \"&%%(equal (calendar-current-date) date)\" instead will only |
283 show and mark todo entreis for today, but may slow down processing of | 283 show and mark todo entries for today, but may slow down processing of |
284 the diary file somewhat." | 284 the diary file somewhat." |
285 :type 'string | 285 :type 'string |
286 :group 'todo) | 286 :group 'todo) |
287 (defcustom todo-file-do "~/.todo-do" | 287 (defcustom todo-file-do "~/.todo-do" |
288 "*TODO mode list file." | 288 "*TODO mode list file." |
304 "*TODO mode insertion accuracy. | 304 "*TODO mode insertion accuracy. |
305 | 305 |
306 If you have 8 items in your TODO list, then you may get asked 4 | 306 If you have 8 items in your TODO list, then you may get asked 4 |
307 questions by the binary insertion algorithm. However, you may not | 307 questions by the binary insertion algorithm. However, you may not |
308 really have a need for such accurate priorities amongst your TODO | 308 really have a need for such accurate priorities amongst your TODO |
309 items. If you now think about the binary insertion halfing the size | 309 items. If you now think about the binary insertion halving the size |
310 of the window each time, then the threshold is the window size at | 310 of the window each time, then the threshold is the window size at |
311 which it will stop. If you set the threshold to zero, the upper and | 311 which it will stop. If you set the threshold to zero, the upper and |
312 lower bound will coincide at the end of the loop and you will insert | 312 lower bound will coincide at the end of the loop and you will insert |
313 your item just before that point. If you set the threshold to, | 313 your item just before that point. If you set the threshold to, |
314 e.g. 8, it will stop as soon as the window size drops below that | 314 e.g. 8, it will stop as soon as the window size drops below that |