From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Bug: org-refile-get-target offers default candidate in duplicity [9.2.6 (9.2.6-4-ge30905-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20191007/)] Date: Thu, 13 Feb 2020 12:44:59 -0700 Message-ID: References: <87lftw1k2n.fsf@gmail.com> <875zgb7520.fsf@gnu.org> <87sgjfgsoy.fsf@gmail.com> <87a75nexqy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54216) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2KQA-0007hN-C3 for emacs-orgmode@gnu.org; Thu, 13 Feb 2020 14:45:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2KQ8-0003Gk-1l for emacs-orgmode@gnu.org; Thu, 13 Feb 2020 14:45:10 -0500 In-Reply-To: <87a75nexqy.fsf@gnu.org> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org, Gustavo Barros dunno if this is useful (probably not), but i found the following was necessary to fix ido. i didn't really understand it, but it fixed it. Date: 2014-05-19 19:57:44 -0700 === remove the parens from ido completion of olpaths Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 69a288add..b2d8ec755 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11942,7 +11942,7 @@ this function appends the default value from (tbl (mapcar (lambda (x) (if (and (not (member org-refile-use-outline-path - '(file full-file-path))) + '(nil file full-file-path))) (not (equal filename (nth 1 x)))) (cons (concat (car x) extra " (" (file-name-nondirectory (nth 1 x)) ")") -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html