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

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

[emacs-wiki-discuss] planner-timeclock-summary-proj bug & fix


From: Marko Schütz
Subject: [emacs-wiki-discuss] planner-timeclock-summary-proj bug & fix
Date: Thu, 17 Aug 2006 12:12:09 +1200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/21.4 (i386--netbsdelf) MULE/5.0 (SAKAKI)

Dear All,

I noticed a tiny bug in planner-timeclock-summary-proj.el where
a string-match failed if timeclock entries had no 'ProjectName:'.

I suggest the following fix:

*** /usr/pkg/share/emacs/site-lisp/planner/planner-timeclock-summary-proj.el    
Thu Apr 27 17:28:24 2006
--- /home/marko/tmp/planner-timeclock-summary-proj.el   Thu Aug 17 11:53:10 2006
***************
*** 192,198 ****
        (while entry-list
          (let* ((proj (car entry-list))
                 (proj-entry-name (car proj)))
!           (if (and proj-name
                     (string-match (concat "^\\[\\[" proj-name "\\]\\]")
                                   proj-entry-name))
                (if projects
--- 192,198 ----
        (while entry-list
          (let* ((proj (car entry-list))
                 (proj-entry-name (car proj)))
!           (if (and proj-name proj-entry-name
                     (string-match (concat "^\\[\\[" proj-name "\\]\\]")
                                   proj-entry-name))
                (if projects

Best regards,

Marko

Attachment: pgp2ncfU4gqor.pgp
Description: PGP signature


reply via email to

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