emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: insert todo from agenda?


From: Richard G Riley
Subject: Re: [Orgmode] Re: insert todo from agenda?
Date: Mon, 16 Jun 2008 05:44:04 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Manish <address@hidden> 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.




reply via email to

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