From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14541 Path: main.gmane.org!not-for-mail From: "Edward J. Sabol" Newsgroups: gmane.emacs.gnus.general Subject: Re: drafts group/a pain in the butt Date: Thu, 12 Mar 1998 14:11:20 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <199803121911.OAA20778@alderaan.gsfc.nasa.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153714 16708 80.91.224.250 (20 Oct 2002 22:41:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:41:54 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id LAA14029 for ; Thu, 12 Mar 1998 11:18:09 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA16738 for ; Thu, 12 Mar 1998 13:13:00 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id NAN05509; Thu, 12 Mar 1998 13:48:08 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 12 Mar 1998 13:11:45 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id NAA22645 for ; Thu, 12 Mar 1998 13:11:37 -0600 (CST) Original-Received: (qmail 30055 invoked by uid 504); 12 Mar 1998 19:11:26 -0000 Original-Received: (qmail 30052 invoked from network); 12 Mar 1998 19:11:26 -0000 Original-Received: from alderaan.gsfc.nasa.gov (128.183.127.237) by claymore.vcinet.com with SMTP; 12 Mar 1998 19:11:25 -0000 Original-Received: by alderaan.gsfc.nasa.gov (950413.SGI.8.6.12/951211.SGI.AUTO) id OAA20778; Thu, 12 Mar 1998 14:11:20 -0500 Original-To: reader@newsguy.com In-reply-to: (message from Harry Putnam on 12 Mar 1998 09:58:20 -0800) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14541 Excerpts from [emacs.ding]: (12-Mar-98) drafts group/a pain in the butt by Harry Putnam > I haven't noticed any mention of a work around for the problem arising > when trying to send a posting from draft group to a foreign server. > The C-u C-c C-c doesn't work there. > I have probably been doing the most awkward and tedious procedure of > 'killing' and going back to the group, do another 'F' 'yank' and then > C-u C-c C-c. I haven't tried this myself, so I don't know if it'll work or not. This is just an educated guess, but it seems to me that you could make gnus-post-method a variable local to the buffer in question and then set it to the server you want the post to go to. (defun my-set-gnus-post-method (nntpserver) "Makes gnus-post-method a variable local to the current buffer and then sets it to the NNTP server the user specifies." (interactive "sPost article to which NNTP server?: ") (make-local-variable 'gnus-post-method) (setq gnus-post-method '(nntp "dummy")) (setcdr gnus-post-method nntpserver)) Even if this does work, I think a better solution should be implemented into Gnus properly. The user just shouldn't have to do this. Here's what I suggest instead: Gnus could insert a header (say `X-Gnus-Foreign-Server' or something like that) into a message when it is saved into the draft group. It should only do this when the article is being posted to a group that belongs to a foreign server. Then, in the draft group, the function assigned to the `C-c C-c' keybinding should be modified to do the following additional things: It should (a) remove this header from any article that has it before posting and (b) post to the server specified in the `X-Gnus-Foreign-Server' header when the user does a `C-u C-c C-c'. How about it, Lars? Later, Ed