From: Carsten Dominik <dominik@science.uva.nl>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: Bernt Hansen <bernt@norang.ca>, org-mode <emacs-orgmode@gnu.org>
Subject: Re: Re: move org item
Date: Mon, 28 Jul 2008 17:18:52 -0700 [thread overview]
Message-ID: <A0B87C25-F1EE-4A6D-9FB2-EA9F3CA7050B@uva.nl> (raw)
In-Reply-To: <6cej5eazn2.fsf@richardriley.net>
On Jul 28, 2008, at 6:48 AM, Richard G Riley wrote:
> 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!
Customize is your friend.
M-x customize-variable RET org-refile-targets RET
If you hae trouble to understand from the docstring how a variable
should be customized, the customize interface ofives you a different
angle. Once you have se the variable with customize, look at the value
with `C-h v' - maybe then you understand the lisp structure better so
that next time, you may used it!?
HTH
- Carsten
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-07-29 0:18 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
2008-07-29 0:18 ` Carsten Dominik [this message]
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=A0B87C25-F1EE-4A6D-9FB2-EA9F3CA7050B@uva.nl \
--to=dominik@science.uva.nl \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=rileyrgdev@googlemail.com \
/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).