all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jacob Gerlach <jacobgerlach@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Reuse frame with emacsclient and/or use shell aliases when finding files
Date: Fri, 30 May 2014 14:56:33 -0700 (PDT)	[thread overview]
Message-ID: <06de416b-9d9d-4e86-bc41-f6b9a06404f4@googlegroups.com> (raw)

I'm trying to better integrate my workflow in emacs. I've read a lot
about using emacs server, and experimented a little bit with setting
it up. If I open files with emacsclient, I end up with multiple
separate frames (I think I mean frame and not window. I've never been
positive I correctly understand the terminology). Although the frames
are connected through the server, I miss some of the navigation
functionality I get when I have multiple windows in a frame
(other-window, kill-buffer-and-window, etc).

What I think that I want to do is figure out how to reuse an existing
GUI frame if it exists. In other words, if I run `emacsclient -c
foofile' from my shell and I already have a frame open, I would like
foofile to open in that frame (and have the option to split the frame
if possible). If no frame is open (i.e. just the server), I would 
like the normal behavior of opening a new frame.

I realize that another (perhaps better option) is to use emacs as my
shell. I'm experimenting with this but I am not sold yet.

Another problem, and the reason I'm opening multiple files from the
shell in the first place (instead of from within emacs), is that I
mostly navigate around between different projects using shell aliases.
Is there any way to use those aliases so that when I find-file I don't
have to manually navigate to the desired directory?

Any other recommendations that come to mind to migrate work from the
shell to emacs are welcome.


             reply	other threads:[~2014-05-30 21:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 21:56 Jacob Gerlach [this message]
2014-05-30 22:13 ` Reuse frame with emacsclient and/or use shell aliases when finding files Thorsten Jolitz
2014-05-30 22:47 ` Robert Thorpe
     [not found] ` <mailman.2576.1401490089.1147.help-gnu-emacs@gnu.org>
2014-05-31  1:57   ` Jacob Gerlach
2014-05-31 11:21     ` Thien-Thi Nguyen
2014-05-31 11:22     ` Robert Thorpe
     [not found]     ` <mailman.2614.1401535376.1147.help-gnu-emacs@gnu.org>
2014-05-31 14:16       ` Jacob Gerlach
2014-05-31 15:49         ` Robert Thorpe
2014-05-31 11:41 ` Thorsten Jolitz
2014-05-31 13:39   ` Robert Thorpe
2014-05-31 15:54     ` Thorsten Jolitz
2014-06-01 23:42 ` lee
     [not found] ` <mailman.2724.1401666174.1147.help-gnu-emacs@gnu.org>
2014-06-02  1:10   ` Jacob Gerlach
     [not found] ` <mailman.2618.1401536506.1147.help-gnu-emacs@gnu.org>
2014-06-06  8:35   ` Hans BKK
2014-06-06 11:31 ` Alexander Baier

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=06de416b-9d9d-4e86-bc41-f6b9a06404f4@googlegroups.com \
    --to=jacobgerlach@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.