Re: [Orgmode] Org-mode 4.78
On 6/19/07, Carsten Dominik [EMAIL PROTECTED] wrote: - Indenting lines with TAB is more intelligent. Yes, it works nice, thanks. But org-indent-line-function now indents headings just as if they were list elements... I tried to find the error in the function, but my understanding of elisp was insufficient. Sorry :( -- With best regards, Dmitri Minaev Russian history blog: http://minaev.blogspot.com ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: iCal Import - updated code Bug report
I am trying to find this bug and have made a google agenda. How do I know which url to use to download it? Can you guide me through this? Thanks. - Carsten On Jun 20, 2007, at 0:52, Tim O'Callaghan wrote: Another Xemacs bug i think, If the org file does not contain a line with a headline, such as those generated by the code. It causes the error: (1) (error/warning) Error in `post-command-hook' (setting hook to nil): (wrong-type-argument integer-or-marker-p nil) The previous code assumes the ical export worked, below fixes that. Tim. code (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file)) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file t) ;; iCalendar leaves the buffers open (if (find-buffer-visiting local-date-file) (kill-buffer (find-buffer-visiting local-date-file))) (if (find-buffer-visiting local-ical-file) (kill-buffer (find-buffer-visiting local-ical-file))) --- code --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: iCal Import - updated code Bug report
Its not a google calendar based bug. It happens when the referenced org file has no headings. If you add a file with a %% diary entry and no '* heading' to your agenda file list, it should crop up when you try to look into diary entry file from agenda. On the google calendar side, you select 'calendar settings' from the drop down menu beside the calendar, or select the calendar from the manage calendar page. On the resulting page you should see 'public' and 'private' ical icons. Select the private one and a url will pop up in a window. That is the url value to use in the 'google-ical-org-list'. You can also use public iCal links. I have added below some public calendars that i use, that you might also find useful, and that also generate this bug. (setq google-ical-org-list '( (http://upcoming.yahoo.com/calendar/v2/place/upI5ACueA5szd_8-; ~/CalendarSync/UpComing.ics ~/CalendarSync/Upcoming.org) (http://www.kagankalender.com/calendarics.php; ~/CalendarSync/GothInd.ics ~/CalendarSync/GothInd.org) )) Hope it helps, Tim. On 20/06/07, Carsten Dominik [EMAIL PROTECTED] wrote: I am trying to find this bug and have made a google agenda. How do I know which url to use to download it? Can you guide me through this? Thanks. - Carsten On Jun 20, 2007, at 0:52, Tim O'Callaghan wrote: Another Xemacs bug i think, If the org file does not contain a line with a headline, such as those generated by the code. It causes the error: (1) (error/warning) Error in `post-command-hook' (setting hook to nil): (wrong-type-argument integer-or-marker-p nil) The previous code assumes the ical export worked, below fixes that. Tim. code (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file)) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file t) ;; iCalendar leaves the buffers open (if (find-buffer-visiting local-date-file) (kill-buffer (find-buffer-visiting local-date-file))) (if (find-buffer-visiting local-ical-file) (kill-buffer (find-buffer-visiting local-ical-file))) --- code --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Import
I'm quite excited by the Google calendar/iCal integration. I had previously written a simple Ruby script (I really need to learn elisp) to parse an org-mode file for dates and schedule some at jobs to fire another script to fire events into Twitter, which I was subsequently using as a free SMS reminder service. It worked quite well in simple tests, but I've never bothered to develop it further, primarily because it occured to me that google calendar supports free SMSing of notifications and that this could potentially be tied into org-mode with the g-client code. It seems that your code is about getting gcal into org-mode where as the above would require the reverse. Obviously the ideal would be to have some level of two-way Calendar synchronisation. Though this might be far too complex and messy, how about allowing some kind of emacs based copy/paste between them (in both directions)? The thought of managing myself in org-mode and syncing to Gcal when I want to share/expose my calendar to others is a tempting proposition; I imagine this coupled with SMS reminders would be great. Anyway, as my elisp skills are no more advanced than being able to copy and paste fragments of elisp; I thought I'd post my ideas to see whether anyone else finds them interesting enough to implement. R. Tim O'Callaghan wrote: HI, below is a bit of a hack i've come up with to attempt to read my google calendar into my org agenda. I originally started it using eldav, but i realised i don't have a webdav server to sync to. At the moment, It only works for entries that icalendar-import-file converts to %%(add something). The org docs imply that that is the only diary entry type that it can process, is this the case? Tim. --- code snip --- (require 'w3) (require 'icalendar) (setq google-ical-org-list '( (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarPersonal.ics ~/gettingThingsDone/CalendarPersonal.org) (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarShared.ics ~/gettingThingsDone/CalendarShared.org) )) (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file nil) ;; iCalendar leaves the buffers open (kill-buffer (find-buffer-visiting local-date-file)) (kill-buffer (find-buffer-visiting local-ical-file)) --- code snip --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Rick Moynihan Software Engineer Calico Jack LTD http://www.calicojack.co.uk/ ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Import
The code could be adapted to write iCal information, but AFAIKT Google does not allow WEBDAV write operations. At the moment i am using Google Calendar as my main appointment calendar, and org mode for scheduling tasks etc. If you want to sync to an iCal WEBDAV source an example of how its done can be seen here: http://www.emacswiki.org/cgi-bin/wiki/ElDav You can only write to a Google Calendar with by using its gData ATOM/RSS based protocol. There are some free client libraries, but i have not looked into it in much detail. Tim. On 20/06/07, Rick Moynihan [EMAIL PROTECTED] wrote: I'm quite excited by the Google calendar/iCal integration. I had previously written a simple Ruby script (I really need to learn elisp) to parse an org-mode file for dates and schedule some at jobs to fire another script to fire events into Twitter, which I was subsequently using as a free SMS reminder service. It worked quite well in simple tests, but I've never bothered to develop it further, primarily because it occured to me that google calendar supports free SMSing of notifications and that this could potentially be tied into org-mode with the g-client code. It seems that your code is about getting gcal into org-mode where as the above would require the reverse. Obviously the ideal would be to have some level of two-way Calendar synchronisation. Though this might be far too complex and messy, how about allowing some kind of emacs based copy/paste between them (in both directions)? The thought of managing myself in org-mode and syncing to Gcal when I want to share/expose my calendar to others is a tempting proposition; I imagine this coupled with SMS reminders would be great. Anyway, as my elisp skills are no more advanced than being able to copy and paste fragments of elisp; I thought I'd post my ideas to see whether anyone else finds them interesting enough to implement. R. Tim O'Callaghan wrote: HI, below is a bit of a hack i've come up with to attempt to read my google calendar into my org agenda. I originally started it using eldav, but i realised i don't have a webdav server to sync to. At the moment, It only works for entries that icalendar-import-file converts to %%(add something). The org docs imply that that is the only diary entry type that it can process, is this the case? Tim. --- code snip --- (require 'w3) (require 'icalendar) (setq google-ical-org-list '( (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarPersonal.ics ~/gettingThingsDone/CalendarPersonal.org) (http://www.google.com/calendar/ical/basic.ics; ~/gettingThingsDone/CalendarShared.ics ~/gettingThingsDone/CalendarShared.org) )) (defun toc:goggle-to-org () get a google calendar and convert it into org dates (interactive) (with-temp-buffer (let* ((glist google-ical-org-list)) ;; iterate through list (while (setq entry (pop glist)) (setq google-ical-url (car entry) local-ical-file (nth 1 entry) local-date-file (nth 2 entry)) ;; Delete the diary local files (if (file-exists-p local-ical-file) (delete-file local-ical-file)) (if (file-exists-p local-date-file) (delete-file local-date-file)) ;; Get ical file (w3-download-url google-ical-url (expand-file-name local-ical-file) ;; convert to diary without leading (icalendar-import-file local-ical-file local-date-file nil) ;; iCalendar leaves the buffers open (kill-buffer (find-buffer-visiting local-date-file)) (kill-buffer (find-buffer-visiting local-ical-file)) --- code snip --- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Rick Moynihan Software Engineer Calico Jack LTD http://www.calicojack.co.uk/ ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode 4.78
[EMAIL PROTECTED] writes: Sorry, that was pretty vague. What I meant was, if you have a clock table like this: #+BEGIN: clocktable :maxlevel 4 :emphasize nil :block lastweek ... the :block lastweek part doesn't really fit with clock entries like ** some entry CLOCK: = 2:00 since there isn't any date info in the clock entry. It appears that these entries are included in the clock table no matter what the setting of :block or :tstart, :tend. This works OK for me. I can limit the table to dateless clock entries by setting :tstart to a date in the future, for example. I'd like to be able to assign dates to these timestamp-less clock entries. Just to have a way of saying I worked on this for two hours on Tuesday without having to clock in and out specific times. Useful for entering things retroactively, for example, or putting in full-day events. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] iCal Import
It would seem that the author of g-client is already an org mode user. At least there is an org file in the source distribution. So it might include org integration at some point. Tim On 20/06/07, Rick Moynihan [EMAIL PROTECTED] wrote: I think you're right about Google not accepting WEBDAV write operations, and their gData protocol is definitely the way to go for now. The g-client code I mentioned is an Emacs lisp library providing integration with a variety of Google services including Gcal. http://emacsgeek.blogspot.com/2007/03/updates-to-g-client.html You can download it from it's svn repository: http://emacspeak.googlecode.com/svn/trunk/lisp/g-client/ And there is a google group for the project here: http://groups.google.com/group/emacs-g-client/ R. Tim O'Callaghan wrote: The code could be adapted to write iCal information, but AFAIKT Google does not allow WEBDAV write operations. At the moment i am using Google Calendar as my main appointment calendar, and org mode for scheduling tasks etc. If you want to sync to an iCal WEBDAV source an example of how its done can be seen here: http://www.emacswiki.org/cgi-bin/wiki/ElDav You can only write to a Google Calendar with by using its gData ATOM/RSS based protocol. There are some free client libraries, but i have not looked into it in much detail. Tim. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] filling cells automatically
Dear Org users! I would like to have the following functionality: I have a table like this: | number1 | number2 | description | |-+-+-| | 1 | 1 | a | | 1 | 2 | b | | 1 | 3 | c | | 1 | 4 | d | |-+-+-| | 2 | 1 | aa | | 2 | 2 | bb | | 2 | 3 | cc | | 2 | 4 | dd | |-+-+-| | 3 | 1 | aaa | | 3 | 2 | bbb | | 3 | 3 | ccc | | 3 | 4 | ddd | |-+-+-| I would like to generate number1 and number2 rows automatically (so when I insert something the numbering will be okay), is this possible? Well I know it is, but is it possible within the current org table framework? Thanks in advance, Richard. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] turning off footnote exporting
Hi Casrten and Others! There is no export option to turn off footnote exporting, would it be possible to add a variable to control that? I like that feature, but I have some documents where I use [number] for other purposes, thanks. Richard ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode