Subject: bug#29883: Emacs server not detected in Mac OS High Sierra

From: Tak Kunihiro <[email-masked]>
Date: Wed, 03 Jan 2018 16:27:16 +0900

Artemio González López <[email-masked]> writes:

> When a .tex file is opened in Emacs 25.3.1 under macOS 10.13.2 High
> Sierra by double-clicking on it always launches a second instance of
> Emacs, even if a server process is already running (launched by a
> “(server-start)” line at the beginning of my .emacs file). This
> problem did not occur in the previous system (macOS 10.12 Sierra).

I cannot reproduce this on macOS 10.13.2 High Sierra.

 GNU Emacs 25.3.1 (x86_64-apple-darwin17.2.0, NS appkit-1561.10 Version
 10.13.1 (Build 17B1003)) of 2017-12-19
 
 Emacs -Q
 M-: (server-start)
 double-click `foo.tex' on Finder
 File `foo.tex' is opened with pre-existing process

You may have two Emacs.app in your system.  Make sure if `Open with:'
via `Get Info' on Finder is configured properly.