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

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

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


From: Seth Falcon
Subject: Re: [emacs-wiki-discuss] Re: migrating planner-tasks-overview.el to planner-muse
Date: Sun, 13 Nov 2005 09:54:52 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Hi Janne,

On 13 Nov 2005, address@hidden wrote:
> 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>

You might want something like:

;; untested!
(lambda (x) (if muse-file-extension
                (concat x "." muse-file-extension)
              x))


> 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.

That sounds useful, would you mind posting what you have to generate
plain text task summaries?


Best,

+ seth




reply via email to

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