emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Planner Tip #2: Streamline undated tasks


From: Seth Falcon
Subject: Re: [emacs-wiki-discuss] Planner Tip #2: Streamline undated tasks
Date: Sun, 13 Nov 2005 17:33:37 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Hi Sacha,

On 31 Oct 2005, address@hidden wrote:

> STREAMLINE UNDATED TASKS

Thanks for another useful tip.

I combined your tips to end up with:

- Prompt for date only with C-u
- Put a copy of all tasks on TaskPool
- Default to TaskPool in prompt

This has really streamlined the task input process and I like it.  One
thing that is kind of strange is that with this setup, when I create a
task and don't specify a page, it ends up on TaskPool twice.

Digging into planner-multi-create-task-from-info, I find the following
changes "works for me"

--- planner-multi.el.orig       2005-11-05 20:22:52.000000000 -0800
+++ /Users/seth/util/plan/lisp/planner-multi.el 2005-11-13 17:19:35.000000000 
-0800
@@ -444,7 +444,7 @@
   (setq link-text (or link-text (planner-task-link-text info)))
   (when planner-multi-copy-tasks-to-page
     (if link-text
-        (unless (string-match (regexp-quote planner-multi-copy-tasks-to-page) 
link-text)
+        (unless (string-match (planner-link-base 
planner-multi-copy-tasks-to-page) link-text)
           (setq link-text (concat link-text planner-multi-separator 
planner-multi-copy-tasks-to-page)))
       (setq link-text planner-multi-copy-tasks-to-page)))
   (if (and link-text

I'm not sure I understand why regexp-quote is being used there.  This
change may break something.

I think the reason this wasn't matching for me is that I have a copy
of all tasks going to [[TaskPool][T]] which doesn't match
[[TaskPool]].

Thoughts?


+ seth




reply via email to

[Prev in Thread] Current Thread [Next in Thread]