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: Fri, 09 Jun 2006 18:57:02 +0200 Message-ID: <4489A85E.1060203@student.lu.se> References: <000801c68bab$e5013d50$8a17548d@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 1149872276 32680 80.91.229.2 (9 Jun 2006 16:57:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 16:57:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 09 18:57:54 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 1FokIa-0002zb-LC for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2006 18:57:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FokIa-0003B7-7n for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2006 12:57:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FokIN-00035Y-0c for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 12:57:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FokIL-00032o-Si for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 12:57:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FokIL-00032K-NJ for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 12:57:13 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FokQQ-0002j8-RQ for help-gnu-emacs@gnu.org; Fri, 09 Jun 2006 13:05:35 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.072.1) id 44892B960003E4A9; Fri, 9 Jun 2006 18:57:03 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Bernhard Koenig In-Reply-To: <000801c68bab$e5013d50$8a17548d@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:35377 Archived-At: Bernhard Koenig wrote: > I'm using a Windows machine with Emacs 22.0.50.1. > I also installed the gnuserve package and it seems to be correctly > installed, > my .emacs contains > > (require 'gnuserv) > (setq gnuserv-frame (car (frame-list))) > (gnuserv-start) > > (defadvice server-find-file (around ignore-percent-one (file) activate) > (if (or (not (string= "%1" (file-name-nondirectory file))) > (file-exists-p file)) > ad-do-it)) > > At times, when I use the command "gnuclientw -F filename.txt" this > will only > switch to the old emacs window but NOT open the file "filename.txt". Once > this happened, I cannot pass any more files to this old window but have to > close it. Closing then produces a beep on my machine, while usually > emacs does not > beep when exiting. In the message box, the line "Server subprocess exited" > appears sometimes, which seems to be related to this problem. > > 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.