* gnus-distribution-function
@ 1996-03-10 11:08 d. hall
0 siblings, 0 replies; only message in thread
From: d. hall @ 1996-03-10 11:08 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
(defun gnus-inews-distribution ()
"Return the current Distribution header, if any."
(when (and gnus-distribution-function
(fboundp gnus-distribution-function))
(funcall gnus-distribution-function (or gnus-newsgroup-name ""))))
If you're posting from the *Group* buffer, then gnus-newsgroup-name is nil,
which is inconsistant since Gnus knows what newsgroup you're over.
Shouldn't this be parsed from the "^Newsgroups:" header since it is totally
possible to decide to switch posting in another group buffer.
d.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQCVAwUBMUK4CoX26urqpgG1AQFIIAP/ezbmfSc/Z9xH6eiAoUInNCew+SgeRxXK
klwI45N7GsO5sW+beDzhQjclObVrAk2HqW/Tcbga6+/TGK7CwmZjk/0R/tmlR8/R
jUj7lkpL9CX6DpZQezw5E2txXjLmN7YwAiICCGgkLI99zOjrOK7fCm+yfBNxs7z9
EQ7O/kE9yTQ=
=HUfI
-----END PGP SIGNATURE-----
--
``I don't know what's scarier. Losing nuclear weapons...
or it happens so often there's actually a term for it.''
~ from broken arrow
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-03-10 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-10 11:08 gnus-distribution-function d. hall
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).