From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Sun, 06 Aug 2017 05:23:03 -0500 Message-ID: <874ltlov08.fsf@alphapapa.net> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> <87mv7erbin.fsf@alphapapa.net> <76996029.200065.1501936900679@mail.yahoo.com> <807502419.452033.1501992770596@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deIiL-0003fl-OC for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deIiI-0005WH-HV for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:17 -0400 Received: from [195.159.176.226] (port=45756 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deIiI-0005W9-Bz for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:14 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1deIi9-0000Bk-7a for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 12:23:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Raymond Zeitler 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.