unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: rms@gnu.org, emacs-devel@gnu.org, pmr@pajato.com
Subject: Re: RMAIL bails out with coding-system-error
Date: Sun, 5 May 2002 16:35:30 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020505163111.25147A-100000@is> (raw)
In-Reply-To: <87lmayeube.fsf@snail.pool>


On 5 May 2002, David Kuehling wrote:

> 	     (insert "X-Coding-System: "
> 		     (symbol-name last-coding-system-used)
> 		     "\n")))
> [...]
> Using the last coding system is after all a little confusing.  Maybe
> `default-buffer-file-coding-system' would be a better (and more
> predictable) choice?

last-coding-system-used is set by all the functions that decode text.  So 
the above code makes sure the encoding of the message is recorded in the 
message headers.  That encoding can come from any number of sources: the 
Charset= header, the current defaults taken from the language 
environment, or from the user (see, e.g., rmail-redecode-body).  Perhaps 
I'm missing something, but I fail to see how any global default setting 
such as default-buffer-file-coding-system, can be an alternative to 
last-coding-system-used.

      parent reply	other threads:[~2002-05-05 13:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87bsbw87pq.fsf@snail.pool>
2002-05-05  5:34 ` RMAIL bails out with coding-system-error Richard Stallman
2002-05-05 10:57   ` David Kuehling
2002-05-05 11:21     ` Simon Josefsson
2002-05-05 13:45       ` Eli Zaretskii
2002-05-05 15:11         ` Simon Josefsson
2002-05-05 17:26           ` Eli Zaretskii
2002-05-06  9:29             ` Kai Großjohann
2002-05-05 13:35     ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1020505163111.25147A-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    --cc=pmr@pajato.com \
    --cc=rms@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).