Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: coding-system for drafts (was Re: sending delayed articles bug)
Date: Tue, 29 Oct 2002 18:58:33 +0900	[thread overview]
Message-ID: <yotlvg3l8t2u.fsf_-_@jpl.org> (raw)
In-Reply-To: <84adl2llk6.fsf@crybaby.uni-duisburg.de>

Hi,

If you have unfinished drafts, I recommend you send all of them
before updating Gnus.  I took care you don't have to do so,
though. :)

>>>>> In <84adl2llk6.fsf@crybaby.uni-duisburg.de>
>>>>>	kai.grossjohann@uni-duisburg.de (Kai Großjohann) wrote:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> By the way, why don't we use the universal coding-system, e.g.
>> iso-2022-7-bit, for saving and reading draft articles in both
>> FSF Emacs and XEmacs?  In the present, FSF Emacs uses emacs-mule
>> and XEmacs uses escape-quoted by default, so draft articles made
>> by FSF Emacs can't be handled by XEmacs and the contrary is also
>> bad. :-{

> That's a good idea!

Thanks.

Let's put a point at issue into the handling of the existing
draft files.  First of all, there's no problem if a user has set
mm-auto-save-coding-system to a certain value.  It is
satisfactory for using iso-2022-7bit to read draft files which
have been saved by escape-quoted either, since those coding
systems are mostly compatible under XEmacs.  However, a relief
measure should be taken in the case of FSF Emacs.  Then, I've
changed mm-util.el and nndraft.el with the following plans:

1. Set the default value for mm-auto-save-coding-system to
   iso-2022-7bit, except nil for non-Mule XEmacs.  The value is
   passed to message-draft-coding-system.

2. Simply read a draft file using the value of
   message-draft-coding-system under XEmacs.

3. Under FSF Emacs, read a draft file as raw-text into a buffer
   if the value of message-draft-coding-system is iso-2022-7bit,
   otherwise use the value of message-draft-coding-system itself
   to read a file.  In the former case, decode the buffer
   contents as emacs-mule if there are over-7-bit data in a
   buffer, otherwise decode the contents using the value of
   message-draft-coding-system.

I wish there were no problems.

Regards,
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



  reply	other threads:[~2002-10-29  9:58 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   ` Katsumi Yamaoka [this message]
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
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=yotlvg3l8t2u.fsf_-_@jpl.org \
    --to=yamaoka@jpl.org \
    /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).