Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 1999 13:25:39 -0600 (MDT)
From:      "John E. Hein" <jhein@timing.com>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        questions@freebsd.org
Subject:   Problems using send-pr with Emacs
Message-ID:  <14352.47667.735759.155866@taz.timing.com>
In-Reply-To: <19991022173603.B316@marder-1>
References:  <19991022173603.B316@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
Look in send-pr.el
The answer's in there, but basically put the following lines in
 your .emacs and restart emacs or put 'em in *scratch* and
 use eval-region or eval-buffer:

(autoload 'send-pr-mode "send-pr"
         "Major mode for sending problem reports." t)
(autoload 'send-pr "send-pr"
                 "Command to create and send a problem report." t)

Mark Ovens wrote at 17:36 +0100 on Oct 22:
 > According to send-pr(1):
 > 
 > 	"An  Emacs  user  interface  for send-pr with completion of
 >        field values is part of the send-pr distribution  (invoked
 >        with M-x send-pr).  See the file send-pr.info or the ASCII
 >        file INSTALL in the top level directory of  the  distribu-
 >        tion  for configuration and installation information.  The
 >        Emacs LISP template file is send-pr-el.in and is installed
 >        as send-pr.el."
 > 
 > I copied send-pr-el.in to /usr/local/share/emacs/20.3/lisp/mail/send-pr.el
 > and managed to compile it in emacs to produce the .elc file, but
 > ``M-x send-pr'' doesn't work.
 > 
 > Also, using Help->Find Emacs Packages and then selecting mail
 > doesn't show send-pr in the list. Looking at sendmail.el for guidance
 > I added:
 > 
 > ;;; send-pr.el --- mail bug reports to GNATS.
 > 
 > and:
 > 
 > ;; Keywords: mail 
 > 
 > to send-pr.el and re-compiled. Still not listed as a package and
 > ``M-x send-pr'' still doesn't work (it just gives ``[no match]''.
 > 
 > So, how the hell do you run send-pr in emacs (v20.3)? Do you have
 > to "register" the send-pr package or something? The emacs manual
 > isn't much help here.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14352.47667.735759.155866>