emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Thanks Carsten!!
@ 2008-11-10 14:26 Bernt Hansen
  2008-11-10 21:22 ` Rainer Stengele
  0 siblings, 1 reply; 2+ messages in thread
From: Bernt Hansen @ 2008-11-10 14:26 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

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

Thanks,
Bernt
------------------------------------------------------------------------

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,
Bernt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-10 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-10 14:26 Thanks Carsten!! Bernt Hansen
2008-11-10 21:22 ` Rainer Stengele

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