From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: finding a file in a different git repository Date: Wed, 12 Aug 2015 17:48:09 +0200 Organization: Emacs Helm Message-ID: <87pp2swls6.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439394524 10868 80.91.229.3 (12 Aug 2015 15:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2015 15:48:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 17:48:35 2015 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 1ZPYGZ-0002YE-06 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 17:48:35 +0200 Original-Received: from localhost ([::1]:39177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPYGY-0005xR-8L for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 11:48:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPYGN-0005wU-BI for help-gnu-emacs@gnu.org; Wed, 12 Aug 2015 11:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPYGJ-0005aN-BJ for help-gnu-emacs@gnu.org; Wed, 12 Aug 2015 11:48:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPYGJ-0005a7-45 for help-gnu-emacs@gnu.org; Wed, 12 Aug 2015 11:48:19 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZPYGH-0002Ny-VC for help-gnu-emacs@gnu.org; Wed, 12 Aug 2015 17:48:18 +0200 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2015 17:48:17 +0200 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2015 17:48:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:zAQwlSHcnhaJ7WP5yInNQnxHSYA= 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:106506 Archived-At: Josh Stratton writes: > I've installed helm to make finding files a little easier. One thing that > is still a little frustrating though is the normal open file command that > will search for the file even if I'm not in the same directory will > sometimes find a file in a different repository than I'm currently in. For > example, I'll launch emacs in repo1, hit "ctrl-x ctrl-f" and type the name > of the file. Sometimes the file it finds is in the same directory I'm > working in, but other times it's not. I've had be completely random, too, > so I assume helm (I believe helm is doing the search) isn't taking the > repository into account. I'm not even sure how it's traversing at this > point. helm is always starting in the current directory unless your cursor is on a different filename. e.g if you cursor is on "/etc" (try) helm will start in "/etc" instead of starting in current directory. I guess you have enabled helm-mode and `C-x C-f' is bound to `find-file', if you want something more sophisticated bind `C-x C-f' to `helm-find-files' and once started use `C-h m' to learn how to navigate. As mentionned by Dmitry, please use the helm mailing list for such questions (I rarely read this list). Thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997