From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Lindner Newsgroups: gmane.emacs.help Subject: ido mode flex matching Date: Fri, 01 Aug 2014 15:57:59 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1406901530 7494 80.91.229.3 (1 Aug 2014 13:58:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2014 13:58:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 15:58:44 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XDDM3-0003Wp-RV for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2014 15:58:43 +0200 Original-Received: from localhost ([::1]:39354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDDM3-0001Ti-Hi for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2014 09:58:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDDLj-0001SK-F8 for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 09:58:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDDLc-00077F-0A for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 09:58:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDDLb-00075X-Pn for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 09:58:15 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XDDLY-0002q9-B4 for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 15:58:12 +0200 Original-Received: from lapsgs09.informatik.uni-stuttgart.de ([129.69.213.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 15:58:12 +0200 Original-Received: from mailinglists by lapsgs09.informatik.uni-stuttgart.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 15:58:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lapsgs09.informatik.uni-stuttgart.de User-Agent: KNode/4.13.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99045 Archived-At: 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