all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 5723@debbugs.gnu.org
Subject: bug#5723: 23.1.94; make-network-process and emacs hangs
Date: Mon, 15 Mar 2010 16:01:20 +0000	[thread overview]
Message-ID: <m1sk81mv5b.fsf@cam.ac.uk> (raw)

The source code of make-network-process (around line 3648 in process.c)
seems to suggest that this function is blocking and my experience can
confirm the case.

When there's no network connection, make-network-process returns in a
short duration. Where it become nasty is in a network where certain
ports are blocked, for example, in my uni's wireless network, the irc
port is blocked and if I accidentally run M-x irc then emacs hangs for
hours.

Could this be improved i.e. by wrapping it in with-local-quit?

Thanks.


In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25)
 of 2010-03-14 on Victoria.local
Windowing system distributor `Apple Inc.', version 10.6.2
configured using `configure  '--prefix=/usr/local/unix/emacs' '--with-mac' 'CFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t







             reply	other threads:[~2010-03-15 16:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 16:01 Leo [this message]
2010-03-15 18:24 ` bug#5723: 23.1.94; make-network-process and emacs hangs Dan Nicolaescu
2010-03-15 19:22 ` Stefan Monnier
2010-03-15 22:49   ` Helmut Eller
2010-03-16  0:45     ` YAMAMOTO Mitsuharu
2010-03-17 12:01       ` Leo
2010-03-18  1:57         ` YAMAMOTO Mitsuharu
2010-03-18  7:43           ` Helmut Eller
2010-03-18  9:06             ` YAMAMOTO Mitsuharu
2010-03-19  1:47               ` YAMAMOTO Mitsuharu
2010-03-19  6:41                 ` Helmut Eller
2010-03-19 10:21                   ` YAMAMOTO Mitsuharu
2010-03-19 13:29                     ` Stefan Monnier
2010-03-20  0:30                       ` YAMAMOTO Mitsuharu
2010-03-20 12:34                     ` Leo
2010-03-24 22:00                     ` Chong Yidong
2010-03-24 23:31                       ` YAMAMOTO Mitsuharu
2010-03-25  1:25                         ` Chong Yidong
2010-03-18  9:58           ` Leo
2010-03-18  2:20         ` YAMAMOTO Mitsuharu
2010-03-18 10:00           ` Leo
2010-03-18 10:37             ` YAMAMOTO Mitsuharu
2010-03-18 10:47               ` Leo
2010-03-18 11:01                 ` YAMAMOTO Mitsuharu
2010-03-17 11:53   ` Leo
2010-03-25  9:00 ` bug#5723: (no subject) YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1sk81mv5b.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=5723@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.