From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: A package in a league of its own: Helm Date: Fri, 29 Aug 2014 20:03:31 +0200 Message-ID: <87iolb5g24.fsf@wanadoo.es> References: <787f8d86-dede-4627-b4e5-3658a1833455@googlegroups.com> <73520ac0-9fc0-42ce-8a15-cc400b6f8308@googlegroups.com> <672a0d66-bc48-4b7a-9279-c7d631a03f79@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409335462 27489 80.91.229.3 (29 Aug 2014 18:04:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 18:04:22 +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 29 20:04:13 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 1XNQWz-0003Ne-K6 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 20:04:13 +0200 Original-Received: from localhost ([::1]:43557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNQWz-0002o1-8N for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 14:04:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNQWh-0002jj-6v for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 14:04:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNQWZ-0008CB-O3 for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 14:03:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNQWZ-0008Bt-Ip for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 14:03:47 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XNQWX-0002xC-70 for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 20:03:45 +0200 Original-Received: from 18.red-83-41-63.dynamicip.rima-tde.net ([83.41.63.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Aug 2014 20:03:45 +0200 Original-Received: from ofv by 18.red-83-41-63.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Aug 2014 20:03:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 18.red-83-41-63.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:K25U+PaTrvhnUaLRzlCpDekvdWU= 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:99521 Archived-At: solidius4747@gmail.com writes: > Consider this path: arch/x86/boot/main.c > > Can you type the file name first: "main.c", then add "x86" to get the > correct file above? I'm pretty sure ido+flx can't do that, but maybe > I'm missing something. > > With Helm, you can simply specify "mai x86" and it narrows to 3 > candidates with the above path at the top. The file is in Linux kernel > source. > > Maybe you misunderstood my statement about precise remembering project > structure. What I meant was you have to remember the correct path > ordering, and that requires you to be familiar with the directory > structure. Whlie in Helm, I'm completely new to a directory and simply > know nothing about directory structure. With Helm, I can start pop up > questions like "is there a main.c that is relate to x86 arch?" and so > on. 99.9% of the time I work on projects that I worked on previously and hence I know its structure. Knowing the *precise* structure is not really required as you can type just the part that is characteristic enough (the ordering matters, though, as you mentioned.) Having a method that minimizes the amount of text that I have to write is very convenient. For your query about the existence of a main.c file for the x86 arch, I would type "x86main.c". The answer should be evident by just looking at the first match. (Acually, "xmac" should be enough if you are willing to look beyond the first match.) I get your point about incrementally refining the query and I realize that it can be more convenient than flx for certain uses (such as when exploring a large set of previously unknown candidates.) It's only that the flx way is more convenient on my case, where I always work on a semi-known set of candidates.