public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
* [Howm-eng 8] Re: Howto sort todo list
@ 2005-09-12 16:22 khi
  2005-09-12 18:15 ` [Howm-eng 9] " xsong
  0 siblings, 1 reply; 2+ messages in thread
From: khi @ 2005-09-12 16:22 UTC (permalink / raw)


Hi.

At Mon, 12 Sep 2005 09:08:24 -0500,
xsong at indiana.edu wrote:
> I am a newbie in howm. I want to know whether it is possible to sort my 
> howto list according the importance and how to do it.

This is an experimental code from
<http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?SortByPriority>.

;; sort todo items according to their priority.
;; [2005-01-16]&3 foobar  ==>  priority = 3
(defun my-explicit-priority (late lazy item)
  (let ((r (or lazy 0)))
    (+ r (* late 0.00001))))
(defface explicit-priority-face '((t (:foreground "cyan"))) "my face")
(setq explicit-priority-face 'explicit-priority-face)
(howm-define-reminder "&" #'my-explicit-priority 'explicit-priority-face nil t t)

But, I believe "priority" in todo list is useless :-p

A typical scenario:
1. Number of todo items increases.
2. Soon, I tend to read "important" items only.
3. Then, I will give a high priority to every new item.
4. Inflation.
5. Ruin.

This is the reason why I dare to remove "priority"
and make such a curious "magic sorting" instead.

Do you have a better idea?

-- 
khi at users.sourceforge.jp


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Howm-eng 9] Re: Howto sort todo list
  2005-09-12 16:22 [Howm-eng 8] Re: Howto sort todo list khi
@ 2005-09-12 18:15 ` xsong
  0 siblings, 0 replies; 2+ messages in thread
From: xsong @ 2005-09-12 18:15 UTC (permalink / raw)


Thanks. Howm is fantastic.

I am not a lisp programmer. So my idea might be not applicable: provide user 
the function to rearrange the priority number. For example, if someone has 
todo lists with priority number 3,6,20, this function will automatically 
change them to 5,10,15. 

Actually, the user does not care about the number. They only care about the 
order. There is a todo mode in emacs which provides user the opportunity to 
determine the order when inserting new item.

Xianfeng

On 9/12/05, khi at users.sourceforge.jp <khi at users.sourceforge.jp > wrote:
> 
> Hi.
> 
> At Mon, 12 Sep 2005 09:08:24 -0500,
> xsong at indiana.edu wrote:
> > I am a newbie in howm. I want to know whether it is possible to sort my
> > howto list according the importance and how to do it.
> 
> This is an experimental code from
> < http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?SortByPriority>.
> 
> ;; sort todo items according to their priority.
> ;; [2005-01-16]&3 foobar ==> priority = 3
> (defun my-explicit-priority (late lazy item) 
> (let ((r (or lazy 0)))
> (+ r (* late 0.00001))))
> (defface explicit-priority-face '((t (:foreground "cyan"))) "my face")
> (setq explicit-priority-face 'explicit-priority-face)
> (howm-define-reminder "&" #'my-explicit-priority 'explicit-priority-face 
> nil t t) 
> 
> But, I believe "priority" in todo list is useless :-p
> 
> A typical scenario:
> 1. Number of todo items increases.
> 2. Soon, I tend to read "important" items only.
> 3. Then, I will give a high priority to every new item. 
> 4. Inflation.
> 5. Ruin.
> 
> This is the reason why I dare to remove "priority"
> and make such a curious "magic sorting" instead.
> 
> Do you have a better idea?
> 
> --
> khi at users.sourceforge.jp
> _______________________________________________
> Howm-eng mailing list
> Howm-eng at lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/howm-eng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sourceforge.jp/mailman/archives/howm-eng/attachments/20050912/3cae4d2a/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-12 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-12 16:22 [Howm-eng 8] Re: Howto sort todo list khi
2005-09-12 18:15 ` [Howm-eng 9] " xsong

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 NNTP newsgroup(s).