[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs, Mac OS X and opening from Shell
From: |
Eli Zaretskii |
Subject: |
Re: Emacs, Mac OS X and opening from Shell |
Date: |
Fri, 25 Sep 2015 20:33:36 +0300 |
> Date: Fri, 25 Sep 2015 15:47:35 +0100
> From: Alberto Simões <hashashin@gmail.com>
>
> So, in the come back, I am trying to make the emacs command to open an
> emacs window, if one is open, or opening a new buffer in the current window
> (and focus that buffer if possible).
>
> Currently, my emacs command line is a shell script that looks like this:
>
> /Applications/Emacs.app/Contents/MacOS/Emacs "$@" &
>
> This, of course, open a new window (although I usually close it, as the
> buffers are shared among windows).
>
> Any idea how I can make it behave as I described earlier?
Make it invoke emacsclient instead.
Re: Emacs, Mac OS X and opening from Shell, Chunyang Xu, 2015/09/25