emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: Cezar Halmagean <cezar@mixandgo.ro>,
	emacs-orgmode@gnu.org,
	Richard G Riley <rileyrgdev@googlemail.com>
Subject: Re: Re: insert todo from agenda?
Date: Mon, 16 Jun 2008 05:44:04 +0200	[thread overview]
Message-ID: <b4lk16xcvv.fsf@richardriley.net> (raw)
In-Reply-To: <e7cdbe30806152016v56a2bdb8mb9241c2773650e64@mail.gmail.com> (Manish's message of "Mon, 16 Jun 2008 08:46:14 +0530")

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.

  parent reply	other threads:[~2008-06-16  3:44 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 [this message]
2008-06-16  7:54           ` Carsten Dominik
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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=b4lk16xcvv.fsf@richardriley.net \
    --to=rileyrgdev@googlemail.com \
    --cc=cezar@mixandgo.ro \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).