From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1689 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus-group-post-news defaults to mail Date: Fri, 27 Dec 2002 22:11:51 +0100 Organization: http://purl.org/harder/ Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668388 12352 80.91.229.2 (31 Jan 2006 00:46:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:46:28 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:33 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; stktrc writes: > The documentation for gnus-group-post-news says > > "Start composing a message (a news by default). If ARG, post to group > under point. If ARG is 1, prompt for group name. Depending on the > selected group, the message might be either a mail or a news." > > but when I do gnus-group-post-news ("a") from the group buffer it > defaults to mail. (If I send a 1 as prefix arg it does a news post.) Strange -- it defaults to news for me. What do you get if you evaluate this (place point after the last paren and press `C-x C-e'): (let ((group "") force-news header) (let* ((group (or group gnus-newsgroup-name)) (charset (gnus-group-name-charset nil group)) (pgroup group) to-address to-group mailing-list to-list newsgroup-p) (when group (setq to-address (gnus-parameter-to-address group) to-group (gnus-group-find-parameter group 'to-group) to-list (gnus-parameter-to-list group) newsgroup-p (gnus-group-find-parameter group 'newsgroup) mailing-list (when gnus-mailing-list-groups (string-match gnus-mailing-list-groups group)) group (gnus-group-name-decode (gnus-group-real-name group) charset))) (if (or (and to-group (gnus-news-group-p to-group)) newsgroup-p force-news (and (gnus-news-group-p (or pgroup gnus-newsgroup-name) (or header gnus-current-article)) (not mailing-list) (not to-list) (not to-address))) 'news 'mail)))