Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai Grossjohann <grossjoh@charly.informatik.uni-dortmund.de>
Subject: nntp-status-string vs (nntp-status-message)
Date: 11 Apr 1996 19:32:05 +0200	[thread overview]
Message-ID: <vafratu3bvu.fsf@dusty.i-have-a-misconfigured-system-so-shoot-me> (raw)


There is a comment in nntp.el which goes like this:

,-----
| (defvar nntp-status-string nil
|   "Save the server response message.
| You'd better not use this variable in NNTP front-end program but
| instead call function `nntp-status-message' to get status message.")
`-----

What I would like to do is to nntp-send-command.  If the response code
is 442 I want to do something special.  Now, (nntp-status-message)
does not return the code, it only returns the informational message
after that.  nntp-status-string has the code, but I'm not supposed to
be using it.

I do not want to rely on the special informational message 'cause that
might be changed.

What do I do then?

tia,
kai
--
There ain't no cure for the summertime blues.


             reply	other threads:[~1996-04-11 17:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-11 17:32 Kai Grossjohann [this message]
1996-04-12  3:16 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafratu3bvu.fsf@dusty.i-have-a-misconfigured-system-so-shoot-me \
    --to=grossjoh@charly.informatik.uni-dortmund.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).