GNU bug report logs -
#6781
emacs server with X11 build on OSX
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Sep 2010 14:12:12 +0200
with message-id <AANLkTik4jNb552ny-m-7A_jf1kvfWsEBSJrc2EUFDGDN <at> mail.gmail.com>
and subject line Re: bug#6781: emacs server with X11 build on OSX
has caused the GNU bug report #6781,
regarding emacs server with X11 build on OSX
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
6781: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6781
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
(I'm Cc:ing this to bug-gnu-emacs to create a bug report.)
On Mon, Aug 2, 2010 at 17:56, Leo <sdl.web <at> gmail.com> wrote:
>> (make-network-process :name "server" :server t :family nil :service t
>> :host 'local)
> I have used the following in server-start as workaround:
>
> (make-network-process :name "server" :server t :family 'ipv4 :service t)
If ":family 'ipv4" works and ":family nil" does not, that surely means
that Emacs is chosing ipv6. Does server.el work with the attached
patch?
I don't know whether that means that your system is set up only for
ipv6, or that it has both ipv6 and ipv4 and make-network-process is
selecting ipv6 for `localhost'. In any case, server.el / emacsclient.c
are not adapted to ipv6, so forcing ipv4 seems right for the moment
being.
Juanma
=== modified file 'lisp/server.el'
--- lisp/server.el 2010-05-29 23:50:47 +0000
+++ lisp/server.el 2010-08-02 20:16:16 +0000
@@ -564,5 +564,5 @@
;; The other args depend on the kind of socket used.
(if server-use-tcp
- (list :family nil
+ (list :family 'ipv4
:service t
:host (or server-host 'local)
[Message part 3 (message/rfc822, inline)]
On Sat, Sep 25, 2010 at 05:57, YAMAMOTO Mitsuharu
<mituharu <at> math.s.chiba-u.ac.jp> wrote:
>>>>>> On Wed, 04 Aug 2010 11:25:53 -0400, Chong Yidong <cyd <at> stupidchicken.com> said:
>
>> YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
>>> I suspect there is a bug in getaddrinfo on Mac OS X 10.6.4. At
>>> least, the behavior of the following program is incompatible with
>>> that on Mac OS X 10.5.8.
>
>> Could you write a PROBLEMS entry about your discovery?
>
> I think it is more natural to specify NULL for the unspecified port
> case, and it also works as a workaround.
That is another bug. I'm closing this one.
I suggest either commiting your fix, if appropriate, or filing a new
bug report with your patch so it can be discussed.
Juanma
This bug report was last modified 14 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.