* ido mode flex matching
@ 2014-08-01 13:57 Florian Lindner
2014-08-01 18:11 ` Óscar Fuentes
0 siblings, 1 reply; 3+ messages in thread
From: Florian Lindner @ 2014-08-01 13:57 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I have ido enabled like that:
(ido-mode t)
(ido-everywhere 1)
(setq ido-enable-flex-matching t)
(setq ido-file-extensions-order '(".tex"))
Now given the case I have two files named basecouplingscheme.cpp and
basecouplingscheme.hpp. I want to open the latter.
I enter "bashpp" which filters to just these two files. But the cpp file is
still the first in order. Yes, it finds all the letters
BAScouplingsHeme.cPP. But for me the hpp file should be the stronger match,
since ido can find two groups (BAS and HPP) which match, not three groups
(BAS, H and PP).
First question: Do you get my problem? ;-)
Second question: Can I set ido like that?
Disable flex matching is not the way to go, I really love that
functionality.
Best Regards,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ido mode flex matching
[not found] <mailman.6416.1406901511.1147.help-gnu-emacs@gnu.org>
@ 2014-08-01 14:17 ` Emanuel Berg
0 siblings, 0 replies; 3+ messages in thread
From: Emanuel Berg @ 2014-08-01 14:17 UTC (permalink / raw)
To: help-gnu-emacs
Florian Lindner <mailinglists@xgm.de> writes:
> First question: Do you get my problem? ;-)
Yes. An alternative solution to configuring ido is:
1. Short filenames that are easy and fast to type.
2. Different directories for different file types.
3. Type, type, and type.
And: Shortcuts to jump between the most frequently used
files.
--
underground experts united
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ido mode flex matching
2014-08-01 13:57 Florian Lindner
@ 2014-08-01 18:11 ` Óscar Fuentes
0 siblings, 0 replies; 3+ messages in thread
From: Óscar Fuentes @ 2014-08-01 18:11 UTC (permalink / raw)
To: help-gnu-emacs
Florian Lindner <mailinglists@xgm.de> writes:
[snip]
> First question: Do you get my problem? ;-)
> Second question: Can I set ido like that?
> Disable flex matching is not the way to go, I really love that
> functionality.
Try this:
https://github.com/lewang/flx
It is much better than flex and should do what you want.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-01 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6416.1406901511.1147.help-gnu-emacs@gnu.org>
2014-08-01 14:17 ` ido mode flex matching Emanuel Berg
2014-08-01 13:57 Florian Lindner
2014-08-01 18:11 ` Óscar Fuentes
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.