From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: iso-8859-1 and non-latin-1 chars Date: Sat, 14 Dec 2002 13:31:54 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200212130258.LAA00403@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039890861 4320 80.91.224.249 (14 Dec 2002 18:34:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 14 Dec 2002 18:34:21 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18NH7D-00017V-00 for ; Sat, 14 Dec 2002 19:34:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18NHJp-0003aS-00 for ; Sat, 14 Dec 2002 19:47:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NH63-0004vl-08 for emacs-devel@quimby.gnus.org; Sat, 14 Dec 2002 13:33:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18NH5K-0004P0-00 for emacs-devel@gnu.org; Sat, 14 Dec 2002 13:32:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18NH5C-00042R-00 for emacs-devel@gnu.org; Sat, 14 Dec 2002 13:32:18 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NH4s-0003T8-00 for emacs-devel@gnu.org; Sat, 14 Dec 2002 13:31:54 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18NH4s-0003g1-00; Sat, 14 Dec 2002 13:31:54 -0500 Original-To: handa@m17n.org In-reply-to: <200212130258.LAA00403@etlken.m17n.org> (message from Kenichi Handa on Fri, 13 Dec 2002 11:58:34 +0900 (JST)) Original-cc: d.love@dl.ac.uk X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10135 Notes on the change: (1) I made a new variable coding-system-require-warning, and universal-coding-system-argument binds it to t. (2) If car of the arg DEFAULT-CODING-SYSTEM is t, it indicates that select-safe-coding-system should not include buffer-file-coding-system and most preferred coding system in a list of coding systems tried by default. Fwrite_region calls select-safe-coding-system in this way if coding-system-require-warning is non-nil. (3) Now a user can specify any coding system in select-safe-coding-system on his risk. At least, this is necessary when an unsafe coding sysetm is specified by C-x RET c. I didn't have time to read the code (sorry), but that sounds ok to me.