unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Reuse frame with emacsclient and/or use shell aliases when finding files
@ 2014-05-30 21:56 Jacob Gerlach
  2014-05-30 22:13 ` Thorsten Jolitz
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Jacob Gerlach @ 2014-05-30 21:56 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-06-06 11:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 21:56 Reuse frame with emacsclient and/or use shell aliases when finding files Jacob Gerlach
2014-05-30 22:13 ` 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

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).