From: Josh Stratton <strattonbrazil@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: finding a file in a different git repository
Date: Wed, 12 Aug 2015 08:01:46 -0700 [thread overview]
Message-ID: <CAPVmgLiGRn142L4ofpfWX70z2DV0xK9XvM1L_PaYMdjfr-WmSw@mail.gmail.com> (raw)
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
next reply other threads:[~2015-08-12 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 15:01 Josh Stratton [this message]
2015-08-12 15:14 ` finding a file in a different git repository Dmitry Gutov
2015-08-12 15:48 ` Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPVmgLiGRn142L4ofpfWX70z2DV0xK9XvM1L_PaYMdjfr-WmSw@mail.gmail.com \
--to=strattonbrazil@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.