* insert todo from agenda?
@ 2008-06-15 15:31 knubee
2008-06-15 19:01 ` Cezar Halmagean
0 siblings, 1 reply; 15+ messages in thread
From: knubee @ 2008-06-15 15:31 UTC (permalink / raw)
To: emacs-orgmode
This seems like an obvious question, but I haven't been able to find an answer.
Is there a simple command for entering a new TODO item from the agenda view?
(something analogous to "i d" for inserting a diary entry)
If not, how do people quickly enter new scheduled/deadline TODO items?
thanks
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: insert todo from agenda?
2008-06-15 15:31 insert todo from agenda? knubee
@ 2008-06-15 19:01 ` Cezar Halmagean
2008-06-15 19:10 ` Carsten Dominik
0 siblings, 1 reply; 15+ messages in thread
From: Cezar Halmagean @ 2008-06-15 19:01 UTC (permalink / raw)
To: emacs-orgmode
knubee <knubee@gmail.com> writes:
> This seems like an obvious question, but I haven't been able to find an answer.
>
> Is there a simple command for entering a new TODO item from the agenda view?
> (something analogous to "i d" for inserting a diary entry)
>
> If not, how do people quickly enter new scheduled/deadline TODO items?
>
I'd like to see this feature too as I am alwas in my agenda buffer.
As people do it now is by using remember.
Cezar
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
2008-06-15 19:01 ` Cezar Halmagean
@ 2008-06-15 19:10 ` Carsten Dominik
2008-06-15 19:50 ` Richard G Riley
0 siblings, 1 reply; 15+ messages in thread
From: Carsten Dominik @ 2008-06-15 19:10 UTC (permalink / raw)
To: Cezar Halmagean; +Cc: emacs-orgmode
On Jun 15, 2008, at 9:01 PM, Cezar Halmagean wrote:
> knubee <knubee@gmail.com> writes:
>
>> This seems like an obvious question, but I haven't been able to
>> find an answer.
>>
>> Is there a simple command for entering a new TODO item from the
>> agenda view?
>> (something analogous to "i d" for inserting a diary entry)
>>
>> If not, how do people quickly enter new scheduled/deadline TODO
>> items?
>>
>
> I'd like to see this feature too as I am alwas in my agenda buffer.
>
> As people do it now is by using remember.
What could be better than remember for this purpose?
- Carsten
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
2008-06-15 19:10 ` Carsten Dominik
@ 2008-06-15 19:50 ` Richard G Riley
2008-06-15 21:13 ` Cezar Halmagean
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Richard G Riley @ 2008-06-15 19:50 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Cezar Halmagean
Carsten Dominik <dominik@science.uva.nl> writes:
> On Jun 15, 2008, at 9:01 PM, Cezar Halmagean wrote:
>
>> knubee <knubee@gmail.com> writes:
>>
>>> This seems like an obvious question, but I haven't been able to
>>> find an answer.
>>>
>>> Is there a simple command for entering a new TODO item from the
>>> agenda view?
>>> (something analogous to "i d" for inserting a diary entry)
>>>
>>> If not, how do people quickly enter new scheduled/deadline TODO
>>> items?
>>>
>>
>> I'd like to see this feature too as I am alwas in my agenda buffer.
>>
>> As people do it now is by using remember.
>
> What could be better than remember for this purpose?
>
> - Carsten
I think that, if I understand the issue, from the agenda it would be
nicer for a default action to insert with the scheduled date defaulted
to the day which has focus.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: insert todo from agenda?
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
2 siblings, 1 reply; 15+ messages in thread
From: Cezar Halmagean @ 2008-06-15 21:13 UTC (permalink / raw)
To: emacs-orgmode
Richard G Riley <rileyrgdev@googlemail.com> writes:
>
> I think that, if I understand the issue, from the agenda it would be
> nicer for a default action to insert with the scheduled date defaulted
> to the day which has focus.
exactly...
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: insert todo from agenda?
2008-06-15 21:13 ` Cezar Halmagean
@ 2008-06-16 6:17 ` Paul R
0 siblings, 0 replies; 15+ messages in thread
From: Paul R @ 2008-06-16 6:17 UTC (permalink / raw)
To: Cezar Halmagean; +Cc: emacs-orgmode
Cezar Halmagean <cezar@mixandgo.ro> writes:
> Richard G Riley <rileyrgdev@googlemail.com> writes:
>
>>
>> I think that, if I understand the issue, from the agenda it would be
>> nicer for a default action to insert with the scheduled date defaulted
>> to the day which has focus.
>
> exactly...
I wonder where is the right place to implement this. I would tend to
think it is in remember. Has anyone checked if remember can already
match some context data around the point, and put it back in the
template ?
--
Paul
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: insert todo from agenda?
2008-06-15 19:50 ` Richard G Riley
2008-06-15 21:13 ` Cezar Halmagean
@ 2008-06-15 23:53 ` knubee
2008-06-16 3:16 ` Manish
2 siblings, 0 replies; 15+ messages in thread
From: knubee @ 2008-06-15 23:53 UTC (permalink / raw)
To: emacs-orgmode
> I think that, if I understand the issue, from the agenda it would be
> nicer for a default action to insert with the scheduled date defaulted
> to the day which has focus.
yes, it would be convenient if we could do that.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
2008-06-15 19:50 ` Richard G Riley
2008-06-15 21:13 ` Cezar Halmagean
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
2 siblings, 2 replies; 15+ messages in thread
From: Manish @ 2008-06-16 3:16 UTC (permalink / raw)
To: Richard G Riley; +Cc: Cezar Halmagean, emacs-orgmode
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)
- records the date the task was created (%T)
- prompts for tags (%^g)
- start the clock when you start creating the task and offer to clock
out when you save the task (:CLOCK-IN: and my-start-clock-if-needed)
- takes you to the location the task is being filed when you save (%&).
You can then refile it using org-refile. (C-c C-w by default.)
This works irrespective of the buffer you are in (you need not be in ageda.)
Thanks to Bernt for much of this setup and ideas.
Please do see sec. #9 for more details. It lets you be pretty creative.
Best,
-- Manish
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
2008-06-16 3:16 ` Manish
@ 2008-06-16 3:17 ` Manish
2008-06-16 3:44 ` Richard G Riley
1 sibling, 0 replies; 15+ messages in thread
From: Manish @ 2008-06-16 3:17 UTC (permalink / raw)
To: Richard G Riley; +Cc: Cezar Halmagean, emacs-orgmode
> Please do see sec. #9 for more details. It lets you be pretty creative.
I meant sec #9 of the org manual. Sorry.
-- Manish
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
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
1 sibling, 1 reply; 15+ messages in thread
From: Richard G Riley @ 2008-06-16 3:44 UTC (permalink / raw)
To: Manish; +Cc: Cezar Halmagean, emacs-orgmode, Richard G Riley
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
2008-06-16 3:44 ` Richard G Riley
@ 2008-06-16 7:54 ` Carsten Dominik
2008-06-16 8:08 ` knubee
0 siblings, 1 reply; 15+ messages in thread
From: Carsten Dominik @ 2008-06-16 7:54 UTC (permalink / raw)
To: Richard G Riley; +Cc: emacs-orgmode, Cezar Halmagean
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: insert todo from agenda?
2008-06-16 7:54 ` Carsten Dominik
@ 2008-06-16 8:08 ` knubee
2008-06-16 8:13 ` Carsten Dominik
0 siblings, 1 reply; 15+ messages in thread
From: knubee @ 2008-06-16 8:08 UTC (permalink / raw)
To: emacs-orgmode
> > 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.
wonderful, thanks!
in its simplest version, what interests me is just a one or two letter command
that puts me into my task file. additional "nice to have" would be:
- two-letter combination distinguishes between insert deadline todo and insert
schedule todo
- it stores the current time/date under cursor when leaving agenda
- it allows me to quickly arrow/tab through the structure of my task file to
find the appropriate location for the new task
- i hit return and appropriate deadline/schedule info is place after point --
and i can start to type in the task/todo details.
but, as i say, even a simple quick way to get to task file will be great.
thanks.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: insert todo from agenda?
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
0 siblings, 2 replies; 15+ messages in thread
From: Carsten Dominik @ 2008-06-16 8:13 UTC (permalink / raw)
To: knubee; +Cc: emacs-orgmode
On Jun 16, 2008, at 10:08 AM, knubee wrote:
>>> 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.
>
> wonderful, thanks!
>
> in its simplest version, what interests me is just a one or two
> letter command
> that puts me into my task file. additional "nice to have" would be:
>
> - two-letter combination distinguishes between insert deadline todo
> and insert
> schedule todo
> - it stores the current time/date under cursor when leaving agenda
> - it allows me to quickly arrow/tab through the structure of my task
> file to
> find the appropriate location for the new task
> - i hit return and appropriate deadline/schedule info is place after
> point --
> and i can start to type in the task/todo details.
You can do all this with appropriate remember templates. All I will
do it to make sure that the dates inserted into the remember template
will reflect the agenda date. How you further edit and file away the
entry is a matter of your remember setup. You can either have
different templates for different tasks lists, or only a single
template that will be filed interactively to the appropriate list.
Check the remember template section of the manual for the (too) many
options.
- Carsten
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-06-16 17:46 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.