From xemacs-m  Tue May 13 03:50:21 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA16330
	for <xemacs-beta@xemacs.org>; Tue, 13 May 1997 03:50:20 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id KAA25205; Tue, 13 May 1997 10:49:58 +0200 (MET DST)
To: Andy Norman <ange@hplb.hpl.hp.com>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: Gnuattach + gnuserv
References: <kigk9l4yqs1.fsf@jagor.srce.hr> <x5lo5jkbh4.fsf@cuckoo.hpl.hp.com>
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 13 May 1997 10:49:57 +0200
In-Reply-To: Andy Norman's message of 13 May 1997 09:44:23 +0100
Message-ID: <kig4tc7zrgq.fsf@jagor.srce.hr>
Lines: 34
X-Mailer: Gnus v5.4.52/XEmacs 19.15

Andy Norman <ange@hplb.hpl.hp.com> writes:

> > However, I'm still working on gnuserv.el.  But code there is very old and
> > almost unmaintainable.
> 
> The code has been around for many years (at least 8, maybe 10, I
> can't really remember) and was based on the 18.44 and 18.52 versions
> of FSF's server.el with many fixes, cleanups and extensions.
> 
> You have _my_ vote to completely re-write gnuserv as so much has
> changed in the intervening years.  Functions that I originally
> overwrote now have hooks to allow things like gnuserv to work
> correctly.  There may be other gotcha's too, along the lines of
> functions like kill-buffer now returning useful values, which they
> didn't before.

I'm very pleased with your vote.  The rewrite is nearly finished, and
it is significantly cleaner than the original.  For example, I make
use of `defstruct' and similar cl.el facilities.  The lines like this:

(callf2 delq buf (gnuclient-buffers client))

are exquisite! :-)

As for `kill-buffer', I now simply hook into kill-buffer to destroy
the things, if necessary.  I can mail you an alpha version of the
rewrite if you'd like to see it.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
WWW:  World-Wide-Waste.  Waste management corporation, which
      handles the billions of tons of garbage generated by just
      about everybody these days.

