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

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

[emacs-wiki-discuss] Re: migrating planner-tasks-overview.el to planner-


From: Janne Hellsten
Subject: [emacs-wiki-discuss] Re: migrating planner-tasks-overview.el to planner-muse
Date: Sun, 13 Nov 2005 14:04:29 +0200

Hi list,

I looked into the below problem and on planner-muse, it seems that the
problem was caused by the newly added ".muse" file extension to
planner files.

I patched planner-tasks-overview thusly:

<clip>
--- orig/planner-tasks-overview.el
+++ mod/planner-tasks-overview.el
@@ -209,8 +209,10 @@
     (with-temp-buffer
       (cd (planner-directory))
       ;; The following line greps only the days limited by START and END.
+      ;; DEBUG DEBUG jh: .muse is hardcoded!
       (apply 'call-process "grep" nil t nil "-H" "-e" "^#[A-C][0-9]*"
-             file-list)
+             (mapcar
+              '(lambda (x) (concat x ".muse")) file-list))
</clip>

.. and the problem was fixed.  The .muse extension is hardcoded in the
patch, I wasn't sure which variable to use for it.  I have my own fork
of planner-tasks-overview and can live with this limitations.  My own
fork contains changes that enable plain text output of tasks summaries
-- I e-mail weekly tasks summaries to myself every morning.

I noticed that planner-tasks-overview also does not handle multiple
muse projects.

Best regards,
Janne

On 11/2/05, Janne Hellsten <address@hidden> wrote:
> Hi all!
>
> Looks like planner-tasks-overview.el has suffered a bit from the move
> to planner-muse.  When I run "M-x planner-tasks-overview", I get this
> page:
>
> nil        | nil                  | nil nil | nil
>
> Which is not exactly what I was expecting :)
>
> I tried to make sure that my own patched version of tasks-overview is
> not in load-path.  Is anyone else using tasks-overview with
> planner-muse?
>
> Best regards,
> Janne
>




reply via email to

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