Re: [Orgmode] Problems with org-mode-hook when files are opened by org-agenda-list

2009-03-12 Thread Tassilo Horn
Carsten Dominik writes: >> --8<---cut here---start->8--- >> (defun th-org-update-agenda-file (&optional force) >> (interactive) >> (save-excursion >>(save-window-excursion >> (let ((file "/tmp/org-agenda.txt")) >>(org-agenda-list) >>(

Re: [Orgmode] Problems with org-mode-hook when files are opened by org-agenda-list

2009-03-12 Thread Carsten Dominik
On Mar 12, 2009, at 8:42 AM, Tassilo Horn wrote: Hi all, I want that each time I startup emacs and each time I change a org file, the agenda for this week should be exported to /tmp/org-agenda.txt. I use this file for creating an agenda popup in my window manager [1] To achive that, I use

[Orgmode] Problems with org-mode-hook when files are opened by org-agenda-list

2009-03-12 Thread Tassilo Horn
Hi all, I want that each time I startup emacs and each time I change a org file, the agenda for this week should be exported to /tmp/org-agenda.txt. I use this file for creating an agenda popup in my window manager [1] To achive that, I use the following code: --8<---cut here---