[Orgmode] Re: Go to today in Calendar

2011-02-28 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 Is it because of some order to respect in the different allowed timestamps
 (active, inactive, scheduled, deadline)

 Yes, SCHEDULED (or DEADLINE) should come first.

OK. I did not think that mattered much, but that's no problem.

 In general, I tend to avoid mixing several timestamps format for the same
 entry (I just allow myself to use both SCHEDULED and DEADLINE, since that
 makes sense.)

I almost never mix many dates, but this comes from the following need: I
capture emails I have to respond to, and

- I want the original date to be saved, and
- add my SCHEDULED timestamp onto it.

This is done with the following template (in which I just inversed the two
lines containing dates):

#+begin_src emacs-lisp
  (m Mail entry
   (file+headline ,org-default-notes-file Tasks)
   * TODO %:subject%? (from %:fromname) :mail:
   SCHEDULED: %t
   %:date-timestamp-inactive

#+begin_verse
%i
#+end_verse

From %a
   :empty-lines 1 :immediate-finish)
#+end_src

You'll tell me that I could use PROPERTIES as well, but I think I'd loose the
ability to sort the tasks tree based on the inactive dates.

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Go to today in Calendar

2011-02-26 Thread Bastien
Hi Sébastien,

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Is it because of some order to respect in the different allowed timestamps
 (active, inactive, scheduled, deadline) 

Yes, SCHEDULED (or DEADLINE) should come first.  In general, I tend to
avoid mixing several timestamps format for the same entry (I just allow
myself to use both SCHEDULED and DEADLINE, since that makes sense.)

HTH,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Go to today in Calendar

2011-02-25 Thread Carsten Dominik

On Feb 23, 2011, at 11:14 AM, Sébastien Vauban wrote:

 Hi Nathan,
 
 Nathan Neff wrote:
 I just found that you can press . in the Calendar to jump to today's date.
 
 This saves me a gazillion keypresses, especially when you have a one-key
 mapping to schedule something in agenda mode. I have s mapped in agenda
 mode to schedule, so I just press s . Enter.
 
 I wanted to use your trick, but just remembered that `s' is already mapped to
 `org-save-all-org-buffers', which is a nice keybinding as well... Too bad
 save and schedule share the same letter...

Saving is also on `C-x C-s', which is a very natural key for this task.
so using s for scheduling sounds like a very good user customization to me.

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Go to today in Calendar

2011-02-25 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
 On Feb 23, 2011, at 11:14 AM, Sébastien Vauban wrote:
 Nathan Neff wrote:
 I just found that you can press . in the Calendar to jump to today's
 date.

 This saves me a gazillion keypresses, especially when you have a one-key
 mapping to schedule something in agenda mode. I have s mapped in agenda
 mode to schedule, so I just press s . Enter.

 I wanted to use your trick, but just remembered that `s' is already mapped
 to `org-save-all-org-buffers', which is a nice keybinding as well... Too
 bad save and schedule share the same letter...

 Saving is also on `C-x C-s', which is a very natural key for this task. so
 using s for scheduling sounds like a very good user customization to me.

Good to know. I did not look far enough in the describe mode key bindings.
Thanks.

Just played with it, and experienced a problem I already saw in the past (but
never reported yet).

In the agenda, because of this entry,

--8---cut here---start-8---
** TODO 2011 !!! (from Thomas):mail:
   [2010-12-24 Fri 21:22]
   SCHEDULED: 2011-02-24 Thu

#+begin_verse
joyeux noel et une bonne année !
#+end_verse

From [[gnus:nnimap%2Bmc:INBOX.mc#4d1500ee.9040...@gmail.com][Email from 
Thomas: 2011 !!!]]
--8---cut here---end---8---

I see (as of today):

--8---cut here---start-8---
  @refile:Sched. 2x:  TODO 2011 !!! (from Thomas) :refile::mail:
--8---cut here---end---8---

Let's say I want to schedule it to today (I should have replied to him 2
months ago, BTW ;-))...

I do `C-c C-s' on the entry, choose today (with `.') and confirm (with RET).
After saving (currently, `s' for me) and refreshing the agenda (`g'), I see:

--8---cut here---start-8---
  @refile:Sched. 2x:  TODO 2011 !!! (from Thomas) :refile::mail:
  @refile:Scheduled:  TODO 2011 !!! (from Thomas) :refile::mail:
--8---cut here---end---8---

... I get the entry *scheduled twice*!

Looking at it, we see that there are now *2 scheduled dates*...

--8---cut here---start-8---
** TODO 2011 !!! (from Thomas):mail:
   SCHEDULED: 2011-02-25 Fri
   [2010-12-24 Fri 21:22]
   SCHEDULED: 2011-02-24 Thu

#+begin_verse
joyeux noel et une bonne année !
#+end_verse

From [[gnus:nnimap%2Bmc:INBOX.mc#4d1500ee.9040...@gmail.com][Email from 
Thomas: 2011 !!!]]
--8---cut here---end---8---

Is it because of some order to respect in the different allowed timestamps
(active, inactive, scheduled, deadline) or a pure bug?

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Go to today in Calendar

2011-02-23 Thread Sébastien Vauban
Hi Nathan,

Nathan Neff wrote:
 I just found that you can press . in the Calendar to jump to today's date.

 This saves me a gazillion keypresses, especially when you have a one-key
 mapping to schedule something in agenda mode. I have s mapped in agenda
 mode to schedule, so I just press s . Enter.

I wanted to use your trick, but just remembered that `s' is already mapped to
`org-save-all-org-buffers', which is a nice keybinding as well... Too bad
save and schedule share the same letter...

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode