Re: Emacs interface problem

Hans-Albert Schneider <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----

Hi Randy,

> When I Enter 'send-pr' from the command line, EMACS auto-loads the
> PR template and I can edit and send the PR just fine.  However,
> most documentation indicates that I should be able to use run it
> from within EMACS by 'M-x send-pr' but I get the message "No
> Match".

Sounds like gnats.el is not loaded.

Try 'M-x eval-expression' which should prompt you for the expression 
to evaluate. Type
	(require 'gnats)
(Note the single quote.)

If this works, add lines like this to your ~/.emacs or 
~/.xemacs/custom.el (or whatever initialization file your emacs 
uses):

(autoload 'send-pr "gnats" "GNU GNATS 4.0" t)
(autoload 'gnats-dbconfig-mode "gnats" "GNU GNATS 4.0" t)

If it does not work, also add

(setq load-path
	(cons "/usr/local/share/emacs/site-lisp"	;; or whereever gnats.el is
		load-path))

to that (X)Emacs init file.

>  Also 'C-c C-c' doesn't work either.  Right now, I send the
> report by exiting EMACS, saving it and typing "s" to send the
> report. 

Does 'M-x gnats-apply-or-submit' work? As '^C-c ^C-c' should be bound 
to this function, this would mean that either the keymap does not get 
installed, or it is being modified.


Hope this helps,

Hans-Albert

PS: Please reply to the list, as I am not too (X)Emacs-savvy, and I'm 
expecting to be very busy during the week.

- -- 
Hans-Albert Schneider
Munich, Germany
EMail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQEVAwUBQILXUr5/YryrhGWVAQH1xQgAkYU3jrdtc+Mxqvi7H9QEiB0tjAhv/sDt
eW/Vk4SCcOdqRpwhF6LDuHAH44N9mIWZN5PAJnp60BFaO3PbeCUoQy0aZ8pESF/0
AucyqneTUB+yOFbl/7xyNJ/KY5vJO/DHonONuEJ5wvIc4LM2ZTWyltAKi+ze9bcz
5v8HWhohdoOE+Mnh/npjxM/+Z3pEaH+z1j05ukSKoG+QP8J6ghuujazauMU4XL0z
yiSk6yRLKv7a7nkS23SzYpP243mtD7WhGqFSYeqGg8Kp0pj/3Iow0N+lI/2ocAwc
cAFslIGH9LyDcBWx5CGTslL+PvbF0KzZm1gKesp3fj7ILkXH00gxdA==
=Xomt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.