From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qNMmNbgYC2CwcQAA0tVLHw (envelope-from ) for ; Fri, 22 Jan 2021 18:26:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qGoRMbgYC2AFCgAAbx9fmQ (envelope-from ) for ; Fri, 22 Jan 2021 18:26:00 +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 422B1940149 for ; Fri, 22 Jan 2021 18:26:00 +0000 (UTC) Received: from localhost ([::1]:53664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l318B-0008Tf-1J for larch@yhetil.org; Fri, 22 Jan 2021 13:25:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l315W-0004ep-MT for emacs-orgmode@gnu.org; Fri, 22 Jan 2021 13:23:14 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:40143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l315U-0000Hs-ED for emacs-orgmode@gnu.org; Fri, 22 Jan 2021 13:23:14 -0500 Received: by mail-pl1-x634.google.com with SMTP id q4so3763861plr.7 for ; Fri, 22 Jan 2021 10:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:references:mail-followup-to:date :in-reply-to:user-agent:mime-version; bh=IRJ8t/Y6wavnLQYVg7R1JEoS/7FM4B4RNHHPleVi/zs=; b=Ini9A1zH7SHQEtNGPRppq9bU7nXQEIy8znq17f3k3GMNIuURuaahkGC0Ys2TDW2nat 6UFLiXw0Fqx/Eu4fFYf5I4x9dxbELUEDPPFXHICcf77smG4T+AL8XkOF+mu0gpkH9s33 BeAzU1Ptz9WQ+arJQ2PKhqKITrrA7EhTwIUGzEgt2JGwKqGZ9wa5vVJk1Yco4e2SgD+U XoyoK1RLjCpvaNh7Kz1lx206XSNhmH1t/5xzAPafQK4OtQghkhTjr1UIIZztfE5cnuSf k5i9MJEdMFjX66d7muWPEo0PTg2m5PBTorvuIGtKRZwjaurmq2PypRJfsUAoUX7C8VnI 25TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:references :mail-followup-to:date:in-reply-to:user-agent:mime-version; bh=IRJ8t/Y6wavnLQYVg7R1JEoS/7FM4B4RNHHPleVi/zs=; b=S6W/lLDEmDfFa97vDYpThdpzbMDnJGZrR/0C8qFZV0pM4cOKk5xBsp3fKJGF7qgX/J c5tOQimbXF9BwyYp1AkuHZMSzDmCN4QqwPnEZkCcWAa6nskpx7dHo6xpnwDikSAaORcH Gi//JErF9v1E22U/r5smfpeo0cEtTaXhtWit/m+r7ewKUUHkIh4bIjgDzQbboI0fLaR7 KRBGjObdyBr4I+XPNEi4HUBacW9Z5Vk6AA1HQrzSOotnWE4n79B7gFEsfIhaPCpDvc+7 EwDCUtS0ZVP2QB8veb9Y53SLUsWTLY27vEQqhYiARZ2mYrWfoEjvfM8UYv0TtrKN36J6 ws0g== X-Gm-Message-State: AOAM532MCKOdg5dVKoIP4JyeJoJSqiEshXJiiKIGqHD1ohiwWlHBQVnY q2SxWcOe6+U/jFjFxlMdE76uxG6gCfSoBA== X-Google-Smtp-Source: ABdhPJz4wS+Xc2G7ZUcK/8rwt4jWhX+uUaMWGrcXoz2hjsPNShs//iG6m4oIBhHks6uOK0GUu5VsRQ== X-Received: by 2002:a17:90a:a88e:: with SMTP id h14mr6756643pjq.59.1611339790694; Fri, 22 Jan 2021 10:23:10 -0800 (PST) Received: from mb2.local ([2405:201:5c06:700a:f40e:b5f2:71ab:5a4d]) by smtp.gmail.com with ESMTPSA id q15sm9547538pgk.11.2021.01.22.10.23.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 10:23:10 -0800 (PST) From: Pankaj Jangid To: Emacs Org mode mailing list Subject: Re: org-refile and ivy Message-ID: References: <87h7n9rmxs.fsf@ucl.ac.uk> Mail-Followup-To: Emacs Org mode mailing list Date: Fri, 22 Jan 2021 23:53:07 +0530 In-Reply-To: <87h7n9rmxs.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 22 Jan 2021 15:49:51 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2607:f8b0:4864:20::634; envelope-from=pankaj@codeisgreat.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=codeisgreat-org.20150623.gappssmtp.com header.s=20150623 header.b=Ini9A1zH; 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: 422B1940149 X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: oLcy/PWampx3 Eric S Fraga writes: > 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. I use the built-in completion framework. And if the org-refile-targets is nil, it shows me the top level headings from the same file in the *Completions* buffer when I press TAB. So, in your case, it looks like an Ivy issue. > 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. My org-version is 9.4.4