From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47502 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: coding-system for drafts Date: Thu, 31 Oct 2002 18:30:06 +0100 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84adkuo6sh.fsf@crybaby.uni-duisburg.de> References: <84adl2llk6.fsf@crybaby.uni-duisburg.de> <84y98htj5s.fsf@crybaby.uni-duisburg.de> <84ptts6xm8.fsf@crybaby.uni-duisburg.de> <84znsv52f5.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: 8bit X-Trace: main.gmane.org 1036089433 24205 80.91.224.249 (31 Oct 2002 18:37:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 18:37:13 +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 187KBr-0006ID-00 for ; Thu, 31 Oct 2002 19:37:11 +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 187KAE-0008Dm-00; Thu, 31 Oct 2002 12:35:30 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 31 Oct 2002 12:36:12 -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 MAA19179 for ; Thu, 31 Oct 2002 12:35:41 -0600 (CST) Original-Received: (qmail 1535 invoked by alias); 31 Oct 2002 18:34:46 -0000 Original-Received: (qmail 1529 invoked from network); 31 Oct 2002 18:34:46 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 31 Oct 2002 18:34:46 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 187KDw-0008Qn-00 for ; Thu, 31 Oct 2002 19:39:20 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 39 Original-NNTP-Posting-Host: pd951fe3b.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1036089560 32398 217.81.254.59 (31 Oct 2002 18:39:20 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 31 Oct 2002 18:39:20 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:unzGcpwO3HNu1vJozuyFgjo3lvg= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47502 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47502 Katsumi Yamaoka writes: >>>>>> In <84znsv52f5.fsf@crybaby.uni-duisburg.de> >>>>>> kai.grossjohann@uni-duisburg.de (Kai Großjohann) wrote: > > I've confirmed that the following example works: > > (let ((file-coding-system-alist > (cons > (cons (concat "\\`" > (regexp-quote (expand-file-name FILE)) > "\\'") > 'frumple) > file-coding-system-alist)) > (nnmail-file-coding-system nil)) > (nnmail-find-file (expand-file-name FILE))) > > We can also set the value for file-coding-system-alist rigidly. > However, I get confused. Isn't there any difference in this and > the next example? > > (let ((nnmail-file-coding-system 'frumple)) > (nnmail-find-file (expand-file-name FILE))) I would guess they are the same. >> Another idea is to narrow the buffer so that point-min is after the >> header. But that might be more fragile. > > Hm, each is hard to be called good idea. The hidden area might > be exposed in the future like message-strip-forbidden-properties > does. Narrowing does not use text properties. But maybe one of the (widen) statements in message.el breaks things. kai -- ~/.signature is: umop ap!sdn (Frank Nobis)