From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34538 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent does not send mail immediately Date: 02 Feb 2001 17:45:57 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <5br91gk8ka.fsf@avocet.cs.rochester.edu> References: <87k878afmg.fsf@pcgboerrigter.i2c-systems.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170447 30949 80.91.224.250 (21 Oct 2002 03:20:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:20:47 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id CC0EED049D for ; Fri, 2 Feb 2001 17:48:02 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id QAC21518; Fri, 2 Feb 2001 16:46:19 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 02 Feb 2001 16:45:40 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA09025 for ; Fri, 2 Feb 2001 16:45:28 -0600 (CST) Original-Received: from gate.cs.rochester.edu (gate.cs.rochester.edu [192.5.53.207]) by mailhost.sclp.com (Postfix) with ESMTP id 1F5CAD049D for ; Fri, 2 Feb 2001 17:45:58 -0500 (EST) Original-Received: from avocet.cs.rochester.edu (avocet.cs.rochester.edu [192.5.53.22]) by gate.cs.rochester.edu (8.9.1b+Sun/U) with ESMTP id RAA24583 for ; Fri, 2 Feb 2001 17:45:57 -0500 (EST) Original-Received: (from zsh@localhost) by avocet.cs.rochester.edu (8.9.1b+Sun/Q++) id RAA01645; Fri, 2 Feb 2001 17:45:57 -0500 (EST) Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: <87k878afmg.fsf@pcgboerrigter.i2c-systems.com> (Gerd Boerrigter's message of "02 Feb 2001 23:25:21 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 27 Xref: main.gmane.org gmane.emacs.gnus.general:34538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34538 Gerd Boerrigter writes: > But if I send a mail, I like to use my local sendmail instead of the > agent. I think there is no predefined way to do that. Is there a > suitable hook, to set `message-send-mail-function' back to the > original value? Or is it better to modify `gnus-agentize' or > `gnus-agent-send-mail' to get the desired behavior? I am not sure, > what to do. (if (and (boundp 'gnus-agent-send-mail-function) gnus-agent-send-mail-function) ;; agentized? (setq message-send-mail-function gnus-agent-send-mail-function) (setq gnus-agent-send-mail-function message-send-mail-function)) This code works for me. > BTW, I am not sure if the docstring for 'gnus-agentize' is still > correct regarding the modified variables. It seems that > `gnus-before-startup-hook' and `gnus-post-method' are not modified. > Instead `gnus-setup-news-hook' is. Fixed. ShengHuo -- (setq gnus-posting-styles '((".*" (signature-file "~/.signature"))))