From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gnuserve switches to the old Emacs window but does not open the file
Date: Fri, 09 Jun 2006 18:57:02 +0200 [thread overview]
Message-ID: <4489A85E.1060203@student.lu.se> (raw)
In-Reply-To: <000801c68bab$e5013d50$8a17548d@DellNotebook>
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.
next prev parent reply other threads:[~2006-06-09 16:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-09 10:02 gnuserve switches to the old Emacs window but does not open the file Bernhard Koenig
2006-06-09 16:57 ` Lennart Borgman [this message]
2006-06-09 20:52 ` Bernhard Koenig
2006-06-09 21:42 ` Lennart Borgman
2006-06-09 22:15 ` Bernhard Koenig
2006-06-09 22:45 ` Lennart Borgman
-- strict thread matches above, loose matches on Subject: below --
2006-06-09 22:32 Bernhard Koenig
2006-06-09 22:57 ` Lennart Borgman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4489A85E.1060203@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).