From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: manually move tasks in list of agenda tags-todo Date: Fri, 1 Jul 2011 08:44:39 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXT4-00055u-8M for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 02:44:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcXT2-0006FE-JY for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 02:44:46 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:47941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcXT2-0006FA-6I for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 02:44:44 -0400 Received: by wwf22 with SMTP id 22so2371859wwf.30 for ; Thu, 30 Jun 2011 23:44:42 -0700 (PDT) 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: Org Mode Hi all I would like to know from those who want to or do manually order their tasks in the custom agenda block of type "tags-todo": - how do you manually order the tasks - how do you later change their order - your comments on the following description about how I currently try to achieve this My custom agenda view has several blocks of type "tags-todo". Ordering of one block is done by priorities manually added. The tasks of one block may be spread over several agenda files and ordered there differently. There are no two blocks with the same task. One of these blocks may look like: TODO [#A] foo TODO [#B] bar TODO [#C] bla bla TODO [#D] ble TODO [#E] bli TODO [#F] blo TODO [#G] blu Another block might have tasks with [#A] to [#E] etc. Later I want to move the task blo to the top within the above block: 1) move point to line foo 2) repeat 5x "S-, " to decrease the priorities by one 3) ", a" to assign priority A 4) "g" to update sort order The resulting view is still as expected: TODO [#A] blo TODO [#B] foo TODO [#C] bar TODO [#D] bla bla TODO [#E] ble TODO [#F] bli TODO [#G] blu But this is not as comfortable to do as I would like it to be when moving around tasks often. The simplest way I can think of would be to use M-/M- (yet unused in the agenda view) to change the necessary priorities and to update the view so that after each repetition of M-/M- the task would move up or down one line. Similar to how now M-/M- moves an outline subtree, a list item subtree or a table row. What do you think about that? Note 1: This way the priorities are used only to order each agenda block of type "tags-todo". I don't use priorities outside the agenda view and regarding priorities agree with this post also quoting David Allen (GTD): http://thread.gmane.org/gmane.emacs.orgmode/4915/focus=4921 Note 2: The agenda bulk command with custom functions for increasing and decreasing the priority is for me even less comfortable because this needs to mark 5x and then the bulk command that has to be directed to the function. Michael