help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs, Mac OS X and opening from Shell


From: Alberto Simões
Subject: Re: Emacs, Mac OS X and opening from Shell
Date: Fri, 25 Sep 2015 18:38:39 +0100

On Fri, Sep 25, 2015 at 6:33 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > 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.
>
>
>
It seems it opens another window as well :-(

Thanks

-- 
Alberto Simões


reply via email to

[Prev in Thread] Current Thread [Next in Thread]