From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13880 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-post-method Date: 10 Feb 1998 09:34:25 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199802080431.UAA11977@smtp3.teleport.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153166 11646 80.91.224.250 (20 Oct 2002 22:32:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:32:46 +0000 (UTC) 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 AAA27133 for ; Tue, 10 Feb 1998 00:38:48 -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 CAA00721 for ; Tue, 10 Feb 1998 02:35:43 -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 DAN08434; Tue, 10 Feb 1998 03:12:10 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Feb 1998 02:35:13 -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 CAA11563 for ; Tue, 10 Feb 1998 02:35:02 -0600 (CST) Original-Received: (qmail 16202 invoked by uid 504); 10 Feb 1998 08:34:59 -0000 Original-Received: (qmail 16199 invoked from network); 10 Feb 1998 08:34:58 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 10 Feb 1998 08:34:57 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id JAA25782; Tue, 10 Feb 1998 09:34:26 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Feb 1998 17:07:38 +0100" Original-Lines: 26 X-Mailer: Quassia Gnus v0.22/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13880 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13880 >>>>> Lars Magne Ingebrigtsen : > Felix Lee writes: >> so my newsrc currently has 3 different news servers with >> about 20 groups from each. since all these groups are local >> to the servers, I want gnus to use the right server when I >> post an article. and I don't want to have to give a prefix >> arg to C-c C-c all the time. >> >> what's the easiest way? > Bind `C-c C-c' to a command that gives the prefix automatically. Something like this, perhaps (in ~/.emacs or ~/.gnus): ;; Hack for posting on foreign servers (add-hook 'message-setup-hook (lambda () (local-set-key "\C-c\C-c" 'message-send-and-exit-with-prefix))) (defun message-send-and-exit-with-prefix () "Call the message-send-and-exit function with a positive number argument to make it post the message on the foreign NNTP server of a group, instead of the default NNTP server" (interactive) (message-send-and-exit 1))