From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: Putting a todo item to the end of this level Date: Sun, 12 Oct 2014 12:51:23 +0200 Message-ID: <87r3ydv9w4.fsf@mailbox.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdGkg-0007rO-Hv for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 06:51:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdGka-0000Wn-5Z for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 06:51:50 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:54624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdGkZ-0000WX-Sv for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 06:51:44 -0400 In-Reply-To: (Uwe Ziegenhagen's message of "Sun, 12 Oct 2014 07:37:06 +0000 (UTC)") 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: Uwe Ziegenhagen Cc: emacs-orgmode@gnu.org Hello Uwe, On 2014-10-12 09:37 Uwe Ziegenhagen wrote: > how can I move a specific TODO item to the end of the level it currently sits? > > Example > > a) before the command was executed > > * TODO Level 1 > ** TODO something to do a > ** DONE something to do b > ** TODO something to do c > ** TODO something to do d > * TODO Level 1 again > > b) after the command was executed (TODO is moved to the end of the TODO > Level 1 items) > > * TODO Level 1 > ** TODO something to do a > ** TODO something to do c > ** TODO something to do d > ** DONE something to do b > * TODO Level 1 again If you always want to move DONE headlines to the end you might want to consider org-sort. It is usually bound to `C-c ^' so with point on the first headline, doing `C-c ^ o' would produce the example b). HTH, -- Alexander Baier