From xemacs-m  Mon Feb 24 13:51:31 1997
Received: from palrel1.hp.com (palrel1.hp.com [15.253.72.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA16715
	for <xemacs-beta@xemacs.org>; Mon, 24 Feb 1997 13:51:30 -0600 (CST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.62.116]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id IAA07764; Mon, 24 Feb 1997 08:54:15 -0800 (PST)
Received: (from ange@localhost) by cuckoo.hpl.hp.com (8.7.1/8.7.1) id QAA23492; Mon, 24 Feb 1997 16:54:13 GMT
Sender: ange@cuckoo.hpl.hp.com
To: Adrian Aichner <aichner@ecf.teradyne.com>
Cc: Neal Becker <neal@ctd.comsat.com>, xemacs-beta@xemacs.org
Subject: Re: efs gpass question
References: <u9bu9gk1n2.fsf@neal.ctd.comsat.com>
	<x5ohdfhjqv.fsf@cuckoo.hpl.hp.com>
	<u9ybcjiql8.fsf@neal.ctd.comsat.com>
	<x5afoz7ezq.fsf@cuckoo.hpl.hp.com>
	<rxsafougt4f.fsf@midnight.ecf.teradyne.com>
From: Andy Norman <ange@hplb.hpl.hp.com>
Date: 24 Feb 1997 16:54:13 +0000
In-Reply-To: Adrian Aichner's message of 24 Feb 1997 15:45:36 +0100
Message-ID: <x5bu9a87re.fsf@cuckoo.hpl.hp.com>
Lines: 24
X-Mailer: Gnus v5.2.37/XEmacs 19.14

Adrian Aichner <aichner@ecf.teradyne.com> writes:

> The free variable `proc' must be replaced with
> (efs-get-process host user)
> to make the example work in my site-start.el.

Yes, leaving dynamically bound variables for hook functions is a little yukky.

> I would also like to suggest to replace
>   (if (string-equal user "anonymous")
> with
>   (if (or (string-equal user "anonymous") (string-equal user "ftp"))
> as "ftp" is a frequently used synonym for `anonymous'.

How about:

  (if (efs-anonymous-p user)
     ...

?
--
						-- ange -- <><

http://www-uk.hpl.hp.com/people/ange		ange@hplb.hpl.hp.com

