Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-16 Thread Carsten Dominik
On May 14, 2009, at 8:41 PM, Tassilo Horn wrote: Carsten Dominik writes: Did you restart Emacs? My idea was that the first time you call this, you change the file name of a buffer, and the second time the problem happens. First, I only evaled my function anew, but now I tried with a new

Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Tassilo Horn
Carsten Dominik writes: > Did you restart Emacs? My idea was that the first time you call this, > you change the file name of a buffer, and the second time the problem > happens. First, I only evaled my function anew, but now I tried with a new emacs instance and the error is still the same. B

Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Carsten Dominik
Did you restart Emacs? My idea was that the first time you call this, you change the file name of a buffer, and the second time the problem happens. - Carsten On May 14, 2009, at 6:43 PM, Tassilo Horn wrote: Carsten Dominik writes: Hi Carsten, --8<---cut here--

Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Tassilo Horn
Carsten Dominik writes: Hi Carsten, >> --8<---cut here---start->8--- >> (defun th-org-mode-init () >> (add-hook 'after-save-hook 'th-org-update-agenda-file t t)) >> >> (add-hook 'org-mode-hook 'th-org-mode-init) >> >> ;; TODO: This errors when calling C-x s a

Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Carsten Dominik
On May 13, 2009, at 8:12 AM, Tassilo Horn wrote: Hi all, I use an own function to save the current agenta to a text file, which I display in a tooltip on my desktop: --8<---cut here---start->8--- (defun th-org-mode-init () (add-hook 'after-save-hook 'th

[Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-12 Thread Tassilo Horn
Hi all, I use an own function to save the current agenta to a text file, which I display in a tooltip on my desktop: --8<---cut here---start->8--- (defun th-org-mode-init () (add-hook 'after-save-hook 'th-org-update-agenda-file t t)) (add-hook 'org-mode-hook