From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: agenda bulk actions Date: Sun, 02 Sep 2012 08:41:09 -0700 Message-ID: <87fw70h1pm.fsf@ericabrahamsen.net> References: <877gsn76dg.fsf@ericabrahamsen.net> <87pq641wc0.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8CIk-0004kv-78 for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 11:41:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8CIj-0004T0-7X for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 11:41:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:48013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8CIj-0004Sw-0T for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 11:41:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T8CIi-0007CV-4r for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 17:41:28 +0200 Received: from 63.226.249.211 ([63.226.249.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Sep 2012 17:41:28 +0200 Received: from eric by 63.226.249.211 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Sep 2012 17:41:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Sun, Sep 02 2012, Bastien wrote: > Hi Eric, > > Eric Abrahamsen 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