From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47477 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: coding-system for drafts Date: Wed, 30 Oct 2002 21:28:46 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: <84adl2llk6.fsf@crybaby.uni-duisburg.de> <84y98htj5s.fsf@crybaby.uni-duisburg.de> <84ptts6xm8.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035980960 15337 80.91.224.249 (30 Oct 2002 12:29:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 12:29:20 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186ryI-0003zF-00 for ; Wed, 30 Oct 2002 13:29:18 +0100 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 186ryW-0003ls-00; Wed, 30 Oct 2002 06:29:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 30 Oct 2002 06:30:16 -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 GAA13948 for ; Wed, 30 Oct 2002 06:30:01 -0600 (CST) Original-Received: (qmail 10516 invoked by alias); 30 Oct 2002 12:29:11 -0000 Original-Received: (qmail 10511 invoked from network); 30 Oct 2002 12:29:11 -0000 Original-Received: from unknown (HELO mars.web-hosting.com) (207.228.244.150) by gnus.org with SMTP; 30 Oct 2002 12:29:11 -0000 Original-Received: from localhost ([207.228.245.242]) by mars.web-hosting.com (8.11.1/8.11.1) with ESMTP id g9UCT8g24309 for ; Wed, 30 Oct 2002 07:29:09 -0500 (EST) Original-To: ding@gnus.org Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence (RC3), sparc-sun-solaris2.6) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:3rbI4MZc69L9RnkehOkz9+YhELE= X-Hashcash: 021030:ding@gnus.org:c50f6cfe5328a803 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47477 >>>>> In <84ptts6xm8.fsf@crybaby.uni-duisburg.de> >>>>> kai.grossjohann@uni-duisburg.de (Kai Gro=DFjohann) wrote: > Katsumi Yamaoka writes: >> We have to read a draft file twice, however large a file may be. > Why do you have to read a draft twice? If you design the coding > cookie ingeniously, then you won't need to do that. > You can put > X-Gnus-Coding: -*- coding: frumple -*- > as the first header. Then the Emacs machinery will take care of > automatically selecting the frumple coding for reading the file. > However, the above MUST be the first line in the file. I see. That's a good idea. Perhaps we can abolish the variable mm-auto-save-coding-system and set the default value for message-draft-coding-system to frumple (or iso-2022-7bit). Since not to bind the value for coding-system-for-read is required to utilize that function, what should we do if there is no such header? Or isn't there nothing to do? In addition, it is required that the coding header should be untouchable by a user. In order to ensure it, we will add the header using write-contents-hooks and remove it before starting edit of a draft. Haven't I made a mistake in my idea? --=20 Katsumi Yamaoka