* agenda bulk actions
@ 2012-08-25 7:55 Eric Abrahamsen
2012-09-02 11:43 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2012-08-25 7:55 UTC (permalink / raw)
To: emacs-orgmode
I'm brushing up on org agenda commands, and have a question about bulk
actions.
It seems to me there's some odd overlap here: we've got 'k' bound to
`org-agenda-action', which is used for marking items and shifting their
dates to the date under point, or for capturing using the date under
point as a default. Then there's 'm' and 'B', which are used for marking
items and… doing everything/anything else.
Having two different ways of marking agenda items and operating on them
seems odd to me. In my (very subjective) opinion, it would be much nicer
to have a single set of functions for this. What I'm envisioning is:
1. Use only m/B for all marking and bulk actions. When we hit 's' or 'd'
for reschedule or re-deadline, use the date under point (if there is
one) as a default. This covers the 'k' functionality for scheduling
and deadlines.
2. Have the regular capture interface check org-context to see if point
is on an agenda date. If it is, use that as the default date for any
date fields. This covers the 'k' functionality for capture.
2(a). If the above is too intrusive, provide a single org agenda key
('k' would now be free) that calls org-capture using date under
point as a default.
Would this not be an improvement? Am I missing anything?
Eric
--
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
of 2012-08-23 on pellet
7.9
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: agenda bulk actions
2012-08-25 7:55 agenda bulk actions Eric Abrahamsen
@ 2012-09-02 11:43 ` Bastien
2012-09-02 15:41 ` Eric Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-09-02 11:43 UTC (permalink / raw)
To: Eric Abrahamsen; +Cc: emacs-orgmode
Hi Eric,
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> It seems to me there's some odd overlap here: we've got 'k' bound to
> `org-agenda-action', which is used for marking items and shifting their
> dates to the date under point, or for capturing using the date under
> point as a default. Then there's 'm' and 'B', which are used for marking
> items and… doing everything/anything else.
>
> Having two different ways of marking agenda items and operating on them
> seems odd to me.
Yes, a merge was needed here.
> In my (very subjective) opinion, it would be much nicer
> to have a single set of functions for this. What I'm envisioning is:
>
> 1. Use only m/B for all marking and bulk actions. When we hit 's' or 'd'
> for reschedule or re-deadline, use the date under point (if there is
> one) as a default. This covers the 'k' functionality for scheduling
> and deadlines.
It is implemented now.
> 2. Have the regular capture interface check org-context to see if point
> is on an agenda date. If it is, use that as the default date for any
> date fields. This covers the 'k' functionality for capture.
`k' now calls `org-agenda-capture' in agendas, which does this.
> 2(a). If the above is too intrusive, provide a single org agenda key
> ('k' would now be free) that calls org-capture using date under
> point as a default.
You have `org-capture-use-agenda-date' which, when set to `t', will
let M-x org-capture RET behave exactly like `k'.
> Would this not be an improvement? Am I missing anything?
Definitly not. Thanks for the suggestions!
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: agenda bulk actions
2012-09-02 11:43 ` Bastien
@ 2012-09-02 15:41 ` Eric Abrahamsen
0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2012-09-02 15:41 UTC (permalink / raw)
To: emacs-orgmode
On Sun, Sep 02 2012, Bastien wrote:
> Hi Eric,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> It seems to me there's some odd overlap here: we've got 'k' bound to
>> `org-agenda-action', which is used for marking items and shifting their
>> dates to the date under point, or for capturing using the date under
>> point as a default. Then there's 'm' and 'B', which are used for marking
>> items and… doing everything/anything else.
>>
>> Having two different ways of marking agenda items and operating on them
>> seems odd to me.
>
> Yes, a merge was needed here.
>
>> In my (very subjective) opinion, it would be much nicer
>> to have a single set of functions for this. What I'm envisioning is:
>>
>> 1. Use only m/B for all marking and bulk actions. When we hit 's' or 'd'
>> for reschedule or re-deadline, use the date under point (if there is
>> one) as a default. This covers the 'k' functionality for scheduling
>> and deadlines.
>
> It is implemented now.
>
>> 2. Have the regular capture interface check org-context to see if point
>> is on an agenda date. If it is, use that as the default date for any
>> date fields. This covers the 'k' functionality for capture.
>
> `k' now calls `org-agenda-capture' in agendas, which does this.
>
>> 2(a). If the above is too intrusive, provide a single org agenda key
>> ('k' would now be free) that calls org-capture using date under
>> point as a default.
>
> You have `org-capture-use-agenda-date' which, when set to `t', will
> let M-x org-capture RET behave exactly like `k'.
Thanks a lot! I think these are very nice improvements.
--
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
of 2012-09-01 on pellet
7.9
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-02 15:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-25 7:55 agenda bulk actions Eric Abrahamsen
2012-09-02 11:43 ` Bastien
2012-09-02 15:41 ` Eric Abrahamsen
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).