Thx John, this is *exactly* what i wanted...its just as always my wishes
and code skills dont align
thx so much again
Z
On Tue, Aug 30, 2016 at 4:50 PM, John Kitchin
wrote:
>
> (defun z/export-to-ics ()
> (interactive)
> (with-current-buffer (find-file-noselect "meetings.org")
> (rename-file
I can't tell exactly what you have in mind. Can't you just add (find-file "
meetings.org") to the function?
or wrap the whole thing like this:
(defun z/export-to-ics ()
(interactive)
(with-current-buffer (find-file-noselect "meetings.org")
(rename-file (org-icalendar-export-to-ics)
"/home/zeltak
anyone? kinda stuck here :)
thx!
z
On Thu, Aug 25, 2016 at 10:32 AM, Xebar Saram wrote:
> Hi again all
>
> so i have a related question so ill continue in this thread. i have been
> using this command succesfully in the last few weeks
>
> (defun z/export-to-ics ()
> (interactive)
> (rename-fi
Hi again all
so i have a related question so ill continue in this thread. i have been
using this command succesfully in the last few weeks
(defun z/export-to-ics ()
(interactive)
(rename-file (org-icalendar-export-to-ics)
"/home/zeltak/org/files/export/kcal.ics")
(message "exported to ics"))
th
You have _two_ concerns here. First is what to do when you save
"meetings.org", second is what to do every half hour. Your code
handles both of them, essentially correctly, but in the wrong place.
On 13 July 2016 at 09:41, Xebar Saram wrote:
> Thx
>
> i do have this now
>
> (defun z/save-meetin
Thx
i do have this now
(defun z/save-meeting-to-ics ()
"If the current file is in '~/.dotfiles', the code blocks are tangled"
(when (equal (buffer-file-name)
(expand-file-name "/home/zeltak/org/files/agenda/
meetings.org"))
(rename-file (org-icalendar-export-to-ics)
"/
Hi,
I don't know if this would help, but I export an Org buffer every time it is
saved. On OS X, I have a LaunchAgent that watches the file:
http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
Label
com.kenmankoff.org2ical
ProgramArguments
/Users/mankoff
Hi all
so i have pathetic coding skill but managed somehow to come up with this
(defun z/save-meeting-to-ics ()
"If the current file is in '~/.dotfiles', the code blocks are tangled"
(when (equal (buffer-file-name)
(expand-file-name "/home/zeltak/org/files/agenda/
meetin