* What does "merge" in ido.el mean?
@ 2013-06-15 13:10 Xue Fuqiao
2013-06-15 21:55 ` Óscar Fuentes
0 siblings, 1 reply; 3+ messages in thread
From: Xue Fuqiao @ 2013-06-15 13:10 UTC (permalink / raw)
To: help-gnu-emacs
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?
--
Best regards, Xue Fuqiao.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What does "merge" in ido.el mean?
2013-06-15 13:10 What does "merge" in ido.el mean? Xue Fuqiao
@ 2013-06-15 21:55 ` Óscar Fuentes
2013-06-16 0:12 ` Xue Fuqiao
0 siblings, 1 reply; 3+ messages in thread
From: Óscar Fuentes @ 2013-06-15 21:55 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What does "merge" in ido.el mean?
2013-06-15 21:55 ` Óscar Fuentes
@ 2013-06-16 0:12 ` Xue Fuqiao
0 siblings, 0 replies; 3+ messages in thread
From: Xue Fuqiao @ 2013-06-16 0:12 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, Jun 16, 2013 at 5:55 AM, Óscar Fuentes <ofv@wanadoo.es> wrote:
> 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?).
>
> 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.
Sounds reasonable, thank you. (Kim F. Storm has the final say, tho.)
--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-16 0:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-15 13:10 What does "merge" in ido.el mean? Xue Fuqiao
2013-06-15 21:55 ` Óscar Fuentes
2013-06-16 0:12 ` Xue Fuqiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).