From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Rempe Newsgroups: gmane.emacs.help Subject: Re: My gnuServer notes on Win2000 Date: 10 Aug 2003 15:05:54 +0200 Organization: test Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Matthias Rempe NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060521459 22771 80.91.224.253 (10 Aug 2003 13:17:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2003 13:17:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 10 15:17:37 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19lq4n-00012Y-00 for ; Sun, 10 Aug 2003 15:17:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19lq2c-0003zl-HD for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Aug 2003 09:15:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd904619b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: pd904619b.dip.t-dialin.net (217.4.97.155) Original-X-Trace: news.uni-berlin.de 1060520727 31528638 217.4.97.155 (16 [82224]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:115778 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11697 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11697 >>>>> "HM" == Herb Martin writes: > I have trouble getting gnuServ gnuClient (gnuClientW) to work > (I'm new to Emacs) but this is what I found. > I put all the gnu* executables on my path but that didn't help, > so I shoved them into the emacs\bin directory and found/wrote > some code to make it work without having to add THAT to the > path.... hmm, I have the executables in emacs\bin, too, however, I've added emacs\bin to the Windows PATH variable. As far as I remember, there are different versions of gnuclient (my works with mailslots, the other with ports?). I use "gnuclient 1.7 (27 Feb 1997)", "gnuserv 1.5 (27 Feb 1997)", and "gnudoit 1.3 (27 Feb 1997)". > I needed this snippet of code (for .emacs file): I've nearly the same snippet, I think I got it from a post by Charles Curley: ;; --------------------------------------------------------------------------- ;; Start GNUServ ;; --------------------------------------------------------------------------- ;; comments from C. Curley ;; start gnuserv stuff. Put it up front so you don't get into a timeout ;; problem, according to Cristian Ionescu-Idbohrn ;; (if (memq window-system '(win32 w32)) ; Windows NT/95 (progn (require 'gnuserv) (gnuserv-start) ;;; open buffer in existing frame instead of creating new one... (setq gnuserv-frame (selected-frame)) (message "gnuserv started."))) ;; --------------------------------------------------------------------------- In my site-lisp directory, I have gnuserv.el: (defconst gnuserv-rcs-header-id "$Header: gnuserv.el,v 2.1a 98/10/03 14:28:00 saurian $") I then associated files in Explorer with gnuclientw, e.g.: txt -> open: gnuclientw.exe "%1" Doubleclicking on a txt file then opens it in Emacs. -- Matthias