Gnus development mailing list
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: coding-system for drafts
Date: Thu, 31 Oct 2002 18:30:06 +0100	[thread overview]
Message-ID: <84adkuo6sh.fsf@crybaby.uni-duisburg.de> (raw)
In-Reply-To: <yotlznsvfc9i.fsf@jpl.org>

Katsumi Yamaoka <yamaoka@jpl.org> 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)



  parent reply	other threads:[~2002-10-31 17:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 12:25 sending delayed articles bug Katsumi Yamaoka
2002-10-25 13:01 ` Kai Großjohann
2002-10-29  9:58   ` coding-system for drafts (was Re: sending delayed articles bug) Katsumi Yamaoka
2002-10-29 14:27     ` coding-system for drafts Kai Großjohann
2002-10-30  1:36       ` Katsumi Yamaoka
2002-10-30 10:15         ` Kai Großjohann
2002-10-30 12:28           ` Katsumi Yamaoka
2002-10-30 16:14             ` Kai Großjohann
2002-10-31  4:44               ` Katsumi Yamaoka
2002-10-31  7:35                 ` Katsumi Yamaoka
2002-10-31 17:35                   ` Kai Großjohann
2002-11-01  4:32                     ` Katsumi Yamaoka
2002-11-05 12:36                       ` Kai Großjohann
2002-10-31 17:30                 ` Kai Großjohann [this message]
2002-11-01 17:49                   ` Kai Großjohann
2002-11-05  9:23                     ` Katsumi Yamaoka
2002-11-05 12:38                       ` Kai Großjohann
2002-11-08  7:25                         ` Katsumi Yamaoka
2002-11-13 16:14                           ` Reiner Steib
2002-11-02 15:34       ` TSUCHIYA Masatoshi
2002-11-05 12:23         ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84adkuo6sh.fsf@crybaby.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).