emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <dominik@uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Thanks Carsten!!
Date: Mon, 10 Nov 2008 09:26:18 -0500	[thread overview]
Message-ID: <874p2fr71x.fsf@gollum.intra.norang.ca> (raw)

Hi Carsten,

You truly are awesome! :)

This message started as a feature request.

Subject: Feature Request - org refile targets adds the current file targets

I was reviewing one of my archive files today which is not in my
org-agenda-files and found I wanted to reorder a few archived tasks into
different archive categories.

org-refile (C-c C-w) does not offer the current file's targets as
options for the refile.

In this case I had

* Research
** Some task
* Miscellaneous
** Some Research Task

and I wanted to refile the ** Some Research Task to the * Research
heading but org-refile only offered Research headings from org files in
my org-agenda-files list.

Would it be possible to add the targets of the current file the task is
in to the completion list?

I ended up cutting and pasting the tasks in this case and ended up
fixing some of the levels since they changed to level 1 tasks when I
wasn't careful about where I pasted the content.

,----[ part of custom.el ]
| (custom-set-variables
|  ...
|  '(org-refile-targets (quote ((org-agenda-files :level . 1))))
|  ...
|  )


Then before sending it I took a few minutes to look up the
org-refile-targets help (C-h v org-refile-targets) and what I want to do
is already available.

I changed my custom.el to

,----[ part of custom.el ]
| (custom-set-variables
|  ...
|  '(org-refile-targets (quote ((org-agenda-files :level . 1) (nil :level . 1))))
|  ...
|  )

and it just works exactly how I want.

Thanks for org-mode that continues to amaze me with its power and
utility each and every day.

Carsten, you get my maintainer-of-the-year and
software-product-of-the-year award votes!!  :)

Best Regards,

             reply	other threads:[~2008-11-10 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 14:26 Bernt Hansen [this message]
2008-11-10 21:22 ` Thanks Carsten!! Rainer Stengele

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:

  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=874p2fr71x.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \


* 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


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).