Re: [O] MobileOrg: Push more than the current week?

2011-07-04 Thread Tassilo Horn
Tassilo Horn tass...@member.fsf.org writes:

Hi again,

 is there a way to push more than the current week using M-x
 org-mobile-push RET?

After reading the docs more carefully, I managed to answer my question.
The trick is to define a custom agenda view.

--8---cut here---start-8---
(setq org-agenda-custom-commands
  '((n Next 21 days agenda  ((org-agenda-span 21)
--8---cut here---end---8---

So now I have three agendas on my phone: the default week agenda, all
todos, and this new custom 21 next days overview.

Bye,
Tassilo




Re: [O] MobileOrg: Push more than the current week?

2011-07-04 Thread Rémi Vanicat
Tassilo Horn tass...@member.fsf.org writes:

 Hi all,

 is there a way to push more than the current week using M-x
 org-mobile-push RET?

This should do it (Monday is a bad day to test it...)

#+begin_src emacs-lisp
  (defun rv-org-mobile-push ()
(interactive)
(let (org-agenda-start-on-weekday
   (string-to-number (format-time-string %w)))
  (org-mobile-push)))
#+end_src


[...]


-- 
Rémi Vanicat