GNU bug report logs - #33847
27.0.50; emacsclient does not find server socket

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Sun, 23 Dec 2018 09:49:01 UTC

Severity: normal

Tags: patch

Merged with 41707

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #143 received at 33847 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: teika <at> gmx.com, Eli Zaretskii <eliz <at> gnu.org>, 33847 <at> debbugs.gnu.org,
 ulm <at> gentoo.org
Subject: Re: bug#33847: 27.0.50; emacsclient does not find server socket
Date: Fri, 23 Jul 2021 16:58:00 -0700
[Message part 1 (text/plain, inline)]
On 7/23/21 4:38 AM, Lars Ingebrigtsen wrote:
> And I've now tested on Macos, too, and emacsclient still works there.

Thanks for reminding me about that old patch. Unfortunately it uses an 
old version of the Gnulib ACL code, which means it'll miss a fix or two. 
I suggest the attached patches instead. They update Emacs to use current 
Gnulib (the first two patches) and then apply the same patch you sent, 
except with current Gnulib code.

The first two patches are something we should be doing anyway, to bring 
Emacs up-to-date on other Gnulib stuff. One thing worth putting into 
NEWS is the new --disable-year2038 option to 'configure', which may be 
useful for the next glibc release (for those people still running Emacs 
on 32-bit GNU/Linux x86 or ARM).

You probably gotta run 'make bootstrap' after installing these patches. 
Although I fixed the glitches Eli noted, the other Gnulib changes may 
need further changes to Emacs's Microsoft-related code.
[0001-Update-from-Gnulib-by-running-admin-merge-gnulib.patch (text/x-patch, attachment)]
[0002-By-hand-fixes-for-update-from-Gnulib.patch (text/x-patch, attachment)]
[0003-Redo-emacsclient-socket-symlink-attack-checking.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 226 days ago.

Previous Next


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