public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Emacs edit-pr interface...
@ 1999-12-02  9:06 Cristian Constantin
  1999-12-02 14:20 ` Rick Macdonald
  0 siblings, 1 reply; 2+ messages in thread
From: Cristian Constantin @ 1999-12-02  9:06 UTC (permalink / raw)
  To: gnats-prs, gnats-devel, bug-gnats

Hello!

I'm kind of new to GNATS... So please help me!

Why does the Emacs (lisp) interface for 'edit-pr' give me the following
message:

______________________
cd /usr/local/share/gnats/gnats-db/gnats-adm/
nquery-pr --host gnats --user anonymous --passwd guest 
nquery-pr: gnats: No such host

query-pr  exited abnormally with code 1 at Thu Dec  2 15:25:59
______________________

I've got to say that the 'normal' edit-pr works all right!

What is 'nquery-pr' and how do you configure it?? (host, passwd and so
on?..)

Thanx a lot!

Cristian

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

* Re: Emacs edit-pr interface...
  1999-12-02  9:06 Emacs edit-pr interface Cristian Constantin
@ 1999-12-02 14:20 ` Rick Macdonald
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Macdonald @ 1999-12-02 14:20 UTC (permalink / raw)
  To: Cristian Constantin; +Cc: gnats-prs, gnats-devel, bug-gnats

On Thu, 2 Dec 1999, Cristian Constantin wrote:

> Why does the Emacs (lisp) interface for 'edit-pr' give me the following
> message:
> 
> ______________________
> cd /usr/local/share/gnats/gnats-db/gnats-adm/
> nquery-pr --host gnats --user anonymous --passwd guest 
> nquery-pr: gnats: No such host
> 
> query-pr  exited abnormally with code 1 at Thu Dec  2 15:25:59
> ______________________
> 
> I've got to say that the 'normal' edit-pr works all right!
> 
> What is 'nquery-pr' and how do you configure it?? (host, passwd and so
> on?..)

nquery-pr is a batch program that talks to the gnatsd daemon across a
network. query-pr accesses gnats files directly on disk (or nfs).

These emacs variables are in gnats.el:

(defvar gnats:network-server "gnats"
  "*If non-nil, names the GNATS network server for remote queries and
editing.")

(defvar gnats:alias nil
  "*If non-nil, names the alias assigned to the GNATS database.")

(defvar gnats:userid "anonymous"
  "*Userid for accessing the GNATS network server for remote queries and
editing.")

(defvar gnats:password "guest"
  "*Password for accessing the GNATS network server for remote queries and
editing.")


If you don't have gnatsd set up, I think you would:

(setq gnats:network-server nil)

...RickM...

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

end of thread, other threads:[~1999-12-02 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-02  9:06 Emacs edit-pr interface Cristian Constantin
1999-12-02 14:20 ` Rick Macdonald

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