emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [bug] Gnus author in capture templates not working


From: Sébastien Vauban
Subject: [Orgmode] Re: [bug] Gnus author in capture templates not working
Date: Thu, 23 Sep 2010 21:05:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi David,

David Maus wrote:
> Bastien wrote:
>> David Maus <address@hidden> writes:
>>> I've started to implement the :date property for the other mailers and
>>> thought about:
>>>
>>>  - date :: literal content of the date header field
>>>  - date-timestamp :: active timestamp for the date header field
>>>  - date-timestamp-ia :: inactive timestamp for the date header field
>
> Okay, just pushed the changes. The properties for the date header field are
> now %:date, %:date-timestamp, and %:date-timestamp-inactive and are supplied
> by all mail link handlers.

I'm sorry, but when putting this in music, I realize this is (maybe) not
enough. Just consider a typical test case:

--8<---------------cut here---------------start------------->8---
          (setq org-capture-templates
                `(("m" "Mail" entry
                   (file+headline "~/Personal/refile.org" "Tasks")
                   "* TODO %:subject%? (from %:fromname) :mail:
   :PROPERTIES:
   :Created: %:date-timestamp-inactive
   :END:
   SCHEDULED: %:date-timestamp

%i

>From %a"
                   :empty-lines 1 :immediate-finish)))
--8<---------------cut here---------------end--------------->8---

I now have a full timestamp (date and time) for when the mail has been sent
(or received?). That's really great.

Though, for the scheduling part, I don't need a full timestamp: I just want to
specify when (which day) I intend to work on it, and reply to it. There, it'd
be cool to have a timestamp with only date and day of the week (no time).

Does this make sense?

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]