From xemacs-m  Tue Jul 29 17:04:28 1997
Received: from greatdane.webnexus.com (greatdane.webnexus.com [165.227.96.3])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA03676
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 17:04:27 -0500 (CDT)
Received: from apprentice.silicon-sorcery.com (apprentice.silicon-sorcery.com [205.179.145.161])
	by greatdane.webnexus.com (8.8.5/8.8.5/WN-1.2) with ESMTP id PAA00998
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 15:04:29 -0700 (PDT)
Received: (from mac@localhost) by apprentice.silicon-sorcery.com (8.7.5/8.7.3) id PAA21341; Tue, 29 Jul 1997 15:04:29 -0700 (PDT)
Date: Tue, 29 Jul 1997 15:04:29 -0700 (PDT)
Message-Id: <199707292204.PAA21341@apprentice.silicon-sorcery.com>
From: <mac@silicon-sorcery.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: query-pr buffer, what is it for?
In-Reply-To: <199707292007.NAA00904@seer.silicon-sorcery.com>
References: <199707292007.NAA00904@seer.silicon-sorcery.com>
X-Mailer: VM 6.33 under 20.3 "Vienna" XEmacs  Lucid (beta14)
Reply-To: mac@silicon-sorcery.com
X-Face:  h&j3qWe;+!`nKY~1T%IspQ[^}[s#|*2T68-NmG<hqK)^/6IlKy[e$tI,N'{!_v&R_m*f#8O
 au_+w3/b!3pF$H/]J(Q6Z)*:&Jy/.OGPM?7*<kyi}r/3Pf3hd[(J+%lmXp/;0e-EY_s2Dy{M|t


mac@silicon-sorcery.com writes:
 > I get a *query-pr* which buffer looks real nice, and claims ...

 > Does anyone own this? If not I can take a look see what is broken;
 > however I plan to wear rubber gloves so I don't obtain any
 > ownership...:-)


OK, one problem is fixed by the following patch. Basically, if not on
a network, the (if gnats:network-server .. returned a nil, which
start-process then attempts to use as argument to pr-edit, and rightly
complains.

--- /a/build/xemacs-20.3-b14/lisp/gnats/gnats.el	Wed Apr 23 20:59:44 1997
+++ gnats.el	Tue Jul 29 14:54:28 1997
@@ -1019,8 +1019,10 @@
 				 "%s/gnats/npr-edit"
 			       "%s/gnats/pr-edit")
 			     gnats:libdir)
-		     (if gnats:network-server (format  "--host=%s" gnats:network-server))
-		     args
+		     (if gnats:network-server 
+			(concat (format  "--host=%s" gnats:network-server) args)
+		       args
+		       )
 		     ))
 
 	;; Only set up the sentinel if they want stuff done in the background.

