unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to use the gnuserv for GNU emacs for windows?
@ 2003-06-10  2:42 wangyu
  2003-06-10  3:47 ` Peter Lee
  2003-06-10 11:16 ` Rob Thorpe
  0 siblings, 2 replies; 6+ messages in thread
From: wangyu @ 2003-06-10  2:42 UTC (permalink / raw)


The emacs I am using is the GNU Emacs for windows. I added the following
into the .emacs file to start the gnuserv:
;; start gnuserv on Windows
(if (or (eq window-system 'w32) (eq window-system 'win32)) ;.span
class=compcode>Windows NT/95
    (progn
      (require 'gnuserv)
      (setq server-done-function 'bury-buffer
      gnuserv-frame (car (frame-list)))
      (gnuserv-start)
      ;;; open buffer in existing frame instead of creating new one...
      (setq gnuserv-frame (selected-frame))
      (message "gnuserv started.")))

Then I copied the four files of gnu into the same path as the emacs
executable file and add the path to the environment variable PATH.
Finally, I associated some file extension to gnuclientw.
However, when I double click the file, the emacs said:
 An error has occurred while loading `c:/.emacs':
File error: "Cannot open load file", "gnuserv"

What's the problem?
thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: How to use the gnuserv for GNU emacs for windows?
@ 2003-06-10 10:33 andrew.maguire
  0 siblings, 0 replies; 6+ messages in thread
From: andrew.maguire @ 2003-06-10 10:33 UTC (permalink / raw)
  Cc: wangyu02

> >>>> wangyu  writes:
> 
>     wangyu> Then I copied the four files of gnu into the same path as
>     wangyu> the emacs executable file and add the path to the
>     wangyu> environment variable PATH.  Finally, I associated some
>     wangyu> file extension to gnuclientw.  However, when I double
>     wangyu> click the file, the emacs said: An error has occurred
>     wangyu> while loading `c:/.emacs': File error: "Cannot open load
>     wangyu> file", "gnuserv"

gnuserv also comes with a file, gnuserv.el. This needs to be placed in a
'site-lisp'
directory.
Look at the Emacs variable load-path for the places where Emacs looks for
.el files.

Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-10 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10  2:42 How to use the gnuserv for GNU emacs for windows? wangyu
2003-06-10  3:47 ` Peter Lee
2003-06-10  9:25   ` wangyu
2003-06-10  9:32     ` lawrence mitchell
2003-06-10 11:16 ` Rob Thorpe
  -- strict thread matches above, loose matches on Subject: below --
2003-06-10 10:33 andrew.maguire

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).