emacs-orgmode@gnu.org archives
 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: Sun, 06 Aug 2017 05:23:03 -0500	[thread overview]
Message-ID: <874ltlov08.fsf@alphapapa.net> (raw)
In-Reply-To: 807502419.452033.1501992770596@mail.yahoo.com

Raymond Zeitler <zeitra@yahoo.com> writes:

Hi Ray,

> A final update... it works. Of course you knew that, but I was
> convinced otherwise.

Glad you got it working.  :)
>
> One Internet search result for "Emacs No Match" linked to a subtopic
> of Completion in the Emacs manual. So I read more about Completion and
> found that pressing "?" displays a list of all possible choices.
>
> So I pressed "?" after C-c C-w and saw
> Tasks
> Tasks (HR.org)
>
> One quick forehead slap later, I entered Tasks ( TAB. I got the
> desired completion of Tasks (HR.org), pressed RET, and viola! It
> worked.
>
> So this was classic error 18 because I was expecting to refile to
> ~/HR.org Tasks -- file name then heading.

This is why I recommended Helm.  It's just so much easier, because you
get a big window with all the potential completions listed, and then it
narrows down the list as you type.  You can type any part of any word
anywhere in any item, and it will narrow down to that item.  The default
Emacs completion is like stumbling around in the dark, by comparison.
Ivy is another good completion package, but it doesn't do nearly as much
(which some people prefer).

Anyway, if you install Helm, just run helm-mode, and then try
org-refile.  I think you'll like it.

> Is the heading (file name) completion syntax explained anywhere in the
> documentation? If so, I missed it big time. LOL

Check out the variable org-refile-use-outline-path.  It's nil by
default, but by setting it to 'file, it puts the filename first.

  reply	other threads:[~2017-08-06 10:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 15:02 refile workflow -- move to same heading in different file? 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 [this message]
2017-08-06 19:52         ` Raymond Zeitler
  -- strict thread matches above, loose matches on Subject: below --
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-03 18:52 Raymond Zeitler
2017-08-04  1:51 ` Adam Porter
2017-08-02 15:11 Raymond Zeitler
2017-08-03 10:07 ` Adam Porter

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=874ltlov08.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 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).