From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Moving an item to a precise place Date: Sun, 16 Sep 2007 14:40:12 +0200 Message-ID: <87zlzm942b.fsf@bzg.ath.cx> References: <200709160100.l8G10AqN005822@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWtQC-0001HE-LU for emacs-orgmode@gnu.org; Sun, 16 Sep 2007 08:40:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWtQB-0001Gi-VN for emacs-orgmode@gnu.org; Sun, 16 Sep 2007 08:40:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWtQB-0001Gb-Q6 for emacs-orgmode@gnu.org; Sun, 16 Sep 2007 08:40:19 -0400 Received: from nf-out-0910.google.com ([64.233.182.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWtQB-0006hd-E4 for emacs-orgmode@gnu.org; Sun, 16 Sep 2007 08:40:19 -0400 Received: by nf-out-0910.google.com with SMTP id f5so972716nfh for ; Sun, 16 Sep 2007 05:40:18 -0700 (PDT) In-Reply-To: <200709160100.l8G10AqN005822@localhost.localdomain> (Xavier Maillard's message of "Sun, 16 Sep 2007 03:00:10 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Xavier Maillard writes: > So let's say I have this organization: > > * Project 1 > ** TODO Ask foo about bar > > * Project 2 > ** TODO Write customer report > > * Project 3 > > How can I move the TODO from "Project 1" to "Project 3" directly > -i.e. move by "name" What about this? 1. Put the cursor at the beginning of the TODO you want to move 2. C-c C-x C-w to cut the subtree (leave the point on "Project 2") 3. C-c C-f to go to the next heading (same level) 4. C-n to go to the next line 5. C-y to yank the subtree You can also use org-goto (C-c C-j) to navigate through the structure easily if you need to paste the cut subtree far in the file. > I know there is org-move-item-(down/up) and subtree but I did not see > anything to tell an item to move a precise place (where the precise > place will be prompted). I think it's better to rely on usual kill/yank procedures when the moves are not hierarchy-dependant. -- Bastien