If you started emacs with –Q, it shouldn’t be using your .emacs, correct?
That would seem to indicate it’s not a problem with your .emacs.  Would
think it’s a difference in your emacs installations or environment.  What
differences between the working and non-working emacs machines can you
think of?  (other than Win7 vs. Win 8).

I’m not familiar with slime, but from the traceback you show it looks like
the problem is with url-retrieve (in url.el).   (Are you behind a
firewall?  On one system but not the working one maybe?)
When I try that command (without slime) I get:
(url-retrieve "http://www.google.com"; 'print)
#<buffer  *http proxy.us.abb.com:8080*>
And ‘nil’ in the message window.  I’m not sure if that’s a good test or
test result though.

Have you tried ‘eww’ or other emacs web browser?  With eww I can get to
that url ok (and have my proxy set up to get through firewall).

Can you tell how many open files there are when you run that command
(before/during/after ideally)?  SysInternals’ ProcessExplorer might help,
but a command-line tool would be better.  Is there some way to increase the
maximum number of open files allowed?  I just remember something for that
from the old DOS days but maybe there’s a Windows registry setting that
would help.  Like ulimit but for Windows.  One site indicates max is 2048
and no mentioned way of increasing it.   (
https://support.sonatype.com/entries/27331708-The-nexus-log-file-is-full-of-too-many-open-files-exceptions-how-can-I-fix-this-
).

This page (https://github.com/tkf/emacs-jedi/issues/83) suggests a similar
problem was due to insufficient timeout value when creating an external
process from Emacs on Windows, but it looks like that may be specific to
the EPC package for Emacs or emacs-jedi.  Perhaps it could be related.

Can you run other commands in Emacs that launch external processes?   What
other commands might make use of url-retrieve or make-network-process, or
open-network-stream?

I see you’ve asked this question in a lot of places online.  If you find an
answer, I hope you add the resolution to them for others’ benefits. 

Rob


On Wed, Dec 3, 2014 at 4:40 AM, ye eugene <eugene1560...@gmail.com> wrote:

> Well,there must be something wrong with my windows-7-64.Because this
> worked on my another computer(windows 8).For some reason,I do not want to
> change my system.So I hope someone can find out what is wrong with my
> windows or emacs.
>
> 2014-12-02 22:27 GMT+08:00 Eli Zaretskii <e...@gnu.org>:
>
>> > Date: Mon, 1 Dec 2014 11:09:30 +0800
>> > From: ye eugene <eugene1560...@gmail.com>
>> >
>> > After I start emacs by "emacs -Q",then type (url-retrieve "
>> http://google.com";
>> > 'print).It shows the error:
>> > Debugger entered--Lisp error: (file-error "make client process failed"
>> "too
>> > many open files" :name "google.com" :buffer #<buffer *url-http-temp*>
>> :host
>> > "google.com" :service 80 :nowait nil)
>> > make-network-process(:name "google.com" :buffer #<buffer
>> *url-http-temp*> :host
>> > "google.com" :service 80 :nowait nil)
>> > open-network-stream("google.com" #<buffer *url-http-temp*> "google.com"
>> 80 :
>> > type plain :nowait nil)
>> > byte-code("\306\211 \n\307>\203$
>>
>> I cannot reproduce this.  Do I need to install SLIME for the error to
>> happen?  If so, where do I download it?
>>
>> Also, which version of Emacs did you use?  I tried 24.4 and the
>> current development master branch, and they both worked.
>>
>
>

Reply via email to