emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Moving an item to a precise place
Date: Sun, 16 Sep 2007 14:40:12 +0200	[thread overview]
Message-ID: <87zlzm942b.fsf@bzg.ath.cx> (raw)
In-Reply-To: <200709160100.l8G10AqN005822@localhost.localdomain> (Xavier Maillard's message of "Sun, 16 Sep 2007 03:00:10 +0200")

Xavier Maillard <xma@gnu.org> 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

  reply	other threads:[~2007-09-16 12:40 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16  1:00 Moving an item to a precise place Xavier Maillard
2007-09-16 12:40 ` Bastien [this message]
2007-09-17 11:59   ` Carsten Dominik
2007-09-19 16:26     ` John Rakestraw
2007-09-20  8:45       ` Carsten Dominik
2007-09-27 10:51         ` emacs on the N800 Daniel M German
2007-09-27 18:50           ` Cezar
2007-09-27 20:34             ` Daniel M German
2007-09-29 19:58           ` Michael Olson
2007-12-11 23:47           ` Adam Spiers
2007-12-11 23:55             ` Adam Spiers
2007-12-12 16:33             ` Daniel M German
2007-12-12 17:06               ` Adam Spiers
2007-12-12 17:43                 ` Daniel M German
2007-12-13 16:27                   ` Adam Spiers
2007-12-22 18:22                     ` Adam Spiers
2007-12-22 18:40                       ` Bastien
2007-12-12 19:26               ` Leo
     [not found]             ` <87wsrkmazl.fsf@bzg.ath.cx>
     [not found]               ` <20071212112928.GA16499@atlantic.linksys.moosehall>
     [not found]                 ` <877ijjapbz.fsf@bzg.ath.cx>
     [not found]                   ` <m1ejdr4zue.fsf@se.dmg>
2007-12-12 17:25                     ` Adam Spiers
2007-12-12 17:34                     ` Tim O'Callaghan
2007-12-12 17:48                       ` Daniel M German
     [not found]                   ` <20071212160219.GC16499@atlantic.linksys.moosehall>
     [not found]                     ` <87zlwdrcav.fsf@bzg.ath.cx>
2007-12-14 10:09                       ` Adam Spiers
2007-12-14 10:23                         ` Daniel M German
2007-12-14 10:48                           ` Adam Spiers
2007-12-14 11:32                             ` Bastien
2007-12-14 10:40                         ` Adam Spiers
     [not found]               ` <m1odcv50mh.fsf@se.dmg>
2007-12-22 16:05                 ` Bastien
2007-12-22 17:58                   ` Adam Spiers
2007-10-02 12:33 ` Moving an item to a precise place Max Mikhanosha
2007-10-04 10:02   ` Carsten Dominik

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=87zlzm942b.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).