From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: konrad.hinsen@laposte.net Newsgroups: gmane.emacs.bugs Subject: Re: Coding system for outgoing mail Date: Thu, 22 Aug 2002 10:18:56 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200208220818.g7M8IuA02321@localhost.localdomain> References: <200208202142.g7KLgOO19478@localhost.localdomain> <200208220733.QAA21941@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1030004162 21914 127.0.0.1 (22 Aug 2002 08:16:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 08:16:02 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hn8J-0005hL-00 for ; Thu, 22 Aug 2002 10:15:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hn9U-0005js-00; Thu, 22 Aug 2002 04:17:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hn8X-0005LV-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 04:16:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hn8S-0005KX-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 04:16:11 -0400 Original-Received: from smtp-out-2.wanadoo.fr ([193.252.19.254] helo=mel-rto2.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hn8S-0005KK-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 04:16:08 -0400 Original-Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto2.wanadoo.fr (6.5.007) id 3D5392B60049F13E; Thu, 22 Aug 2002 10:15:37 +0200 Original-Received: from localhost.localdomain (80.13.82.236) by mel-rta7.wanadoo.fr (6.5.007) id 3D49FF14006C4F4C; Thu, 22 Aug 2002 10:15:37 +0200 Original-Received: (from hinsen@localhost) by localhost.localdomain (8.11.6/8.11.6) id g7M8IuA02321; Thu, 22 Aug 2002 10:18:56 +0200 Original-To: handa@etl.go.jp In-Reply-To: <200208220733.QAA21941@etlken.m17n.org> (message from Kenichi Handa on Thu, 22 Aug 2002 16:33:21 +0900 (JST)) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3271 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3271 > o Can you reproduce the bug when you start Emacs with "-q > --no-site-file"? No. I went through my .emacs line by line to find out what the cause is, and it turns out to be the line (setq mail-signature t) Then I disabled that line and checked what happens when I insert the signature by hand (C-c C-w). Before inserting the signature, describe-coding-system says "none, use default". After inserting the signature, it says "no conversion (binary)". My signature file contains only ASCII characters (see below), so that cannot be the problem. > o What do you mean by `non-ASCII characters'? Does't it > contain non-Latin-1 characters? No, just French text. > o How do you type (or insert) those non-ASCII characters? Directly from a French keyboard. > o Does Emacs also asks coding system on saving that mail > buffer into a file? No, only when sending it. > o Please show me the contents of *Warning* buffer shown when > Emacs asks you to select a coding system. These default coding systems were tried: no-conversion iso-latin-1 no-conversion safely encodes the target text, but it is not recommended for encoding text in this context, e.g., for sending an email message. Select the above, or one of the following safe coding systems: iso-8859-1 utf-8 iso-2022-jp-2 x-ctext mac-roman iso-2022-7bit raw-text emacs-mule no-conversion ctext-no-compositions iso-2022-8bit-ss2 iso-2022-7bit-lock iso-2022-7bit-ss2 tibetan-iso-8bit-with-esc thai-tis620-with-esc lao-with-esc korean-iso-8bit-with-esc hebrew-iso-8bit-with-esc greek-iso-8bit-with-esc iso-latin-9-with-esc iso-latin-8-with-esc iso-latin-5-with-esc iso-latin-4-with-esc iso-latin-3-with-esc iso-latin-2-with-esc iso-latin-1-with-esc in-is13194-devanagari-with-esc cyrillic-iso-8bit-with-esc chinese-iso-8bit-with-esc japanese-iso-8bit-with-esc > o How do you create that mail buffer? By typing C-x m, from > RMAIL, from Gnus, or else? Either C-x m or by replying in RMAIL, the effect is the same. > o What is the actual value of `buffer-file-coding-system' > when you don't setup that mail-mode-hook. With automatic signature: buffer-file-coding-system's value is no-conversion Local in buffer *mail*; global value is iso-latin-1 Without: buffer-file-coding-system's value is iso-latin-1 > o What is the value of `mail-user-agent'? mail-user-agent's value is sendmail-user-agent > o What is the value of `default-sendmail-coding-system'? default-sendmail-coding-system's value is iso-latin-1 Thanks for your help! Konrad. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------