Package: org-mode Version: 7.8.02-1 Severity: minor Tags: upstream Dearest Maintainer,
If I have an org-file containing a todo with a scheduled date range, like this: ,----[ foo.org ] *** TODO Weekend with the lads SCHEDULED: <2012-05-04 Fr>--<2012-05-08 Di> `---- and try to export it via org-export-icalendar-this-file, the resulting foo.ics will look like this ,----[ foo.ics ] BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:foo PRODID:-//Friedrich Delgado//Emacs with Org-mode//EN X-WR-TIMEZONE:Europe/Berlin X-WR-CALDESC:nil CALSCALE:GREGORIAN END:VCALENDAR `---- (i.e.: contain no appointments at all) I think the responsible section of code may reside in [[file:/usr/share/emacs23/site-lisp/org-mode/org-icalendar.el::defun%20org-print-icalendar-entries][Function: org-print-icalendar-entries]] (org-link for your convenience, I hope), more specifically starting with line 360: ,---- (if (looking-at re2) (progn (goto-char (match-end 0)) (setq ts2 (match-string 1) inc (not (string-match "[0-9]\\{1,2\\}:[0-9][0-9]" ts2)))) (setq tmp (buffer-substring (max (point-min) (- pos org-ds-keyword-length)) pos) ts2 (if (string-match "[0-9]\\{1,2\\}:[0-9][0-9]-\\([0-9]\\{1,2\\}:[0-9][0-9]\\)" ts) (progn (setq inc nil) (replace-match "\\1" t nil ts)) ts) deadlinep (string-match org-deadline-regexp tmp) scheduledp (string-match org-scheduled-regexp tmp) todo (org-get-todo-state) ;; donep (org-entry-is-done-p) )) `---- >From my basic understanding of the code-flow it looks like re2 == (concat "--?-?\\(" org-ts-regexp "\\)") is meant to match date-ranges, but the code in the t branch of the if doesn't set deadlinep, schedulep and todo, preventing all further processing of the entry. But I may be wrong about the intentions of that function. If you would kindly forward this to upstream, thank you very much! Kind regards Friedel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (50, 'karmic'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-12.dmz.1-liquorix-amd64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8) Shell: /bin/sh linked to /bin/bash Versions of packages org-mode depends on: ii dpkg 1.16.1.2 ii emacs23-lucid [emacs23] 23.3+1-5 ii emacs23-nox [emacs23] 23.2+1-5.1 ii install-info 4.13a.dfsg.1-8 org-mode recommends no packages. Versions of packages org-mode suggests: pn ditaa <none> pn easypg <none> pn remember-el <none> -- no debconf information -- Dipl.-Inform. Friedrich Delgado <delg...@pre-sense.de> PRESENSE Technologies GmbH, USt-IdNr.: DE263765024, AG Hamburg, HRB 107844 Sachsenstr. 5, 20097 Hamburg, Geschäftsführer/Managing Directors: Till Dörges Jürgen Sander Axel Theilmann -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org