Re: ical2org.awk
Hi Eric, Eric S Fraga writes: > On Friday, 4 Sep 2020 at 12:34, Bastien wrote: >> So please feel free to move ahead with moving ical2org.awk. > > I'm not entirely sure what is meant to be done and by whom! If you wish > to replace the link on Worg to the github site you found, by all means > do so. yes, this is what I mean and what I've partially just done in Worg (see commit 08276954). I'm not removing the code yet, as it may have been referenced on the web, but at least we point to a more recent version of it. Thanks, -- Bastien
Re: ical2org.awk
On Fri, Sep 04, 2020 at 02:31:13PM +0100, Eric S Fraga wrote: > As the original author of ical2org.awk, I should say that I do use the > functionality within gnus for importing calendar invites that I receive, > esp. from colleagues, into org. It was hard to find that, so maybe we should both document it better. ;] > I use the awk script to batch import calendar entries from > e.g. Google or Office365 calendars. I'm not sure if the code you > pointed to has the functionality to batch import although I guess it > would be quite trivial to write some code around it. I hadn't used it that way. Interesting. > I'm happy for ical2org.awk to be removed from Worg although I will > obviously continue using my own version as it's part of my somewhat > complex workflow that's evolved over the past decade. I'm not sure where it is located. If its a useful contribution perhaps Worg is where it should be? -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: ical2org.awk
On Friday, 4 Sep 2020 at 12:34, Bastien wrote: > So please feel free to move ahead with moving ical2org.awk. I'm not entirely sure what is meant to be done and by whom! If you wish to replace the link on Worg to the github site you found, by all means do so. My own version of ical2org.awk is not hosted on any public site that I could share. thank you, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-725-g7bc18e
Re: ical2org.awk
On Friday, 4 Sep 2020 at 13:01, Russell Adams wrote: > On Fri, Sep 04, 2020 at 12:34:54PM +0200, Bastien wrote: >> So please feel free to move ahead with moving ical2org.awk. > > On a tangent, I found there was existing code in Gnus to import > ical. Do we need another library or file to manage if the > functionality is already in emacs? As the original author of ical2org.awk, I should say that I do use the functionality within gnus for importing calendar invites that I receive, esp. from colleagues, into org. I use the awk script to batch import calendar entries from e.g. Google or Office365 calendars. I'm not sure if the code you pointed to has the functionality to batch import although I guess it would be quite trivial to write some code around it. I'm happy for ical2org.awk to be removed from Worg although I will obviously continue using my own version as it's part of my somewhat complex workflow that's evolved over the past decade. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-725-g7bc18e
Re: ical2org.awk
On Fri, Sep 04, 2020 at 12:34:54PM +0200, Bastien wrote: > So please feel free to move ahead with moving ical2org.awk. On a tangent, I found there was existing code in Gnus to import ical. Do we need another library or file to manage if the functionality is already in emacs? https://lists.gnu.org/archive/html/emacs-orgmode/2020-08/msg00154.html -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: ical2org.awk
Hi Eric, Eric S Fraga writes: > I don't really have a strong opinion about this. Happy for it to remain > (it does work) but also happy to have it removed and a link to that fork > put in. My own version has diverged from the one I put on Worg ever so > long ago now in any case. I've been thinking about this from time to time. I think everything in worg/code/ should move on other places---i.e. where people expect code to be hosted and found. So please feel free to move ahead with moving ical2org.awk. Thanks, -- Bastien
Re: ical2org.awk
On Friday, 22 May 2020 at 16:14, Bastien wrote: > I see there is > https://github.com/msherry/ical2org/blob/master/ical2org.awk Interesting. I hadn't been aware of that fork. > so perhaps hosting the code on worg/code/ is not so useful > anymore? I don't really have a strong opinion about this. Happy for it to remain (it does work) but also happy to have it removed and a link to that fork put in. My own version has diverged from the one I put on Worg ever so long ago now in any case. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc
Re: ical2org.awk
Hi Eric, Eric S Fraga writes: > Yes, I guess ical2org does expect gawk. I should have made that > clear. On my Debian installation (currently a bullseye/sid > combination), /usr/bin/awk points to gawk (via /etc/alternatives/awk) so > I never thought about it. I allowed myself to use #!/usr/bin/env gawk -f here: https://code.orgmode.org/bzg/worg/commit/2d5d92ca61 I see there is https://github.com/msherry/ical2org/blob/master/ical2org.awk so perhaps hosting the code on worg/code/ is not so useful anymore? If you see useful places in Worg where pointers could be updated, please go ahead. Thanks, -- Bastien
Re: ical2org.awk
On Thursday, 7 May 2020 at 14:05, Andreas Röhler wrote: > thanks providing ical2org.awk. > When running on Debian8 however, encountered a bunch of errors: [...] > Turns out had to install gawk. Yes, I guess ical2org does expect gawk. I should have made that clear. On my Debian installation (currently a bullseye/sid combination), /usr/bin/awk points to gawk (via /etc/alternatives/awk) so I never thought about it. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-577-gb171ff
ical2org.awk
Hi, thanks providing ical2org.awk. When running on Debian8 however, encountered a bunch of errors: awk: ./ical2org.awk: line 394: function strftime never defined awk: ./ical2org.awk: line 394: function gensub never defined awk: ./ical2org.awk: line 394: function gensub never defined awk: ./ical2org.awk: line 394: function mktime never defined awk: ./ical2org.awk: line 394: function gensub never defined Turns out had to install gawk. After changing the shebang accordingly it worked. Just FYI, thanks again, Andreas, GNU Emacs 28.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5, cairo version 1.14.0) of 2020-04-06