[O] How to know in elisp if I am in the agenda ..

2013-04-11 Thread Rainer Stengele
Hi, I try to automate clock in and clock out operations. I have put something like this together: (defun rst/clock-in-out () (interactive) (when org-agenda-info ;; (org-agenda-switch-to)) (org-agenda-goto)) (show-subtree) (org-clock-in) (org-clock-out) (unless

Re: [O] How to know in elisp if I am in the agenda ..

2013-04-11 Thread Thorsten Jolitz
Rainer Stengele rainer.steng...@online.de writes: Please help. Where could I find information/docs for something like How to determine when I am in agenda view? , | M-: (string-equal *Org Agenda* (buffer-name))

Re: [O] How to know in elisp if I am in the agenda ..

2013-04-11 Thread Tassilo Horn
Thorsten Jolitz tjol...@gmail.com writes: Please help. Where could I find information/docs for something like How to determine when I am in agenda view? , | M-: (string-equal *Org Agenda* (buffer-name))