emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda bulk actions
Date: Sun, 02 Sep 2012 13:43:10 +0200	[thread overview]
Message-ID: <87pq641wc0.fsf@altern.org> (raw)
In-Reply-To: <877gsn76dg.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 25 Aug 2012 00:55:39 -0700")

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

  reply	other threads:[~2012-09-02 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25  7:55 agenda bulk actions Eric Abrahamsen
2012-09-02 11:43 ` Bastien [this message]
2012-09-02 15:41   ` Eric Abrahamsen

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=87pq641wc0.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).