From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: Re: Coding system for outgoing mail Date: Thu, 22 Aug 2002 16:33:21 +0900 (JST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200208220733.QAA21941@etlken.m17n.org> References: <200208202142.g7KLgOO19478@localhost.localdomain> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1030001645 16391 127.0.0.1 (22 Aug 2002 07:34:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 07:34:05 +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 17hmTj-0004G6-00 for ; Thu, 22 Aug 2002 09:34:03 +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 17hmUq-0000Ho-00; Thu, 22 Aug 2002 03:35:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hmTj-0000Ds-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 03:34:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hmTD-0000Cc-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 03:34:02 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hmTC-0000CN-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 03:33:30 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6/3.7W-20010518204228) with ESMTP id g7M7XMl17722; Thu, 22 Aug 2002 16:33:22 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.3/3.7W-20010823150639) with ESMTP id g7M7XL924553; Thu, 22 Aug 2002 16:33:21 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id QAA21941; Thu, 22 Aug 2002 16:33:21 +0900 (JST) Original-To: konrad.hinsen@laposte.net In-Reply-To: <200208202142.g7KLgOO19478@localhost.localdomain> (konrad.hinsen@laposte.net) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:3270 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3270 In article <200208202142.g7KLgOO19478@localhost.localdomain>, konrad.hinsen@laposte.net writes: > 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. Thank you for the bug report, but I can't reproduce that bug. Could you give me the following information? o Can you reproduce the bug when you start Emacs with "-q --no-site-file"? o What do you mean by `non-ASCII characters'? Does't it contain non-Latin-1 characters? o How do you type (or insert) those non-ASCII characters? o Does Emacs also asks coding system on saving that mail buffer into a file? o Please show me the contents of *Warning* buffer shown when Emacs asks you to select a coding system. o How do you create that mail buffer? By typing C-x m, from RMAIL, from Gnus, or else? o What is the actual value of `buffer-file-coding-system' when you don't setup that mail-mode-hook. o What is the value of `mail-user-agent'? o What is the value of `default-sendmail-coding-system'? --- Ken'ichi HANDA handa@etl.go.jp