From owner-freebsd-questions Fri Oct 22 12:25:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from timingpdc.timing.com (timingpdc.timing.com [206.168.13.194]) by hub.freebsd.org (Postfix) with ESMTP id 8025314ECA for ; Fri, 22 Oct 1999 12:25:41 -0700 (PDT) (envelope-from jhein@timing.com) Received: from taz.timing.com ([206.168.13.210]) by timingpdc.timing.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 103-49575U100L2S100) with ESMTP id AAA302; Fri, 22 Oct 1999 13:26:14 -0600 Received: (from jhein@localhost) by taz.timing.com (8.8.7/8.8.7) id NAA24692; Fri, 22 Oct 1999 13:25:39 -0600 X-Authentication-Warning: taz.timing.com: jhein set sender to jhein@taz.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14352.47667.735759.155866@taz.timing.com> Date: Fri, 22 Oct 1999 13:25:39 -0600 (MDT) From: "John E. Hein" To: Mark Ovens Cc: questions@freebsd.org Subject: Problems using send-pr with Emacs In-Reply-To: <19991022173603.B316@marder-1> References: <19991022173603.B316@marder-1> X-Mailer: VM 6.75 under Emacs 20.4.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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