all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Caldwell <david@porkrind.org>
To: Pavlos Vinieratos <pvinis@gmail.com>, emacs-devel@gnu.org
Subject: Re: Emacs.app for OSX suggestions
Date: Thu, 18 Feb 2016 19:40:26 -0800	[thread overview]
Message-ID: <1dad25fa-28ba-12cc-81c6-e4b88411d215@porkrind.org> (raw)
In-Reply-To: <CANxk36STBdUSBK_yZgnteJVm2NV4ckBP6CUM9FC4gUHWErOE=Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

On 2/18/16 1:34 PM, Pavlos Vinieratos wrote:
> ok. so right now, the app just starts 'emacs'. so no mattet what, it
> makes a new instance and always evals the init file, disregarding any
> existing daemon or already running instance.

That's not quite right. If you double click the app in Finder, it'll
launch a new instance, but then if you double click it again it'll just
activate the currently running instance.

If you initially run Emacs from the command line like this (assuming you
built a .app and put it into /Applications):

  /Applications/Emacs.app/Contents/MacOS/Emacs

…then if you double click it from Finder it'll just activate the already
running app.

If, however, you run it again from the command line, you will get
another instance.

Perhaps you are running a different binary from the command line?

-David



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3819 bytes --]

  reply	other threads:[~2016-02-19  3:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18  9:54 Emacs.app for OSX suggestions Pavlos Vinieratos
2016-02-18 19:22 ` John Wiegley
2016-02-18 21:34 ` Pavlos Vinieratos
2016-02-19  3:40   ` David Caldwell [this message]
2016-02-19  9:09 ` Pavlos Vinieratos
2016-02-19 15:17   ` Xu Xin

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=1dad25fa-28ba-12cc-81c6-e4b88411d215@porkrind.org \
    --to=david@porkrind.org \
    --cc=emacs-devel@gnu.org \
    --cc=pvinis@gmail.com \
    /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.