Subject: misc/1246: send-pr.el fails with new emacs 19.29
To: None <gnats-bugs@gnats.netbsd.org>
From: Rolf Grossmann <grossman@kiss.informatik.tu-muenchen.de>
List: netbsd-bugs
Date: 07/19/1995 17:01:47
>Number:         1246
>Category:       misc
>Synopsis:       send-pr.el fails with new emacs 19.29
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 19 11:50:05 1995
>Last-Modified:
>Originator:     
>Organization:
	None
>Release:        NetBSD-current
>Environment:
System: NetBSD kiss 1.0A NetBSD 1.0A (TIGKI) #30: Tue Jul 11 01:22:30 MET DST 1995 grossman@kiss:/export/netbsd/src/sys/arch/sparc/compile/TIGKI sparc


>Description:
	The latest changes to emacs 19 also break most programs that use the
	mail-default-reply-to variable. If this is set to t, it means get
	the value of the environment variable REPLYTO instead.

>How-To-Repeat:
	Run emacs 19.29 and execute send-pr.

>Fix:
	Apply this patch. And while you're at it, also apply my PR misc/1077. 
	Thanks. ;)

*** send-pr-el.in	1995/02/09 18:38:39	1.1.1.1
--- send-pr-el.in	1995/07/19 14:39:21
***************
*** 255,260 ****
--- 255,262 ----
  	(and send-pr:::err-buffer (kill-buffer send-pr:::err-buffer))
  	(kill-buffer nil)
  	(message "send-pr: no categories found"))
+     (if (eq mail-default-reply-to t)
+         (setq mail-default-reply-to (getenv "REPLYTO")))
      (and mail-default-reply-to
  	 (gnats::set-mail-field "Reply-To" mail-default-reply-to))
      (and mail-self-blind

>Audit-Trail:
>Unformatted: