From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: gnuserve switches to the old Emacs window but does not open the file Date: Sat, 10 Jun 2006 00:45:39 +0200 Message-ID: <4489FA13.3030109@student.lu.se> References: <000801c68bab$e5013d50$8a17548d@DellNotebook> <4489A85E.1060203@student.lu.se> <000c01c68c06$ac8ecd10$6317548d@DellNotebook> <4489EB3A.8030200@student.lu.se> <000b01c68c12$30935620$9817548d@DellNotebook> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149893170 14934 80.91.229.2 (9 Jun 2006 22:46:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 22:46:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 10 00:46:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fopju-000199-DL for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Jun 2006 00:46:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fopjt-0002VT-U1 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2006 18:46:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fopjg-0002Uw-T5 for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:45:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fopjf-0002TM-QM for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:45:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fopjf-0002T3-IB for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:45:47 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fopro-0003t2-2M for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:54:12 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.072.1) id 44897AB800016E80; Sat, 10 Jun 2006 00:45:40 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Bernhard Koenig In-Reply-To: <000b01c68c12$30935620$9817548d@DellNotebook> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35384 Archived-At: Bernhard Koenig wrote: > > You're right, I downloaded Emacs-22 CvsP060608-EmacsW32-1.03.exe but > note that > on http://ourcomments.org/Emacs/EmacsW32.html the link reads > Emacs-22-CvsP060314-EmacsW32-1.00.exe. Hm. I will try to do something about that ... - I just don't want to change all the dates every time I upload a new version. > > Previously, I still had gnuserv in my .emacs file. Now I removed > gnuserve from .emacs and if > I type "gnuclientw filename.txt" then emacs opens but does not load > any file (now even if it's the > first file to open). Could you please try the tests below? Try the command file emacs.cmd that is written at the installation to the EmacsW32 subdirectory. To open a file you can do emacs.cmd filename.txt Try also the Send To shortcut in Windows Explorer. There should be an Emacs entry now. Try the above two tests first with Emacs not started and then with Emacs already started. Start Emacs from the Quick Launch icon then. > Starting emacs (in whichever way) now almost immediately leads to the > following message: > > "Started Emacs and tried to connect during 60 seconds. Connection > still fails. Are you sure gnuserve.exe > is started by Emacs? WSAGetLastError=10061." This means there was a timeout when gnuclient waited for gnuserv. The most likely reason is that it took long time to start Emacs. Do you have a gnuserv process in Emacs? Inside Emacs do M-x list-processes The output should look something like (possibly scrambled a bit by mail): Proc Status Buffer Command ---- ------ ------ ------- server run (none) c:/Program Files/Emacs/EmacsW32/bin/gnuserv.exe > > Maybe there is a problem with my setup, but I simply used the install > wizard until finish (and I'm really > working with the new version now). Is there anything I might have > forgotten in the setup? The setup should be fine then if you do not have something else in your setup that clashes with gnuserv. You could of course try renaming .emacs temporarily and restart Emacs to test that.