emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Refile is not using IDO


From: Samuel Wales
Subject: Re: [O] Refile is not using IDO
Date: Wed, 17 Feb 2016 13:23:20 -0700

not an answer but an fyi:

in maint, i use ido-hacks with ido, and the org settings seem to be
irrelevant. it works.

there is also one more thing:

i do find it necessary to remove the confusing parentheses from the
outline paths.
they seem to be unnecessary and actually arbitrary. they might even
depend on whether the path is in the current buffer or not, or
somehting equally irrelevant.

it's possible that they interact with an org setting for supplying
information in parens, but inconsistently. so i find that it is better
to remove them.

here is the patch. i am not signed up with fsf, so i don't know if a
tinychange would work or not.

    === alpha remove the parens from ido completion of olpaths

        Modified   lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 39d4029..7c497f6 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12050,7 +12050,7 @@ this is used for the GOTO interface."
         (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)) ")")




On 2/2/16, Vitalie Spinu <address@hidden> wrote:
>
> Hi,
>
> I cannot get IDO working with refile anymore. The following change seem to
> be
> relevant:
>
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]