emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Bug in org-icalendar.el


From: Andrew Lawson
Subject: [Orgmode] Bug in org-icalendar.el
Date: Wed, 4 Nov 2009 12:04:57 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi all
    Just noticed an issue with a recent commit d51a8307 which defines
org-icalendar-verify-function as nil but tests it using 'boundp. I'm
using revision a7543733... The fix is:

@@ -280,7 +280,7 @@ When COMBINE is non nil, add the category to each
line."
       (while (re-search-forward re1 nil t)
        (catch :skip
          (org-agenda-skip)
-         (when (boundp 'org-icalendar-verify-function)
+         (when org-icalendar-verify-function
            (unless (funcall org-icalendar-verify-function)
              (outline-next-heading)
              (backward-char 1)
@@ -403,7 +403,7 @@ END:VEVENT\n"
        (while (re-search-forward org-todo-line-regexp nil t)
          (catch :skip
            (org-agenda-skip)
-           (when (boundp 'org-icalendar-verify-function)
+           (when org-icalendar-verify-function
              (unless (save-match-data
                        (funcall org-icalendar-verify-function))
                (outline-next-heading)

After that I have further problems with a nil org-todo-line regexp in:

 re-search-forward(nil nil t)                                                   
                                                             
  org-print-icalendar-entries(t) 

but I'm off to a meeting. I'll have a look later

    Andrew

-- 

____ Andrew Lawson ____
adl at absentis dot com

A notebook, a fountain pen, a good book for inspiration, a spot of tea
and an expansive view, could one ask for anything more?




reply via email to

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