From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dominik, C." Subject: RE: Remember in Agenda buffers Date: Tue, 10 Jun 2008 08:35:51 +0200 Message-ID: <9592BB6CDB1CEB48826BE86ACD71FA996ABF7A@kwik.ic.uva.nl> References: <18498.39676.942333.377025@clip.dia.fi.upm.es> <18508.44068.683897.101619@clip.dia.fi.upm.es> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0265656148==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5xVb-0006Hb-Do for emacs-orgmode@gnu.org; Tue, 10 Jun 2008 02:39:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5xVY-0006Et-Vk for emacs-orgmode@gnu.org; Tue, 10 Jun 2008 02:39:06 -0400 Received: from [199.232.76.173] (port=43216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5xVY-0006Ek-Of for emacs-orgmode@gnu.org; Tue, 10 Jun 2008 02:39:04 -0400 Received: from mx20.gnu.org ([199.232.41.8]:30252) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5xVY-00018j-0L for emacs-orgmode@gnu.org; Tue, 10 Jun 2008 02:39:04 -0400 Received: from kwik.ic.uva.nl ([146.50.98.168]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5xVX-0004g0-2j for emacs-orgmode@gnu.org; Tue, 10 Jun 2008 02:39:03 -0400 Content-class: urn:content-classes:message List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manuel Hermenegildo , Thomas Baumann , emacs-orgmode@gnu.org This is a multi-part message in MIME format. --===============0265656148== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8CAC4.ABA9B5F0" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8CAC4.ABA9B5F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Manuel, yes, you can get the info from text properties. A second question would be on how to get it into the template. I can see two options here: 1. Create a new % escape 2. Use the date as the default date for the %^t and %^T escapes. This would then offer to select the date with RET, but it would still allo to change it or to add a time specification. I can see merrits for both options. Opinions? - Carsten -----Original Message----- From: emacs-orgmode-bounces+dominik=3Dscience.uva.nl@gnu.org on behalf = of Manuel Hermenegildo Sent: Mon 6/9/2008 6:05 AM To: Thomas Baumann; emacs-orgmode@gnu.org Subject: Re: [Orgmode] Remember in Agenda buffers =20 > If we can find a way to read date/time from the agenda view then I = can > easily do this. Actually, I found rereading Thomas Baumann's message I went back and checked the code for org-agenda-diary-entry and I think everything needed to get the date at point is there ((get-text-property (point) 'day) etc.) so I will give it a try. --Manuel --=20 -------------------------------------------------------------------------= ------ Manuel Hermenegildo | Prof., C.S. = Department Director, IMDEA-Software and CLIP Group | T.U. of Madrid = (UPM) http://www.cliplab.org/herme | +34-91-336-7435 (W) -352-4819 = (Fax) -------------------------------------------------------------------------= ------ _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ------_=_NextPart_001_01C8CAC4.ABA9B5F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Orgmode] Remember in Agenda buffers

Hi Manuel,

yes, you can get the info from text properties.

A second question would be on how to get it into the template.
I can see two options here:

1. Create a new % escape
2. Use the date as the default date for the %^t and %^T escapes.  = This
would then offer to select the date with RET, but it would still = allo
to change it or to add a time specification.

I can see merrits for both options.  Opinions?

- Carsten


-----Original Message-----
From: emacs-orgmode-bounces+dominik=3Dscience.uva.nl@gnu.org on behalf = of Manuel Hermenegildo
Sent: Mon 6/9/2008 6:05 AM
To: Thomas Baumann; emacs-orgmode@gnu.org
Subject: Re: [Orgmode] Remember in Agenda buffers


 > If we can find a way to read date/time from the agenda view = then I can
 > easily do this.

Actually, I found rereading Thomas Baumann's message I went back and
checked the code for org-agenda-diary-entry and I think everything
needed to get the date at point is there ((get-text-property (point)
'day) etc.) so I will give it a try. --Manuel

--
-------------------------------------------------------------------------= ------
 Manuel = Hermenegildo          &= nbsp;          = |            =   Prof., C.S. Department
 Director, IMDEA-Software and CLIP Group = |            =     T.U. of Madrid (UPM)
 http://www.cliplab.org/herme&nb= sp;           | = +34-91-336-7435 (W) -352-4819 (Fax)
-------------------------------------------------------------------------= ------



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

------_=_NextPart_001_01C8CAC4.ABA9B5F0-- --===============0265656148== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0265656148==--