From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39887 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Compose a followup into current group? Date: Fri, 02 Nov 2001 17:51:20 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175526 30344 80.91.224.250 (21 Oct 2002 04:45:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:45:26 +0000 (UTC) Return-Path: Original-Received: (qmail 14687 invoked from network); 2 Nov 2001 22:47:57 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Nov 2001 22:47:57 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15zn5t-0000JA-00; Fri, 02 Nov 2001 16:47:21 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 02 Nov 2001 16:47:02 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA29296 for ; Fri, 2 Nov 2001 16:46:48 -0600 (CST) Original-Received: (qmail 14661 invoked by alias); 2 Nov 2001 22:46:56 -0000 Original-Received: (qmail 14656 invoked from network); 2 Nov 2001 22:46:56 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (qmail-remote@129.22.96.25) by gnus.org with SMTP; 2 Nov 2001 22:46:56 -0000 Original-Received: (qmail 2773 invoked by uid 500); 2 Nov 2001 22:51:42 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 02 Nov 2001 23:36:00 +0100") Mail-Copies-To: never User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:39887 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39887 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) wrote: > Amos Gouaux writes: >> Perhaps message mode could do something similar, but in this case >> pay attention to the GCC field? > > It already works to enter the group name into the Newsgroups header. Assuming the backend implements -request-post. > If I do `S N' on an article which has a Newsgroups header, then I get > a followup with the Newsgroups header pre-filled to the right value. > > If I do `S N' on an article which does not have a Newsgroups header, > then I get a followup with an empty Newsgroups header. > > How to get the Newsgroups header pre-filled even in the latter case? Bind this to your key of choice (untested): (defun followup-to-this-group (&optional arg) (interactive "P") (let ((gnus-posting-styles (cons `(t ("Newsgroups" ,gnus-newsgroup-name)) gnus-posting-styles))) (gnus-summary-followup-to-mail-with-original arg))) paul