all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5723: 23.1.94; make-network-process and emacs hangs
@ 2010-03-15 16:01 Leo
  2010-03-15 18:24 ` Dan Nicolaescu
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Leo @ 2010-03-15 16:01 UTC (permalink / raw)
  To: 5723

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







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

end of thread, other threads:[~2010-03-25  9:00 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 16:01 bug#5723: 23.1.94; make-network-process and emacs hangs Leo
2010-03-15 18:24 ` 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

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.