From: Richard G Riley <rileyrgdev@googlemail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: org-mode <emacs-orgmode@gnu.org>,
Richard G Riley <rileyrgdev@googlemail.com>
Subject: Re: Re: move org item
Date: Mon, 28 Jul 2008 15:48:01 +0200 [thread overview]
Message-ID: <6cej5eazn2.fsf@richardriley.net> (raw)
In-Reply-To: <87d4kyp2aq.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Mon, 28 Jul 2008 09:26:53 -0400")
Bernt Hansen <bernt@norang.ca> writes:
> Manish <mailtomanish.sharma@gmail.com> writes:
>
>> On Mon, Jul 28, 2008 at 9:22 AM, Bernt Hansen wrote:
>> > Richard G Riley writes:
>> >
>> >> Sorry, but I cant see it in the manual (rubs eyes) but is it
>> >> possible to move an item(s) from one org type/file to another file?
>> >>
>> >> e.g I have something in my generals "tasks" file and then want to
>> >> refile it in my "emacs" org file.
>> >>
>> >> I realise I can refile to another category in the same file using
>> >> C-c C-w (org-refile).
>> >>
>> > I tend to just fold the task, cut it, and paste it in the other file
>> > ... followed by refiling it if necessary to the 'right' place in the
>> > new file. Maybe there's an easier way I'm unaware of.
>>
>> This troubled me a lot as well but I have found following setting to
>> be of good use:
>>
>> (setq org-refile-targets (quote ((org-agenda-files :regexp . "*"))))
>
> Cool! Thanks for letting me know about this. I have way too many
> targets to use your setting but this works great for me:
>
> (setq org-refile-targets (quote ((org-agenda-files :level . 1))))
>
> -Bernt
Great stuff guys. I dont think I'll ever be a lisp programmer - I looked
at the doc string and it flew over my head on how to reduce the number
of targets. Mind you, it was at 5am or so :-( This is exactly what I
wanted!
next prev parent reply other threads:[~2008-07-28 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 3:29 move org item Richard G Riley
2008-07-28 3:52 ` Bernt Hansen
2008-07-28 4:12 ` Manish
2008-07-28 13:26 ` Bernt Hansen
2008-07-28 13:48 ` Richard G Riley [this message]
2008-07-29 0:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cej5eazn2.fsf@richardriley.net \
--to=rileyrgdev@googlemail.com \
--cc=bernt@norang.ca \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.