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: Mon, 26 Aug 2002 17:03:00 +0900 (JST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200208260803.RAA27427@etlken.m17n.org> References: <200208202142.g7KLgOO19478@localhost.localdomain> <200208220733.QAA21941@etlken.m17n.org> <200208220818.g7M8IuA02321@localhost.localdomain> <200208220847.RAA22073@etlken.m17n.org> <200208220946.g7M9kGr28137@chinon.cnrs-orleans.fr> <200208221049.TAA22197@etlken.m17n.org> <200208221941.g7MJfoo01752@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 1030348975 2310 127.0.0.1 (26 Aug 2002 08:02:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 08:02:55 +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 17jEpm-0000ax-00 for ; Mon, 26 Aug 2002 10:02:51 +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 17jEr6-00038V-00; Mon, 26 Aug 2002 04:04:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17jEq7-00035V-00 for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2002 04:03:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17jEq4-000357-00 for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2002 04:03:10 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jEq3-00034z-00 for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2002 04:03:07 -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 g7Q832l17667; Mon, 26 Aug 2002 17:03:02 +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 g7Q831916124; Mon, 26 Aug 2002 17:03:01 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id RAA27427; Mon, 26 Aug 2002 17:03:00 +0900 (JST) Original-To: konrad.hinsen@laposte.net In-Reply-To: <200208221941.g7MJfoo01752@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:3302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3302 In article <200208221941.g7MJfoo01752@localhost.localdomain>, konrad.hinsen@laposte.net writes: >> Thank you, but even with that file, I can't reproduce the bug. >> >> Is "signature-file" the actual file name? > No, it is ".signature", but I considered it safer not to send it under > that reserved name. Thank you for considering that. But, as file name sometimes does affect how it is read, I wanted to know the exact file name. But, as far as seeing these values in your emacs: >> file-coding-system-alist >> auto-coding-alist >> auto-coding-regexp-alist I see no reason why inserting that file makes the buffer unibyte. I still can't reproduce it with setting those values exactly as yours. You wrote: >> 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)". What happens if you insert the signature file by this? C-x i ~/.signature RET And what happens if you start emacs with -q --no-site-file and type C-c C-w to insert the signature file? Do they also change buffer-file-coding-system? Do they also change buffer-file-coding-system when you insert it not in *mail* buffer, but *scratch* buffer? And, to which function C-c C-w is bound, and in which file that function is defined? In my case, it is `mail-signature' defined in lisp/mail/sendmail.el. --- Ken'ichi HANDA handa@etl.go.jp