From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30670 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: drafts (not queue) and message-setup-hook Date: 04 May 2000 12:22:53 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nr9bii8te.fsf@tiger.jia.vnet> References: <2ng0ryv21q.fsf@tiger.jia.vnet> 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 1035167173 9682 80.91.224.250 (21 Oct 2002 02:26:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:26:13 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id C5634D051E for ; Thu, 4 May 2000 13:01:19 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB18188; Thu, 4 May 2000 12:01:12 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 04 May 2000 11:59:36 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA27868 for ; Thu, 4 May 2000 11:59:25 -0500 (CDT) Original-Received: from shenghuo.dhs.org (d185d1eec.rochester.rr.com [24.93.30.236]) by mailhost.sclp.com (Postfix) with ESMTP id 695D4D051E for ; Thu, 4 May 2000 12:58:23 -0400 (EDT) Original-Received: (from zsh@localhost) by shenghuo.dhs.org (8.10.0/8.10.0) id e44GMri00614; Thu, 4 May 2000 12:22:53 -0400 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: Pavel.Janik@inet.cz's message of "Thu, 4 May 2000 17:04:01 +0200" Original-Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30670 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30670 >>>>> "Pavel" =3D=3D Pavel Jan=EDk ml writes: Pavel> From: Shenghuo ZHU Pavel> Date: 04 May 2000 10:10:41 -0400 >> Message-setup-hook should not be called if it is in nndraft:queue, b= ut >> the hook should be called if it is in nndraft:draft, because it has = not >> been set up. Pavel> I thought, that one can get the draft only via sending mail and Pavel> C-x C-s so the message is already setup. Queue and drafts are quite different. The drafts group is used for auto-saving and unfinished composition, so the characters are internally encoded, and mml tags are not encoded. But, the queue group is used for queuing the mails to be sent, so everything is setup. >> By default, the hook is nil, so it does not matter. What did you >> put in message-setup-hook? Pavel> There is my function which is asking me about input method, Pavel> ispell-directory etc. It also checks if it is a reply or not Pavel> and if it is, the function tries to guess everything. If you don't want to run those functions for drafts, you can check the value of gnus-newsgroup-name in those functions. --=20 Shenghuo