[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does "merge" in ido.el mean?
From: |
Óscar Fuentes |
Subject: |
Re: What does "merge" in ido.el mean? |
Date: |
Sat, 15 Jun 2013 23:55:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Xue Fuqiao <xfq.free@gmail.com> writes:
> I'm reading ido.el, and I have a small question.
>
> I saw the word (or term) "merge" in in `ido-ignore-directories-merge',
> `ido-merge-ftp-work-directories',
> `ido-auto-merge-work-directories-length', and some other
> symbols/docstrings.
>
> I don't know what this term means here (what does it merge?). I want
> to read the sources in detial but don't know where to start. And I
> have also searched "emacs ido merge" and "ftp merge" on web but
> there's nothing promising. Can anyone point me in the right
> direction?
It seems that this feature is almost undocumented. My understanding
comes from the docstring of ido-find-file, which contains:
\\[ido-merge-work-directories] search for file in the work directory history.
My guess is that when you input a string it is used for searching for a
file on the current directory *and* on the directories contained in the
"work directory history" (whatever that means) and the candidates coming
from all those directories are merged into a single list which is what
the user sees.
HTH