public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Emacs interface problem
@ 2004-04-16  2:12 Randy Haddox
  2004-04-19  1:52 ` Hans-Albert Schneider
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Haddox @ 2004-04-16  2:12 UTC (permalink / raw)
  To: help-gnats

Hi,

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".  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.  It correctly interacts
with the DB and e-mails accordingly.


I'd appreciate help with this problem.

Thanks,
Randy





_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs interface problem
  2004-04-16  2:12 Emacs interface problem Randy Haddox
@ 2004-04-19  1:52 ` Hans-Albert Schneider
  2004-04-19 18:28   ` Randy Haddox
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Albert Schneider @ 2004-04-19  1:52 UTC (permalink / raw)
  To: Randy Haddox, help-gnats

-----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: Hans-Albert@HA-Schneider.de
-----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-----


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs interface problem
  2004-04-19  1:52 ` Hans-Albert Schneider
@ 2004-04-19 18:28   ` Randy Haddox
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Haddox @ 2004-04-19 18:28 UTC (permalink / raw)
  To: Hans-Albert Schneider; +Cc: help-gnats

After adding the following lines to my .emacs file and issuing the
command 'M-x send-pr', EMACS displays the message "Couldn't retrieve
server info":

;; Enable GNATS interface
(autoload 'send-pr "gnats" "GNU GNATS 4.0" t)
(autoload 'gnats-dbconfig-mode "gnats" "GNU GNATS 4.0" t)
(setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))



The message "Wrong typr argument: processp, nil" is displayed when the
command 'M-x gnats-apply-or-submit' is given.  


Thanks.



> 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. 
> 

> to this function, this would mean that either the keymap does not get 
> installed, or it is being modified.




_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-19 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16  2:12 Emacs interface problem Randy Haddox
2004-04-19  1:52 ` Hans-Albert Schneider
2004-04-19 18:28   ` Randy Haddox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).