From: Samuel Wales <samologist@gmail.com>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Refile is not using IDO
Date: Wed, 17 Feb 2016 13:23:20 -0700 [thread overview]
Message-ID: <CAJcAo8sNjQ+vz2YCTzjAW7QbuEWcKtj1Q3pD2we0bHQ5=-NV-g@mail.gmail.com> (raw)
In-Reply-To: <87fuxbe5v1.fsf@gmail.com>
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 <spinuvit@gmail.com> 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.
prev parent reply other threads:[~2016-02-17 20:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 10:58 Refile is not using IDO Vitalie Spinu
2016-02-02 11:04 ` Vitalie Spinu
2016-02-02 16:41 ` Nicolas Goaziou
2016-02-02 17:55 ` Vitalie Spinu
2016-02-02 21:36 ` Nicolas Goaziou
2016-02-17 20:05 ` Vitalie Spinu
2016-02-17 20:23 ` Samuel Wales [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJcAo8sNjQ+vz2YCTzjAW7QbuEWcKtj1Q3pD2we0bHQ5=-NV-g@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=spinuvit@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.