all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: emacs-orgmode@gnu.org, Cezar Halmagean <cezar@mixandgo.ro>
Subject: Re: Re: insert todo from agenda?
Date: Mon, 16 Jun 2008 09:54:33 +0200	[thread overview]
Message-ID: <DB604583-1BF4-49DB-B012-A10B24024266@uva.nl> (raw)
In-Reply-To: <b4lk16xcvv.fsf@richardriley.net>


On Jun 16, 2008, at 5:44 AM, Richard G Riley wrote:

> Manish <mailtomanish.sharma@gmail.com> writes:
>
>> May be I misunderstood but it seems following setup
>> does all that you want (and more).
>>
>> Please see below.
>>
>> ,----[ Relevant setup ]
>> | (defun my-start-clock-if-needed ()
>> |  (save-excursion
>> |    (goto-char (point-min))
>> |    (when (re-search-forward ":CLOCK-IN:" nil t)
>> |       (replace-match "")
>> |       (org-clock-in))))
>> |
>> | (setq org-remember-templates
>> |   (quote
>> |    (
>> |     ("Client1 Task" ?g "* NEWTASK %? %^g %&\n  SCHEDULED: %t\n
>> :CLOCK-IN:\n  CREATED: %U\n"  "~/org.git/client1.org" "Unprocessed
>> Tasks")
>> |     ("Client2 Task" ?G "* NEWTASK %? %^g %& \n  SCHEDULED: %t\n
>> :CLOCK-IN:\n  CREATED: %U\n"  "~/org.git/client2.org" "Unprocessed
>> Tasks")
>> |     ("Personal Tasks" ?p "* NEWTASK %? %& \n  SCHEDULED: %t\n
>> :CLOCK-IN:\n  CREATED: %U\n"  "~/org.git/personal.org" "Unprocessed
>> Tasks")
>> |     ("Appointment @ Client1" ?a "* APPT %? %& \n  SCHEDULED: %^{At:
>> }T\n  :CLOCK-IN:\n  CREATED: %U\n"  "~/org.git/client1.org" "New
>> Appointments")
>> |     ("Appointment @ Client2" ?A "* APPT %? %& \n  SCHEDULED:  
>> %^T{At:
>> }\n  :CLOCK-IN:\n  CREATED: %U\n"  "~/org.git/client2.org" "New
>> Appointments")
>> |     ("Notes" ?n "* %?\n  %a\n  CREATED: %U\n"  "~/org.git/ 
>> notes.org" "Notes")
>> |     ("Journal" 106 "\n* JOURNAL Entry at %U\n  %?"
>> "~/org.git/journal.org" "Journal")
>> |   )))
>> `----
>>
>> This setup:
>>
>> - schedules the task by default for today (%t)
>
> The Agenda insert should set the date and time to the date and time
> under the cursor so I dont think this is the same thing being  
> requested.


I will have code for this in the next push, as soon as repo.or.cz is  
up again.

- Carsten

  reply	other threads:[~2008-06-16  7:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-15 15:31 insert todo from agenda? knubee
2008-06-15 19:01 ` Cezar Halmagean
2008-06-15 19:10   ` Carsten Dominik
2008-06-15 19:50     ` Richard G Riley
2008-06-15 21:13       ` Cezar Halmagean
2008-06-16  6:17         ` Paul R
2008-06-15 23:53       ` knubee
2008-06-16  3:16       ` Manish
2008-06-16  3:17         ` Manish
2008-06-16  3:44         ` Richard G Riley
2008-06-16  7:54           ` Carsten Dominik [this message]
2008-06-16  8:08             ` knubee
2008-06-16  8:13               ` Carsten Dominik
2008-06-16  8:37                 ` knubee
2008-06-16 17:45                 ` Cezar Halmagean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB604583-1BF4-49DB-B012-A10B24024266@uva.nl \
    --to=dominik@uva.nl \
    --cc=cezar@mixandgo.ro \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.