From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bernhard Koenig" 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:32:55 +0200 Message-ID: <001901c68c14$d2d0ed60$9817548d@DellNotebook> Reply-To: Bernhard Koenig NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1817518933==" X-Trace: sea.gmane.org 1149892471 13050 80.91.229.2 (9 Jun 2006 22:34:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 22:34:31 +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:34:28 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 1FopYh-0007of-6H for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Jun 2006 00:34:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FopYg-0000Hm-KR for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2006 18:34:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FopYQ-0000H9-K6 for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:34:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FopYP-0000Gx-W5 for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:34:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FopYP-0000Gu-Sj for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:34:09 -0400 Original-Received: from [129.187.254.102] (helo=mailrelay2.lrz-muenchen.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FopgY-0003DR-1g for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 18:42:34 -0400 Original-Received: from DellNotebook ([141.84.23.152] [141.84.23.152]) by mailout.lrz-muenchen.de; Sat, 10 Jun 2006 00:34:07 +0200 Original-To: "Lennart Borgman" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 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:35382 Archived-At: This is a multi-part message in MIME format. --===============1817518933== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C68C25.6A325580" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C68C25.6A325580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ----- Original Message -----=20 From: Bernhard Koenig=20 To: Lennart Borgman=20 Cc: help-gnu-emacs@gnu.org=20 Sent: Saturday, June 10, 2006 12:15 AM Subject: Re: gnuserve switches to the old Emacs window but does not = open the file ----- Original Message -----=20 From: Lennart Borgman=20 To: Bernhard Koenig=20 Cc: help-gnu-emacs@gnu.org=20 Sent: Friday, June 09, 2006 11:42 PM Subject: Re: gnuserve switches to the old Emacs window but does not = open the file Bernhard Koenig wrote: > ----- Original Message ----- > > *From:* Lennart Borgman = > > Bernhard Koenig wrote: > > The problem shows up sometimes but not all the times, I = couldn't > quite > > figure out when it does and when not. E.g. if I click two = files > with > > gnuclientw > > in a very short interval, then it usually works. The longer = the > > interval, the more > > likely the problem occurs. > There are several gnuserve packages. Please use the latest = from > EmacsW32 > (http://ourcomments.org/Emacs/EmacsW32.html) or Guy > Gascoigne-Piggford > website. > > There is a name clash between the package server.el and = gnuserv.el in > the old packages. > > I downloaded the whole package=20 > Emacs-22-CvsP060314-EmacsW32-1.00.exe from your link above. > But the problem seems to be the same. The problem happens if I = open a=20 > file with gnuclientw, > then e.g. browse through directories for a while, then open = another=20 > file with gnuclientw and > the old emacs windows pops up but does not load the second file. > The new thing with this version is that after closing the emacs=20 > window, I get the message: > =20 > unable to read the reply from the server > WSAGetLastError=3D10054 > It doesn't seem to be a firewall problem though since I also tried = it=20 > with the firewall switched off. > =20 Strange, I have never seen this. But did you remove everything about = gnuserv from your startup files (.emacs etc)? If you use the = EmacsW32=20 setup then this starts Emacs and gnuserv automatically for you when = you=20 click a file for example. If you have not removed everything about=20 gnuserv, could you please try that? (I guess you downloaded Emacs-22 CvsP060608-EmacsW32-1.03.exe?) 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. 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). 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=3D10061." 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? I just realized that I should use "gnuclientw -sqf" instead of = "gnuclientw -F" (which I used). So forget about the 10061-error. Now if I use "gnuclientw -sqf filename.txt" then we are = back at the old problem. emacs opens one window but upon further use of "gnuclientw -sqf = filename.txt", the windows pops up but does not load the file. Error again "Unable to reply from the server = =3D 10054". ------=_NextPart_000_0013_01C68C25.6A325580 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
----- Original Message -----
From:=20 Bernhard Koenig
To: Lennart Borgman =
Sent: Saturday, June 10, 2006 = 12:15=20 AM
Subject: Re: gnuserve switches = to the old=20 Emacs window but does not open the file

 
----- Original Message -----
From:=20 Lennart = Borgman
Sent: Friday, June 09, 2006 = 11:42=20 PM
Subject: Re: gnuserve = switches to the=20 old Emacs window but does not open the file

Bernhard Koenig wrote:
> ----- Original Message=20 -----
>
>     *From:* Lennart = Borgman <mailto:lennart.borgman.= 073@student.lu.se>
>
>    =20 Bernhard Koenig wrote:
>     > The = problem=20 shows up sometimes but not all the times, I=20 couldn't
>    =20 quite
>     > figure out when it does = and when=20 not. E.g. if I click two files
>    =20 with
>     >=20 gnuclientw
>     > in a very short = interval,=20 then it usually works. The longer = the
>     >=20 interval, the more
>     > likely the = problem=20 occurs.
>     There are several gnuserve = packages.=20 Please use the latest from
>    =20 EmacsW32
>     (http://ourcomments.or= g/Emacs/EmacsW32.html)=20 or Guy
>    =20 Gascoigne-Piggford
>    =20 website.
>
>     There is a name = clash=20 between the package server.el and gnuserv.el=20 in
>     the old packages.
>
> = I=20 downloaded the whole package
> = Emacs-22-CvsP060314-EmacsW32-1.00.exe=20 from your link above.
> But the problem seems to be the same. = The=20 problem happens if I open a
> file with gnuclientw,
> = then e.g.=20 browse through directories for a while, then open another
> = file with=20 gnuclientw and
> the old emacs windows pops up but does not = load the=20 second file.
> The new thing with this version is that after = closing=20 the emacs
> window, I get the message:

> = unable=20 to read the reply from the server
> = WSAGetLastError=3D10054
> It=20 doesn't seem to be a firewall problem though since I also tried it =
>=20 with the firewall switched off.

Strange, I have = never seen=20 this. But did you remove everything about
gnuserv from your = startup=20 files (.emacs etc)? If you use the EmacsW32
setup then this = starts Emacs=20 and gnuserv automatically for you when you
click a file for = example. If=20 you have not removed everything about
gnuserv, could you please = try=20 that?

(I guess you downloaded Emacs-22=20 CvsP060608-EmacsW32-1.03.exe?)
 
You're right, I downloaded Emacs-22 = CvsP060608-EmacsW32-1.03.exe but note=20 that
on http://ourcomments.or= g/Emacs/EmacsW32.html the=20 link reads Emacs-22-CvsP060314-EmacsW32-1.00.exe.
 
Previously, I still had gnuserv in my = .emacs=20 file. Now I removed gnuserve from .emacs and if
I type "gnuclientw filename.txt" then = emacs opens=20 but does not load any file (now even if it's the
first file to open).
Starting emacs (in whichever = way) now almost=20 immediately leads to the following message:
 
"Started Emacs and tried to connect = during 60=20 seconds. Connection still fails. Are you sure = gnuserve.exe
is started by Emacs?=20 WSAGetLastError=3D10061."
 
Maybe there is a problem with my = setup, but I=20 simply used the install wizard until finish (and I'm = really
working with the new version = now). Is there=20 anything I might have forgotten in = the=20 setup?
 
I just realized that I should = use=20 "gnuclientw -sqf" instead of "gnuclientw -F" (which I used). So forget=20 about
the 10061-error. Now if I use = "gnuclientw=20 -sqf filename.txt" then we are back at the old problem.
emacs opens one window but = upon further use=20 of "gnuclientw -sqf filename.txt", the windows pops up
but does not load the file. = Error again=20 "Unable to reply from the server =3D 10054".
 
------=_NextPart_000_0013_01C68C25.6A325580-- --===============1817518933== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1817518933==--