From xemacs-m  Wed Apr  9 05:05:10 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id FAA10265
	for <xemacs-beta@xemacs.org>; Wed, 9 Apr 1997 05:05:06 -0500 (CDT)
From: vroonhof@math.ethz.ch
Received: from riesz.math.ethz.ch (vroonhof@riesz [129.132.145.81]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id MAA16264; Wed, 9 Apr 1997 12:00:38 +0200
Received: (vroonhof@localhost) by riesz.math.ethz.ch (8.6.12/D-MATH-client) id LAA15539; Wed, 9 Apr 1997 11:59:43 +0200
Message-Id: <199704090959.LAA15539@riesz.math.ethz.ch>
Subject: Re: gnuserv
To: jumper@lens.sri.com (Greg Jumper)
Date: Wed, 9 Apr 1997 11:59:42 +0200 (MET DST)
Cc: xemacs-beta@xemacs.org, retnuh@corona.com (Hunter Kelly)
In-Reply-To: <199704081553.IAA00423@lens.sri.com> from "Greg Jumper" at Apr 8, 97 08:53:07 am
X-Mailer: ELM [version 2.4 PL24 PGP2]
Content-Type: text

> I take it you are now the keeper of gnuserv?

No, I am not (I think). I am not even in the contributors list in
"About XEmacs".
My name is last in the changes list because my patches
to sync with server.el/FSF Emacs 19.34 were integrated last. Hunter
Kelly made major changes to the 19.15 version but for some reason
din't update the contents at the top of the file. I have cc'ed him.

I think it is best to send any patches to Steven baur direct for lack
of any clear maintainer.

> How receptive are you and others to the idea of providing for a
> command-line switch to use gnuclient to visit a file read-only?

I think as long as it is reasonable and you can supply patches you'll
find there is a fairly high chance the will be integrated. That's just
what I did. I just found it a pity that gnuserver.el was not as
sophisticated as sever.el so I made the patched an mailed it to Steve,
and it was included.. (OK, I had to whine a bit about it on the
xemca-beta list but that was just because Steve was very busy getting
close to the releasse and because the wait was for Hunter's changes).

> 
> Or, a merged gnuclient/gnudoit which could evaluate forms *and* visit files.

This would be very nice to have. After all gnuclient is just gnudoit
with some logic to discover a workable path to the file.

> Rather than go that far, I have made a minor change to my gnuclient.c to
> support a "-w" flag (since "-r" is already taken...).  If this flag is set,
> gnuclient invokes either "server-view-files" or "server-view-files-quickly",
> rather than the usual "server-edit-files" or "server-edit-files-quickly".
> These new functions do the obvious things.

If the obvious thing is to "view" the file, then may I suggest the
flag be "-v". It would it nice if you could make sure it also worked
with the gnuattach version.

(Then we could do a: alias less 'gnuattach -v'  :-))

> I don't like the idea of having to maintain separate modifications to XEmacs,
> so let me know if there is any interest in the changes I've made or in
> supporting the read-only functionality through an alternate means...

Just submit the patch to Steve .

Jan

P.S. It just occured to me that it is not nice that a utility stating
with 'gnu' does not take GNU-style long options... So if you have more
time to kill...:-)

-- 
Jan Vroonhof                    http://www.math.ethz.ch/~vroonhof/
Mathematik,                                  vroonhof@math.ethz.ch
HG E16, ETH-Zentrum,                      Tel: +41-1-6325456/25154
Raemistrasse 101, CH-8092 Zuerich.              Fax: +41-1-6321085

