From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4225 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: X-post and/or fu2 Date: Mon, 01 Nov 2004 15:11:10 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670201 22389 80.91.229.2 (31 Jan 2006 01:16:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:16:41 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:26 2006 Original-Newsgroups: gnu.emacs.gnus X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 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/