Hi,
Agreed ... I believe the only problem will occur when one of a multiply
occurring event is edited / deleted on the cal side. I have nothing more
constructive to propose than just don't do that ... My use-case is just as a
way to push org changes to cal and nothing more, and for
Vincent Beffara vbeff...@ens-lyon.fr writes:
... sorry for replying to myself like this - here is a patch that seems to
work:
I'm still running into problems even with this patch, but I'm not very
sure where they lie. Basically I get some messages about duplicate
entries, no
Hi,
Yes, I had the very same problem, I had to restart org-caldav from scratch a
few times (org-caldav-delete-everything, wait a bit for caches to empty, and
then eventually it worked).
In the meantime I also tweaked the way org-caldav manages UIDs to exploit the
fact that multiply occurring
Vincent Beffara writes:
In the meantime I also tweaked the way org-caldav manages UIDs to
exploit the fact that multiply occurring events are now exported
multiple times in ox-icalendar, everything works out well if only
org-ical is used. One thing remaining, on ical-org sync, there is an
David Engster d...@randomsample.de writes:
Thanks. I've now pushed a further fix which should hopefully make things
work with the new exporter. Julien, please let me know if it works.
Sorry, it doesn't.
I get the following when running org-caldav with the latest org-mode and
org-caldav from
Hi,
Same here. But the error is not in org-caldav, because it is triggered like
this:
(org-icalendar--combine-files nil ~/Desktop/ECM.org)
where ~/Desktop/ECM.org is a file with nothing but one headline.
/v
--
Vincent Beffara
On Thursday, March 7, 2013 at 10:13 , Julien Cubizolles
Hello,
Vincent Beffara vbeff...@ens-lyon.fr writes:
Same here. But the error is not in org-caldav, because it is triggered like
this:
(org-icalendar--combine-files nil ~/Desktop/ECM.org)
where ~/Desktop/ECM.org is a file with nothing but one headline.
I cannot reproduce it. Maybe a
Here is an ECM.el file, run with emacs -Q triggers the crash:
(custom-set-variables
'(org-icalendar-store-UID t)
)
(setq-default debug-on-error t)
(add-to-list 'load-path ~/.emacs.d/el-get/org-mode/lisp)
(require 'ox-icalendar)
(org-icalendar--combine-files nil ~/Desktop/ECM.org)
without
Vincent Beffara vbeff...@ens-lyon.fr writes:
Here is an ECM.el file, run with emacs -Q triggers the crash:
(custom-set-variables
'(org-icalendar-store-UID t)
)
(setq-default debug-on-error t)
(add-to-list 'load-path ~/.emacs.d/el-get/org-mode/lisp)
(require 'ox-icalendar)
It doesn't crash anymore, thanks!
OTOH when I ran org-caldav, it removed everything from the online calendar, and
it won't put anything back there ...
--
Vincent Beffara
On Thursday, March 7, 2013 at 13:56 , Nicolas Goaziou wrote:
Vincent Beffara vbeff...@ens-lyon.fr
OTOH when I ran org-caldav, it removed everything from the online calendar,
and it won't put anything back there ...
Mmmkay, something weird is happening. I create a headline with a date, and call
org-caldav. An UID is created, and the file looks like this:
*** Gayet, Damien : Une majoration
... sorry for replying to myself like this - here is a patch that seems to
work:
diff --git a/org-caldav.el b/org-caldav.el
index 0383366..14cca8f 100644
--- a/org-caldav.el
+++ b/org-caldav.el
@@ -786,7 +786,7 @@ is no UID to rewrite. Returns the UID.
((re-search-forward
Bastien b...@altern.org writes:
Achim Gratz strom...@nexgo.de writes:
I hope to put this together in the next week or
so, then it will be possible to nuke all traces fr4om an old Org and
then start from a clean slate with a new Org installation.
Okay, thanks. Let us know how it goes,
Julien Cubizolles writes:
Bastien b...@altern.org writes:
Achim Gratz strom...@nexgo.de writes:
I hope to put this together in the next week or
so, then it will be possible to nuke all traces fr4om an old Org and
then start from a clean slate with a new Org installation.
Okay, thanks.
Hello,
David Engster d...@randomsample.de writes:
Julien Cubizolles writes:
Bastien b...@altern.org writes:
Achim Gratz strom...@nexgo.de writes:
I hope to put this together in the next week or
so, then it will be possible to nuke all traces fr4om an old Org and
then start from a clean
Nicolas Goaziou writes:
Hello,
David Engster d...@randomsample.de writes:
Julien Cubizolles writes:
Bastien b...@altern.org writes:
Achim Gratz strom...@nexgo.de writes:
I hope to put this together in the next week or
so, then it will be possible to nuke all traces fr4om an old Org and
David Engster d...@randomsample.de writes:
I just pushed a change which should fix this (if the new exporter is
compatible;
It doesn't seem to be, I get
--8---cut here---start-8---
apply: Symbol's function definition is void: org-export-icalendar
Julien Cubizolles writes:
David Engster d...@randomsample.de writes:
I just pushed a change which should fix this (if the new exporter is
compatible;
It doesn't seem to be, I get
apply: Symbol's function definition is void: org-export-icalendar
when running org-caldav-sync, which is
David Engster d...@randomsample.de writes:
What do you need from org-icalendar.el?
Only org-export-icalendar. As long as that one is producing the same
output, everything should be fine.
Unfortunately, there is no `org-export-icalendar' anymore.
There is:
(org-icalendar--combine-files
David Engster d...@randomsample.de writes:
Julien Cubizolles writes:
David Engster d...@randomsample.de writes:
I just pushed a change which should fix this (if the new exporter is
compatible;
It doesn't seem to be, I get
apply: Symbol's function definition is void: org-export-icalendar
Nicolas Goaziou writes:
David Engster d...@randomsample.de writes:
What do you need from org-icalendar.el?
Only org-export-icalendar. As long as that one is producing the same
output, everything should be fine.
Unfortunately, there is no `org-export-icalendar' anymore.
There is:
Julien Cubizolles writes:
David Engster d...@randomsample.de writes:
No, it's not defined in ox-icalendar. I guess it must be generated by
the new exporter first, probably through some additional require.
I have the following definition in ox-icalendar.el.
(defgroup org-export-icalendar
David Engster d...@randomsample.de writes:
After skimming through the new exporter, it also seems that
org-combined-agenda-icalendar-file was replaced with
org-icalendar-combined-agenda-file. Is that correct?
I'm also using org-icalendar-timezone, org-icalendar-store-UID, and
Nicolas Goaziou writes:
David Engster d...@randomsample.de writes:
After skimming through the new exporter, it also seems that
org-combined-agenda-icalendar-file was replaced with
org-icalendar-combined-agenda-file. Is that correct?
I'm also using org-icalendar-timezone,
Hi David,
Well it would be a temporary solution for two reasons.
1. New emacs releases would come with the new org-files.
2. All third-party code might by time move to the new files.
Thus, I thought this is a (maybe on a long perspective) temporary solution.
Other non-unix like OSes:
In that
Hi Bastien,
I didn't follow this thread in detail. But shouldn't it be enough to symlink
e.g. org-icalendar against ox-icalendar. As far as I understood emacs would
prioritize those local symlinks over the system wide installation. This would
be a temporary solution until a new emacs
Hi David,
David Engster d...@randomsample.de writes:
The most serious issue is that things will often seem to work because
old exporters are pulled in from Emacs, possibly *very* old
exporters.
I've added (provide 'org-icalendar) to ox-icalendar.el so that
a user will load the correct file
Hi David,
David Engster d...@randomsample.de writes:
(eval-after-load org-icalendar
'(error The old org-icalendar exporter is deprecated; use ox-icalendar
instead.))
I'm not sure about this one: where are you suggesting to add this?
In org.el? Will the users get the warning if
Bastien writes:
Hi David,
David Engster d...@randomsample.de writes:
The most serious issue is that things will often seem to work because
old exporters are pulled in from Emacs, possibly *very* old
exporters.
I've added (provide 'org-icalendar) to ox-icalendar.el so that
a user will
Bastien writes:
Hi David,
David Engster d...@randomsample.de writes:
(eval-after-load org-icalendar
'(error The old org-icalendar exporter is deprecated; use
ox-icalendar instead.))
I'm not sure about this one: where are you suggesting to add this?
In org.el?
Your call. Anywhere where
Hi David,
David Engster d...@randomsample.de writes:
Did you actually try that? How should Emacs possibly know that the file
ox-icalendar provides the feature org-icalendar? This will only work if
ox-icalendar is already loaded.
Of course, you're right. I reverted the commit.
So the
Bastien writes:
It seems the ox- prefix is a bad idea, you're right.
I'll think about it again.
Please, no. The prefix is good, you would just need to obsolete all
previously exported interfaces (autoloads and defcustoms) to this code
to either give a warning or silently do the right thing
Achim Gratz strom...@nexgo.de writes:
I hope to put this together in the next week or
so, then it will be possible to nuke all traces fr4om an old Org and
then start from a clean slate with a new Org installation.
Okay, thanks. Let us know how it goes,
--
Bastien
Bastien writes:
David Engster d...@randomsample.de writes:
Of course I can fix this. But I hope you realize that any third-party
code out there that requires an exporter will load the old one from
Emacs proper.
Yes, I'm well aware of this. The change now lives in the master
branch, and
David Engster writes:
An alternative would be to remove the bundled Org from load-path when a
newer version is loaded. We do that with CEDET, but it is difficult to
do right (because of autoloading, for instance), so I think the
eval-after-load hack is better.
That part is actually relatively
Achim Gratz writes:
David Engster writes:
An alternative would be to remove the bundled Org from load-path when a
newer version is loaded. We do that with CEDET, but it is difficult to
do right (because of autoloading, for instance), so I think the
eval-after-load hack is better.
That part
David Engster writes:
You mean this cus-load thingie? CEDET is actually excluded from that, so
we don't have to deal with it. But wouldn't it be enough to remove all
properties beginning with 'org-' from custom-loads?
First you have to find all symbols, then remove the property and then
there
Hi Julien,
Julien Cubizolles j.cubizol...@free.fr writes:
As of today, org-cadav-syn fails with
org-export-icalendar: Symbol's function definition is void:
org-prepare-agenda-buffers
Actually, I can't find this function but org-agenda-prepare-buffers
exist. Are there two different
Bastien writes:
Hi Julien,
Julien Cubizolles j.cubizol...@free.fr writes:
As of today, org-cadav-syn fails with
org-export-icalendar: Symbol's function definition is void:
org-prepare-agenda-buffers
Actually, I can't find this function but org-agenda-prepare-buffers
exist. Are there two
Hi David,
David Engster d...@randomsample.de writes:
org-caldav does not call this function. It however requires
org-icalendar, and that was renamed to ox-icalendar in org git. So I
guess it pulls org-icalendar from the Org that is included with Emacs,
which calls the obsoleted function.
Bastien writes:
Hi David,
David Engster d...@randomsample.de writes:
org-caldav does not call this function. It however requires
org-icalendar, and that was renamed to ox-icalendar in org git. So I
guess it pulls org-icalendar from the Org that is included with Emacs,
which calls the
Hi David,
David Engster d...@randomsample.de writes:
Of course I can fix this. But I hope you realize that any third-party
code out there that requires an exporter will load the old one from
Emacs proper.
Yes, I'm well aware of this. The change now lives in the master
branch, and will
42 matches
Mail list logo