all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs, Mac OS X and opening from Shell
@ 2015-09-25 14:47 Alberto Simões
  2015-09-25 17:33 ` Eli Zaretskii
  2015-09-25 18:42 ` Chunyang Xu
  0 siblings, 2 replies; 8+ messages in thread
From: Alberto Simões @ 2015-09-25 14:47 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Emacs users,

I've been an Emacs user for some decades, but never a really emacs hacker.
In the latest months I've been using Sublime for Mac, but I am missing
emacs a lot.

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?

Thank you,
Alberto

-- 
Alberto Simões


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

end of thread, other threads:[~2015-09-28 11:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 14:47 Emacs, Mac OS X and opening from Shell Alberto Simões
2015-09-25 17:33 ` Eli Zaretskii
2015-09-25 17:38   ` Alberto Simões
2015-09-25 18:31     ` Eli Zaretskii
2015-09-25 18:41       ` Alberto Simões
2015-09-28 11:32         ` Alan Schmitt
2015-09-25 18:42 ` Chunyang Xu
2015-09-25 18:44   ` Alberto Simões

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.