From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: unencodable-char-position [Re: Several serious problems] Date: 15 Aug 2002 18:51:41 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207221711.g6MHBZo02496@aztec.santafe.edu> <200207231335.WAA25692@etlken.m17n.org> <200207240325.g6O3PdX04898@aztec.santafe.edu> <200207240437.NAA26632@etlken.m17n.org> <200207250312.g6P3C9J06653@aztec.santafe.edu> <200208110159.KAA23419@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029433885 21610 127.0.0.1 (15 Aug 2002 17:51:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2002 17:51:25 +0000 (UTC) Cc: rms@gnu.org, spiegel@gnu.org, 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 17fOmJ-0005cQ-00 for ; Thu, 15 Aug 2002 19:51:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17fPBu-0002J5-00 for ; Thu, 15 Aug 2002 20:17:50 +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 17fOnC-0006QI-00; Thu, 15 Aug 2002 13:52:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17fOmk-0006PW-00 for emacs-devel@gnu.org; Thu, 15 Aug 2002 13:51:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17fOmi-0006PE-00 for emacs-devel@gnu.org; Thu, 15 Aug 2002 13:51:49 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17fOmf-0006OW-00; Thu, 15 Aug 2002 13:51:45 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 17fOmb-0003Zm-00; Thu, 15 Aug 2002 18:51:41 +0100 Original-To: Kenichi Handa In-Reply-To: <200208110159.KAA23419@etlken.m17n.org> Original-Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6565 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6565 Kenichi Handa writes: > I implemented that and tried on several files. But, it > seems that such kind of feature is not that helpful. If I understand what's being talked about, I agree. Normally the first problematic character tells me what's up. > By the way, I've just noticed that Dave has already > installed the function `unencodable-char-position' in > mule-cmds.el and used it in select-safe-coding-system. > > That function resembles to check-coding-system-region on > which we are currently discussing. I'm sorry if that was wrong. I thought it was supposed to have been installed months ago, and I was trying to clear out the Mule changes I've had hanging around after rms was on about it. I thought that was all stuff you approved of, or `obviously right'. > But, as the docstring says, it's slow. [It seemed fast enough for that use since it's only executed occasionally, when there's actually a problem. It was probably developed on a P133.] By the way, aborting in select-safe-coding-system can have bad effects when you're using VC. As far as I remember, it actually loses your edits in some circumstance. I haven't had time to look at the problem.