unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthias Rempe <mhrempe@web.de>
Subject: Re: My gnuServer notes on Win2000
Date: 10 Aug 2003 15:05:54 +0200	[thread overview]
Message-ID: <uadahd5n1.fsf@rempe-online.de> (raw)
In-Reply-To: x%qZa.154977$XV.8229192@twister.austin.rr.com

>>>>> "HM" == Herb Martin <news@LearnQuick.com> 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
;; <cristian.ionescu-idbohrn@axis.com>
(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

  reply	other threads:[~2003-08-10 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10 12:36 My gnuServer notes on Win2000 Herb Martin
2003-08-10 13:05 ` Matthias Rempe [this message]
2003-08-10 13:53   ` Herb Martin
2003-08-12 21:08 ` kgold
2003-08-13  1:04   ` Herb Martin

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=uadahd5n1.fsf@rempe-online.de \
    --to=mhrempe@web.de \
    --cc=mrempe@rempe-online.de \
    /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).