GNU bug report logs - #44472
27.1; emacsclient 27.1 unable to properly start & connect to emacs server via: emacsclient -a '' -c

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Al G <alg@HIDDEN>; Keywords: moreinfo; dated Thu, 5 Nov 2020 20:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 44472 <at> debbugs.gnu.org:


Received: (at 44472) by debbugs.gnu.org; 6 Nov 2020 05:10:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 06 00:10:40 2020
Received: from localhost ([127.0.0.1]:54702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kau1I-0001NO-5t
	for submit <at> debbugs.gnu.org; Fri, 06 Nov 2020 00:10:40 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40470)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kau1G-0001NA-2e
 for 44472 <at> debbugs.gnu.org; Fri, 06 Nov 2020 00:10:38 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46026)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kau1A-0000Mx-92; Fri, 06 Nov 2020 00:10:32 -0500
Received: from [176.228.60.248] (port=3829 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kau19-0004FP-Om; Fri, 06 Nov 2020 00:10:32 -0500
Date: Fri, 06 Nov 2020 07:10:30 +0200
Message-Id: <83a6vv9ik9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Al G <alg@HIDDEN>
In-Reply-To: <ovka6vv7elf.fsf@HIDDEN> (message from Al G on Thu, 05
 Nov 2020 15:06:52 -0500)
Subject: Re: bug#44472: 27.1;
 emacsclient 27.1 unable to properly start & connect to emacs server
 via: emacsclient -a '' -c
References: <ovka6vv7elf.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 44472
Cc: 44472 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Al G <alg@HIDDEN>
> Date: Thu, 05 Nov 2020 15:06:52 -0500
> 
> 
> =============================================================================
> [Start of bug report]
> In emacs 27.1, the command:
>    emacsclient -a '' -c  & 
> 
> Doesn't anymore start emacs as a daemon server.

Not on Cygwin, it seems.  This appears to be a Cygwin-specific
problem.

> This is critical, because many people use emacsclient in this manner
> to optionally start the server if it doesn't exist, and simply
> connect to it if it's already running. Please fix this, or at least
> backout the changes that broke emacsclient.

I believe this was recently fixed for the upcoming Emacs 27.2.  If you
can build the latest emacs-27 branch of the Emacs Git repository, I
think you will see that the problem is gone.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44472; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Nov 2020 20:17:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 05 15:17:23 2020
Received: from localhost ([127.0.0.1]:54241 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kalhD-0005DS-AG
	for submit <at> debbugs.gnu.org; Thu, 05 Nov 2020 15:17:23 -0500
Received: from lists.gnu.org ([209.51.188.17]:46612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alg@HIDDEN>) id 1kalXD-0004ye-JQ
 for submit <at> debbugs.gnu.org; Thu, 05 Nov 2020 15:07:04 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38016)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alg@HIDDEN>) id 1kalXD-00007y-FP
 for bug-gnu-emacs@HIDDEN; Thu, 05 Nov 2020 15:07:03 -0500
Received: from mailbackend.panix.com ([166.84.1.89]:18205)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alg@HIDDEN>) id 1kalX4-0004lM-RD
 for bug-gnu-emacs@HIDDEN; Thu, 05 Nov 2020 15:07:00 -0500
Received: from panix1.panix.com (panix1.panix.com [166.84.1.1])
 by mailbackend.panix.com (Postfix) with ESMTP id 4CRvgJ3YVVzMZy
 for <bug-gnu-emacs@HIDDEN>; Thu,  5 Nov 2020 15:06:52 -0500 (EST)
Received: by panix1.panix.com (Postfix, from userid 14415)
 id 4CRvgJ2LtJzcbh; Thu,  5 Nov 2020 15:06:52 -0500 (EST)
From: Al G <alg@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.1;
 emacsclient 27.1 unable to properly start & connect to emacs server
 via: emacsclient -a '' -c 
Date: Thu, 05 Nov 2020 15:06:52 -0500
Message-ID: <ovka6vv7elf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=166.84.1.89; envelope-from=alg@HIDDEN;
 helo=mailbackend.panix.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 15:06:52
X-ACL-Warn: Detected OS   = FreeBSD 9.x or newer [fuzzy]
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 05 Nov 2020 15:17:22 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)


=============================================================================
[Start of bug report]
In emacs 27.1, the command:
   emacsclient -a '' -c  & 

Doesn't anymore start emacs as a daemon server. This is critical,
because many people use emacsclient in this manner to optionally start
the server if it doesn't exist, and simply connect to it if it's already
running. Please fix this, or at least backout the changes that broke
emacsclient.

CYG:[alg@agwindog:1:~]
$ pgrep -l -f emacs

CYG:[alg@agwindog:1:~]
$ emacsclient -a '' -c  &
[1] 2028

CYG:[alg@agwindog:1:~]
$ emacsclient: can't find socket; have you started the server?
emacsclient: To start the server in Emacs, type "M-x server-start".
Loading /home/alg/.emacs.d/lisp/etags-select.el (source)...
Loading /home/alg/.emacs.d/lisp/etags-select.el (source)...done
Loading font-lock...
Loading font-lock...done
Starting Emacs daemon.


^C

CYG:[alg@agwindog:1:~]
$ pgrep -l -f emacs
2030 emacs-w32
2029 emacs-w32
2028 emacsclient


[End of bug report]
=============================================================================


In GNU Emacs 27.1 (build 1, x86_64-pc-cygwin)
 of 2020-10-29 built on moufang2
Repository revision: 14432a33511ec750815c6f3b188f2c0d21b4cb22
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 6.3.9600
Recent messages:
Loading /home/alg/.emacs.d/lisp/etags-select.el (source)...done
Loading font-lock...done
For information about GNU Emacs and the GNU system, type C-x h C-a.
next-line: End of buffer
Sending...
Save this mail sending choice? (y or n) n
Sending...done

Configured using:
 'configure
 --srcdir=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/src/emacs-27.1
 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
 --docdir=/usr/share/doc/emacs --htmldir=/usr/share/doc/emacs/html -C
 --with-w32 'CFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
 --param=ssp-buffer-size=4
 -fdebug-prefix-map=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/build=/usr/src/debug/emacs-27.1-2
 -fdebug-prefix-map=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/src/emacs-27.1=/usr/src/debug/emacs-27.1-2'
 CPPFLAGS= LDFLAGS='

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GLIB NOTIFY GFILENOTIFY ACL GNUTLS
LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS XIM MODULES THREADS JSON
PDUMPER LCMS2 GMP

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader mailclient mail-parse rfc2231 sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date paren
etags-select advice etags fileloop generator xref project ring time
wheatgrass-theme edmacro kmacro finder-inf info package easymenu
browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer 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 composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
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 threads dbusbind
gfilenotify w32 lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 74907 12011)
 (symbols 48 9176 1)
 (strings 32 27119 2052)
 (string-bytes 1 849402)
 (vectors 16 15232)
 (vector-slots 8 192159 10678)
 (floats 8 35 38)
 (intervals 56 268 0)
 (buffers 1000 12))




Acknowledgement sent to Al G <alg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#44472; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 9 Nov 2020 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.