all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29883: Emacs server not detected in Mac OS High Sierra
@ 2017-12-28 23:04 Artemio González López
  2017-12-29 22:12 ` Alan Third
  2018-01-03  7:27 ` Tak Kunihiro
  0 siblings, 2 replies; 9+ messages in thread
From: Artemio González López @ 2017-12-28 23:04 UTC (permalink / raw)
  To: 29883

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).

In GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
 of 2017-09-12 built on builder10-9.local
Windowing system distributor 'Apple', version 10.3.1561
Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: en_US@currency=EUR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  TeX-PDF-mode: t
  TeX-source-correlate-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:


</body>
</html>
"
Mark set [2 times]
(No changes need to be saved)

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr mail-utils sgml-mode browse-url
find-dired semantic/fw mode-local find-func grep dired-aux thingatpt
etags xref cl-seq project eieio eieio-core preview prv-emacs reftex-dcr
reftex-auc reftex reftex-vars bib-cite noutline outline texmathp
flyspell ispell tex-bar toolbar-x font-latex plain-tex tex-buf latex
tex-ispell tex-style tex crm advice tex-mode compile shell pcomplete
comint ansi-color ring latexenc dired paren delsel cus-start cus-load
edmacro kmacro tabbar cl-macs easy-mmode session cl exec-path-from-shell
finder-inf info tex-site package epg-config seq byte-opt gv bytecomp
byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib
server time-date mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 487290 45697)
 (symbols 48 31265 0)
 (miscs 40 170 1083)
 (strings 32 54115 16658)
 (string-bytes 1 1816127)
 (vectors 16 50700)
 (vector-slots 8 1560700 162051)
 (floats 8 320 758)
 (intervals 56 49471 1837)
 (buffers 976 33))

Artemio González López
artemiogl@telefonica.net








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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2017-12-28 23:04 bug#29883: Emacs server not detected in Mac OS High Sierra Artemio González López
@ 2017-12-29 22:12 ` Alan Third
       [not found]   ` <D875EABB-1F3F-435A-B914-D64EAD60D0C0@telefonica.net>
  2018-01-03  7:27 ` Tak Kunihiro
  1 sibling, 1 reply; 9+ messages in thread
From: Alan Third @ 2017-12-29 22:12 UTC (permalink / raw)
  To: Artemio González López; +Cc: 29883

On Fri, Dec 29, 2017 at 12:04:41AM +0100, Artemio González López wrote:
> 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).

Hi, thanks for the report.

I’m not on 10.13 yet, so I can’t test this. Is it only .tex files that
don’t work?

When double clicking a file it should open in an existing Emacs
instance even without a server process.

Do you have more than one Emacs.app installed? Is it possible you need
to re‐associate .tex files with the correct Emacs? (Get Info ‐> Open With)
-- 
Alan Third





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

* bug#29883: Emacs server not detected in Mac OS High Sierra
       [not found]   ` <D875EABB-1F3F-435A-B914-D64EAD60D0C0@telefonica.net>
@ 2018-01-01 15:02     ` Alan Third
  0 siblings, 0 replies; 9+ messages in thread
From: Alan Third @ 2018-01-01 15:02 UTC (permalink / raw)
  To: Artemio González López; +Cc: 29883

On Sun, Dec 31, 2017 at 01:55:42AM +0100, Artemio González López wrote:
> 
> > On Dec 29, 2017, at 11:12 PM, Alan Third <alan@idiocy.org> wrote:
> > 
> > On Fri, Dec 29, 2017 at 12:04:41AM +0100, Artemio González López wrote:
> >> 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).
> > 
> > Hi, thanks for the report.
> > 
> > I’m not on 10.13 yet, so I can’t test this. Is it only .tex files that
> > don’t work?
> > 
> > When double clicking a file it should open in an existing Emacs
> > instance even without a server process.
> > 
> > Do you have more than one Emacs.app installed? Is it possible you need
> > to re‐associate .tex files with the correct Emacs? (Get Info ‐> Open With)
> 
> Dear Alan,
> 
> Thanks for your reply. First of all, I have checked that I don’t
> have other Emacs.app’s installed in my computer. Secondly, I’ve
> already tried reassociating my .tex file with Emacs.app, to no
> avail. Thirdly, the problem occurs with all types of files, not just
> .tex ones. In fact, even if I drag the file icon to Emacs.app’s icon
> in the dock, a second instance is launched. The only way to avoid
> this that I know of is to drag the file’s icon over an open Emacs
> window, which is very inconvenient. From what I’ve heard (see, e.g.,
> https://emacs.stackexchange.com/questions/37164/run-only-one-instance-of-emacs-on-macos)
> this problem is specific of 10.13 (it did not occur in 10.12) and
> Emacs for Mac OS X. It would be nice if somebody having access to
> 10.13 looked at it, because it’s quite annoying (in my case, when
> the second instance of Emacs.app is opened it complains of an
> existing server, etc.).

Thanks for letting us know, and please keep the bug tracker cc’d in so
other people can see your responses (and hopefully help out).
-- 
Alan Third





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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2017-12-28 23:04 bug#29883: Emacs server not detected in Mac OS High Sierra Artemio González López
  2017-12-29 22:12 ` Alan Third
@ 2018-01-03  7:27 ` Tak Kunihiro
  2018-01-03 14:24   ` Artemio González López
  1 sibling, 1 reply; 9+ messages in thread
From: Tak Kunihiro @ 2018-01-03  7:27 UTC (permalink / raw)
  To: Artemio González López; +Cc: 29883

Artemio González López <artemiogl@telefonica.net> 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.





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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2018-01-03  7:27 ` Tak Kunihiro
@ 2018-01-03 14:24   ` Artemio González López
  2018-01-03 15:21     ` Alan Third
  0 siblings, 1 reply; 9+ messages in thread
From: Artemio González López @ 2018-01-03 14:24 UTC (permalink / raw)
  To: Tak Kunihiro; +Cc: 29883

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



> On Jan 3, 2018, at 8:27 AM, Tak Kunihiro <homeros.misasa@gmail.com> wrote:
> 
> Artemio González López <artemiogl@telefonica.net> 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.

Dear Tak,

Thanks a lot for your message. First of all, I am positive that I only have a copy of Emacs in my system, and “Open with …” is configured properly (it points to this Emacs, for example, for .tex files). I think you are not seeing this because our Emacs are different (although both are 25.3.1). Indeed, yours is

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

whereas mine is

GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
of 2017-09-12 built on builder10-9.local
Windowing system distributor 'Apple', version 10.3.1561
Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

(see my bug report). In fact, my Emacs is the stable 25.3 version downloaded from the Emacs fo Mac OS X page (emacsformacosx.com <http://emacsformacox.com/>). As I said in my previous message, other users of this version are also reporting the same problem I’m having. How did you get your Emacs? Did you build it yourself? Could you tell me how you did it (what configuration options we used, for instance), so that I could try it myself?

Thanks again,

Artemio

Artemio González López
artemiogl@telefonica.net




[-- Attachment #2: Type: text/html, Size: 3637 bytes --]

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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2018-01-03 14:24   ` Artemio González López
@ 2018-01-03 15:21     ` Alan Third
  2018-01-03 23:03       ` Tak Kunihiro
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Third @ 2018-01-03 15:21 UTC (permalink / raw)
  To: Artemio González López
  Cc: 29883, Tak Kunihiro, david+emacsformacosx

On Wed, Jan 03, 2018 at 03:24:15PM +0100, Artemio González López wrote:
> In fact, my Emacs is the stable 25.3 version downloaded from the
> Emacs fo Mac OS X page (emacsformacosx.com
> <http://emacsformacox.com/>). As I said in my previous message,
> other users of this version are also reporting the same problem I’m
> having.

My memory of this is that the emacsformacosx.com version uses a ruby
script to select the correct executable.


David, I hope it’s OK to Cc you into this. Some background info:

    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29883

Neither Tak nor I can replicate the issue. I’m on Sierra, Tak’s on
High Sierra, but we both built our own Emacs.
-- 
Alan Third





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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2018-01-03 15:21     ` Alan Third
@ 2018-01-03 23:03       ` Tak Kunihiro
  2018-01-04  0:00         ` Artemio González López
  0 siblings, 1 reply; 9+ messages in thread
From: Tak Kunihiro @ 2018-01-03 23:03 UTC (permalink / raw)
  To: Alan Third
  Cc: Artemio González López, Tak Kunihiro,
	david+emacsformacosx, 29883

> On Wed, Jan 03, 2018 at 03:24:15PM +0100, Artemio González López wrote:
>> In fact, my Emacs is the stable 25.3 version downloaded from the
>> Emacs fo Mac OS X page (emacsformacosx.com
>> <http://emacsformacox.com/>). As I said in my previous message,
>> other users of this version are also reporting the same problem I’m
>> having.
>
> My memory of this is that the emacsformacosx.com version uses a ruby
> script to select the correct executable.
>
> Neither Tak nor I can replicate the issue. I’m on Sierra, Tak’s on
> High Sierra, but we both built our own Emacs.

I reproduced this with 25.3.1 of emacsformacosx.com version on macOS
10.13.2 (High Sierra).

  GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
   of 2017-09-13
  
  System Software Overview:
    System Version:	macOS 10.13.2 (17C88)

Artemio, why don't you try to build Emacs.app by `brew'?

  https://www.gnu.org/software/emacs/download.html#macos





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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2018-01-03 23:03       ` Tak Kunihiro
@ 2018-01-04  0:00         ` Artemio González López
  2020-08-10 15:11           ` Stefan Kangas
  0 siblings, 1 reply; 9+ messages in thread
From: Artemio González López @ 2018-01-04  0:00 UTC (permalink / raw)
  To: Tak Kunihiro; +Cc: 29883, Alan Third, david+emacsformacosx

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


> On Jan 4, 2018, at 12:03 AM, Tak Kunihiro <homeros.misasa@gmail.com> wrote:
> 
>> On Wed, Jan 03, 2018 at 03:24:15PM +0100, Artemio González López wrote:
>>> In fact, my Emacs is the stable 25.3 version downloaded from the
>>> Emacs fo Mac OS X page (emacsformacosx.com
>>> <http://emacsformacox.com/>). As I said in my previous message,
>>> other users of this version are also reporting the same problem I’m
>>> having.
>> 
>> My memory of this is that the emacsformacosx.com version uses a ruby
>> script to select the correct executable.
>> 
>> Neither Tak nor I can replicate the issue. I’m on Sierra, Tak’s on
>> High Sierra, but we both built our own Emacs.
> 
> I reproduced this with 25.3.1 of emacsformacosx.com version on macOS
> 10.13.2 (High Sierra).
> 
>  GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
>   of 2017-09-13
> 
>  System Software Overview:
>    System Version:	macOS 10.13.2 (17C88)
> 
> Artemio, why don't you try to build Emacs.app by `brew'?
> 
>  https://www.gnu.org/software/emacs/download.html#macos <https://www.gnu.org/software/emacs/download.html#macos>

Thanks a lot for the suggestion, Tak! I just installed Emacs 25.3.1 with MacPorts [GNU Emacs 25.3.1 (x86_64-apple-darwin17.2.0, NS appkit-1561.10 Version 10.13.1 (Build 17B48)) of 2017-11-18], and it works like a charm!

Thanks again,

Artemio


Artemio González López
artemiogl@telefonica.net




[-- Attachment #2: Type: text/html, Size: 2791 bytes --]

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

* bug#29883: Emacs server not detected in Mac OS High Sierra
  2018-01-04  0:00         ` Artemio González López
@ 2020-08-10 15:11           ` Stefan Kangas
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Kangas @ 2020-08-10 15:11 UTC (permalink / raw)
  To: Artemio González López
  Cc: Tak Kunihiro, 29883-done, david+emacsformacosx, Alan Third

Artemio González López <artemiogl@telefonica.net> writes:

>  Artemio, why don't you try to build Emacs.app by `brew'?
>
>   https://www.gnu.org/software/emacs/download.html#macos
>
> Thanks a lot for the suggestion, Tak! I just installed Emacs 25.3.1 with MacPorts [GNU Emacs 25.3.1 (x86_64-apple-darwin17.2.0, NS
> appkit-1561.10 Version 10.13.1 (Build 17B48)) of 2017-11-18], and it works like a charm!

From reading this bug report, it seems like this issue was specific to
emacsformacosx.  I'm therefore closing this bug report.

If this conclusion is incorrect, please reply to this email (use "Reply
to all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas





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

end of thread, other threads:[~2020-08-10 15:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28 23:04 bug#29883: Emacs server not detected in Mac OS High Sierra Artemio González López
2017-12-29 22:12 ` Alan Third
     [not found]   ` <D875EABB-1F3F-435A-B914-D64EAD60D0C0@telefonica.net>
2018-01-01 15:02     ` Alan Third
2018-01-03  7:27 ` Tak Kunihiro
2018-01-03 14:24   ` Artemio González López
2018-01-03 15:21     ` Alan Third
2018-01-03 23:03       ` Tak Kunihiro
2018-01-04  0:00         ` Artemio González López
2020-08-10 15:11           ` Stefan Kangas

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.