* finding a file in a different git repository
@ 2015-08-12 15:01 Josh Stratton
2015-08-12 15:14 ` Dmitry Gutov
2015-08-12 15:48 ` Thierry Volpiatto
0 siblings, 2 replies; 3+ messages in thread
From: Josh Stratton @ 2015-08-12 15:01 UTC (permalink / raw)
To: help-gnu-emacs
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.
Is there an easy way to have helm only find files in the current
repository?
Here are my installed packages.
async 20150807.... installed Asynchronous processing in Emacs
coffee-mode 20150104.3 installed Major mode to edit
CoffeeScript files in Emacs
dash 20150804.... installed A modern list library for Emacs
epl 20150517.433 installed Emacs Package Library
expand-region 20141223.... installed Increase selected region by
semantic units.
git-commit-mode 20141014.... installed Major mode for editing git
commit messages
git-gutter+ 20141002.... installed Manage Git hunks straight from
the buffer
haml-mode 20141213.920 installed Major mode for editing Haml
files
helm 20150811.307 installed Helm is an Emacs incremental
and narrowing framework
helm-core 20150811.307 installed Development files for Helm
helm-projectile 20150731.926 installed Helm integration for Projectile
pkg-info 20150517.443 installed Information about packages
projectile 20150807.620 installed Manage and navigate projects
in Emacs easily
sass-mode 20141010.... installed Major mode for editing Sass
files
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: finding a file in a different git repository
2015-08-12 15:01 finding a file in a different git repository Josh Stratton
@ 2015-08-12 15:14 ` Dmitry Gutov
2015-08-12 15:48 ` Thierry Volpiatto
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Gutov @ 2015-08-12 15:14 UTC (permalink / raw)
To: Josh Stratton, help-gnu-emacs
On 08/12/2015 06:01 PM, Josh Stratton wrote:
> Is there an easy way to have helm only find files in the current
> repository?
Just FYI, Helm has a dedicated mailing list:
https://groups.google.com/forum/?hl=en#!forum/emacs-helm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: finding a file in a different git repository
2015-08-12 15:01 finding a file in a different git repository Josh Stratton
2015-08-12 15:14 ` Dmitry Gutov
@ 2015-08-12 15:48 ` Thierry Volpiatto
1 sibling, 0 replies; 3+ messages in thread
From: Thierry Volpiatto @ 2015-08-12 15:48 UTC (permalink / raw)
To: help-gnu-emacs
Josh Stratton <strattonbrazil@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-12 15:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 15:01 finding a file in a different git repository Josh Stratton
2015-08-12 15:14 ` Dmitry Gutov
2015-08-12 15:48 ` Thierry Volpiatto
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).