From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: X-post and/or fu2
Date: Mon, 01 Nov 2004 15:11:10 +0100 [thread overview]
Message-ID: <v9oeihy801.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <plop87k6t5ol7d.fsf@gnu-rox.org>
On Mon, Nov 01 2004, Xavier Maillard wrote:
> I often do C-c C-f x to X-post and fu2 on different group. I
> currently use several NNTP server and for the life of me don't
> know why I can't expand the newsgroup name without having to add
> the method in front of it.
The following patch adds all (not only nntp groups) to the completion
list. I'm not sure if this is a good idea, though. Could you please
test and report back.
--8<---------------cut here---------------start------------->8---
--- message.el 18 Oct 2004 15:09:59 +0200 6.392.2.14
+++ message.el 01 Nov 2004 14:48:22 +0100
@@ -1881,8 +1881,11 @@
(interactive
(list ; Completion based on Gnus
(completing-read "Followup To: "
- (if (boundp 'gnus-newsrc-alist)
- gnus-newsrc-alist)
+ (and (boundp 'gnus-newsrc-alist)
+ (fboundp 'gnus-group-real-name)
+ (mapcar (lambda (el)
+ (gnus-group-real-name (car el)))
+ gnus-newsrc-alist))
nil nil '("poster" . 0)
(if (boundp 'gnus-group-history)
'gnus-group-history))))
@@ -1958,8 +1961,11 @@
(interactive
(list ; Completion based on Gnus
(completing-read "Followup To: "
- (if (boundp 'gnus-newsrc-alist)
- gnus-newsrc-alist)
+ (and (boundp 'gnus-newsrc-alist)
+ (fboundp 'gnus-group-real-name)
+ (mapcar (lambda (el)
+ (gnus-group-real-name (car el)))
+ gnus-newsrc-alist))
nil nil '("poster" . 0)
(if (boundp 'gnus-group-history)
'gnus-group-history))))
--8<---------------cut here---------------end--------------->8---
> In fact, say I want to X-post/Fu2 on comp.emacs. If I want Gnus
> to say it has found a match, I have to explicitly say:
> nntp+server:comp.emacs otherwise, just typing comp.emacs doesn't
> match and Gnus asks me whether I want to use a possibly unknown
> group.
Sorry, I don't understand what your problem is here. Could you be
more specific? gnus-select-method, gnus-secondary-select-methods, is
it a foreign group? What headers (Newsgroups, Followup-To,
X-Draft-From) does the message have exactly before sending?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
parent reply other threads:[~2004-11-01 14:11 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <plop87k6t5ol7d.fsf@gnu-rox.org>]
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=v9oeihy801.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.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).