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: Coding system for outgoing mail Date: Tue, 20 Aug 2002 23:42:24 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200208202142.g7KLgOO19478@localhost.localdomain> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029879608 26284 127.0.0.1 (20 Aug 2002 21:40:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 21:40:08 +0000 (UTC) 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 17hGjJ-0006pG-00 for ; Tue, 20 Aug 2002 23:40:01 +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 17hGkS-0007b0-00; Tue, 20 Aug 2002 17:41:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hGj1-0007ON-00 for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2002 17:39:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hGix-0007Nl-00 for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2002 17:39:42 -0400 Original-Received: from smtp-out-4.wanadoo.fr ([193.252.19.23] helo=mel-rto4.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hGiw-0007Ng-00 for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2002 17:39:38 -0400 Original-Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto4.wanadoo.fr (6.5.007) id 3D49FD320070E57B; Tue, 20 Aug 2002 23:39:08 +0200 Original-Received: from localhost.localdomain (80.13.72.14) by mel-rta7.wanadoo.fr (6.5.007) id 3D49FF140063D25A; Tue, 20 Aug 2002 23:39:08 +0200 Original-Received: (from hinsen@localhost) by localhost.localdomain (8.11.6/8.11.6) id g7KLgOO19478; Tue, 20 Aug 2002 23:42:24 +0200 Original-To: bug-gnu-emacs@gnu.org 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:3254 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3254 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-04-09 on porky.devel.redhat.com configured using `configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Since I set up my Emacs for international character set support, every time I send a mail with non-ASCII characters I have to specify the latin-1 coding system manually. According to all documentation I could find, it should be sufficient to set sendmail-coding-system to latin-1 to have outgoing mail sent as Latin-1 by default, but that doesn't work. After a lot of searching, my hypothesis is that something sets the local value of buffer-file-coding-system to binary for every new mail buffer. So I added the following to my .emacs: (add-hook 'mail-mode-hook (function (lambda () (setq buffer-file-coding-system 'iso-latin-1)))) but that makes no difference either. Recent input: ) C-a C-y \ ) C-e M-d C-d C-d C-d l a t i n 0 1 - 1 C-x C-s C-a C-SPC C-w C-x C-s ) ) C-x C-s M-x b u g s e n r e p o r Recent messages: Undo! [3 times] Wrote /home/hinsen/.emacs Mark set [2 times] Wrote /home/hinsen/.emacs [2 times] Mark set Wrote /home/hinsen/.emacs Mark set Wrote /home/hinsen/.emacs [2 times] Making completion list... [3 times] Loading emacsbug...done -- ------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------