From eserte@cabulja.herceg.de  Thu Mar 27 09:51:32 1997
Received: from cabulja.herceg.de (cottrell.dialup.fu-berlin.de [160.45.222.107])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA02158
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 1997 09:51:27 -0800 (PST)
Received: (from eserte@localhost) by cabulja.herceg.de (8.7.5/8.7.3) id RAA02445; Thu, 27 Mar 1997 17:08:09 +0100 (MET)
Message-Id: <199703271608.RAA02445@cabulja.herceg.de>
Date: Thu, 27 Mar 1997 17:08:09 +0100 (MET)
From: eserte@cs.tu-berlin.de
Reply-To: eserte@cs.tu-berlin.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: send-pr.el doesn't work
X-Send-Pr-Version: 3.2

>Number:         3118
>Category:       gnu
>Synopsis:       send-pr.el doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 10:00:01 PST 1997
>Closed-Date:    Sun Apr 13 00:01:04 PDT 1997
>Last-Modified:  Sun Apr 13 00:01:32 PDT 1997
>Originator:     Slaven Rezic
>Release:        FreeBSD 2.2-960801-SNAP i386
>Organization:
Private FreeBSD site, Berlin, Germany
>Environment:

	No /home/gnats/... directory.
	
>Description:

	send-pr.el from /usr/src/gnu/usr.bin/send-pr does not work.

>How-To-Repeat:

	From /usr/src/gnu/usr.bin/send-pr:
		make send-pr.el
	Install send-pr.el in /usr/local/share/emacs/site-lisp
	From emacs:
		M-x load-library send-pr
		M-x send-pr

>Fix:

Since I don't have /home/gnats/gnats-adm/config installed, the
shell-command in send-pr:get-config (see below) fails. The error
message is preceeded with ".:" instead of "/bin/sh:", so the function
send-pr:get-config returns a wrong value.

======================================================================	
--- /usr/src.old/gnu/usr.bin/send-pr/send-pr-el.in	Mon Aug 29 06:02:50 1994
+++ send-pr-el.in	Thu Mar 27 16:51:23 1997
@@ -95,7 +95,7 @@
       (set-buffer buf)
       (shell-command (concat ". " gnats:root "/gnats-adm/config; echo $" var )
 		     t)
-      (if (looking-at "/bin/sh:\\|\n")
+      (if (looking-at "^\\.:\\|/bin/sh:\\|\n")
 	  (setq ret nil)
 	(setq ret (buffer-substring (point-min) (- (point-max) 1)))))
     (kill-buffer buf)

======================================================================

Slaven
>Release-Note:
>Audit-Trail:

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: eserte@cs.tu-berlin.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: gnu/3118: send-pr.el doesn't work 
Date: Thu, 27 Mar 1997 14:55:57 -0800

 > 	send-pr.el from /usr/src/gnu/usr.bin/send-pr does not work.
 
 Actually, even with this fix it does not work. :-)
 
 It attempts to deliver the mail locally to "freefall-gnats", which is
 not correct.  Heh, I didn't even know this thing *existed*, but now
 I at least know why it's not built by default. :-)
 
 					Jordan

From: Slaven Rezic <eserte@cs.tu-berlin.de>
To: jkh@time.cdrom.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: gnu/3118: send-pr.el doesn't work
Date: Fri, 28 Mar 1997 13:08:02 +0100 (MET)

 > 
 > > 	send-pr.el from /usr/src/gnu/usr.bin/send-pr does not work.
 > 
 > Actually, even with this fix it does not work. :-)
 > 
 > It attempts to deliver the mail locally to "freefall-gnats", which is
 > not correct.  Heh, I didn't even know this thing *existed*, but now
 > I at least know why it's not built by default. :-)
 
 As I read in the docs, you have to put an alias entry for
 freefall-gnats. From my /etc/aliases:
 
 	# for send-pr.el
 	freefall-gnats: FreeBSD-gnats-submit@freebsd.org
 
 Not the best way, but it works.
 
 > 
 > 					Jordan
 > 
 > 
 
 Slaven
 
 -- 
 Slaven Rezi (Tomi)          IPA: /'slavEn 'Re:ziC 'tOmIC/
   e-mail: <URL:mailto:eserte@cs.tu-berlin.de>
   WWW:    <URL:http://user.cs.tu-berlin.de/~eserte/>
   Accept-language: de;q=1, hr;q=0.97, en;q=0.9, fr;q=0.2
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Apr 13 00:01:04 PDT 1997 
State-Changed-Why:  
Fix applied, thanks! 
>Unformatted:
