all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: refile workflow -- move to same heading in different file?
Date: Thu, 03 Aug 2017 05:07:33 -0500	[thread overview]
Message-ID: <87zibhnevu.fsf@alphapapa.net> (raw)
In-Reply-To: 004901d30ba1$977df190$c679d4b0$@yahoo.com

"Raymond Zeitler" <zeitra@yahoo.com> writes:

> C-c C-w cannot seem to recognize any of my agenda files, even though
> org-refile-targets is set to (in custom-set-variables):
>
> (org-refile-targets (quote ((org-agenda-files :regexp . "Tasks"))))
>
> Suppose org-agenda-files contains "~/proj1.org" "~/proj2.org" "~/proj3.org" "~/todo.org".
>
> My expectation is that when I press C-c C-w with point on a subheading
> of Tasks in todo.org, I can specify, say proj1.org and get the
> subheading moved to proj1.org under Tasks. However, org-refile
> responds [No Match], even if I provide the file as ~/proj1.org. And
> Emacs is visiting proj1.org in another buffer.

Hi Raymond,

Going on what you've provided, it sounds like it should work.  A few
suggestions:

1.  In case you haven't yet (but you probably have), check
describe-variable for org-refile-targets.

2.  If you have any doubt about org-refile-targets being set correctly,
experiment with setting it and calling org-refile inside a (let).

3.  I haven't used the default Emacs completion in years; I'm so used to
having Helm that when I have to run "emacs -q" now and then, completing
buffer names and such is painful!  :)  So I'd suggest temporarily, at
least, using Helm as the default completing-read method, which will make
it much easier to debug by showing you the full list of candidates.
That way, if it's empty to begin with, you know something's really
wrong; or if it's full, but it shows [No Match] after you type something
in, that should help you narrow down the cause.

Hope this helps.

  reply	other threads:[~2017-08-03 10:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 15:11 refile workflow -- move to same heading in different file? Raymond Zeitler
2017-08-03 10:07 ` Adam Porter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-03 18:52 Raymond Zeitler
2017-08-04  1:51 ` Adam Porter
2017-08-04  4:14 Raymond Zeitler
2017-08-04 10:21 ` Adam Porter
2017-08-04 10:53   ` Joost Kremers
2017-08-05  2:35     ` Adam Porter
2017-08-04 15:02 Raymond Zeitler
2017-08-05  2:31 ` Adam Porter
2017-08-05 12:41   ` Raymond Zeitler
2017-08-06  4:12     ` Raymond Zeitler
2017-08-06 10:23       ` Adam Porter
2017-08-06 19:52         ` Raymond Zeitler

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=87zibhnevu.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --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.