From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OExpJoOBDmBmUAAA0tVLHw (envelope-from ) for ; Mon, 25 Jan 2021 08:29:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id rRZLIoOBDmANAwAAB5/wlQ (envelope-from ) for ; Mon, 25 Jan 2021 08:29:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E30F9403CA for ; Mon, 25 Jan 2021 08:29:54 +0000 (UTC) Received: from localhost ([::1]:59756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3xFv-0008Tk-OU for larch@yhetil.org; Mon, 25 Jan 2021 03:29:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3xFJ-0008TH-4X for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 03:29:13 -0500 Received: from ciao.gmane.io ([116.202.254.214]:57718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3xFH-0001AW-CI for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 03:29:12 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l3xFE-0003CE-D5 for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 09:29:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Loris Bennett" Subject: Re: org-refile and ivy Date: Mon, 25 Jan 2021 09:29:01 +0100 Message-ID: <87v9blv2r6.fsf@hornfels.zedat.fu-berlin.de> References: <87h7n9rmxs.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:HHvlZZoKa9x4t8o6mg8EhbqGU1w= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4E30F9403CA X-Spam-Score: -1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: NLZ0EGK+jQRX Hi Eric, Eric S Fraga writes: > Dear all org mode list readers, > > I have been trying to get to grips with org-refile. For some reason, > the completion mechanism (I use ivy generally but I have no idea what > org-refile actually tries to do/use) only shows me the current file name > if I have org-refile-targets set to nil. It doesn't show any top level > headlines to choose from which is what I would expect from the > documentation. Hitting RET to select the completion target given (file > name only) refiles to the end of the file which is not what I want. > > This is with org updated fairly recently but not quite up to > date. However, I've had this problem for a long time and don't use > org-refile as a result. > > Any suggestions welcome. > > Thank you, > eric Refiling works for me. I have (setq org-refile-targets '(("gtd.org" :regexp . "Task") ("someday.org" :level . 1) ("projects.org" :regexp . "Tasks") (nil :tag . "refile") (org-agenda-files :regexp . "Tasks") (org-agenda-files :regexp . "Appointments") (nil :maxlevel . 3))) I use IDO, but at some point tried out ivy. I seem to remember having some issues with it (I still have commented out ivy stuff in my init.org). Unfortunately I can't remember whether the problems were related to refiling :-/ Cheers, Loris -- This signature is currently under construction.