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: Several serious problems Date: Tue, 23 Jul 2002 21:25:39 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207240325.g6O3PdX04898@aztec.santafe.edu> References: <200207221711.g6MHBZo02496@aztec.santafe.edu> <200207231335.WAA25692@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1027481213 12608 127.0.0.1 (24 Jul 2002 03:26:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2002 03:26:53 +0000 (UTC) Cc: spiegel@gnu.org, savannah-hackers@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.33 #1 (Debian)) id 17XCna-0003H1-00 for ; Wed, 24 Jul 2002 05:26:50 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17XD2C-0007Jz-00 for ; Wed, 24 Jul 2002 05:41:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17XCno-00072U-00; Tue, 23 Jul 2002 23:27:04 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17XCmS-0006qY-00; Tue, 23 Jul 2002 23:25:40 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g6O3PkB12433; Tue, 23 Jul 2002 21:25:46 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g6O3PdX04898; Tue, 23 Jul 2002 21:25:39 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: handa@etl.go.jp In-Reply-To: <200207231335.WAA25692@etlken.m17n.org> (message from Kenichi Handa on Tue, 23 Jul 2002 22:35:46 +0900 (JST)) 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:6002 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6002 Do you mean a command something like this? (defun check-coding-system-region (from to coding-system &optional max-num) "Check if the text after point is encodable by the specified coding system. When called from a program, takes three arguments: CODING-SYSTEM, FROM, and TO. START and END are buffer positions. Value is a list of positions of characters that are not encodable by CODING-SYSTEM. Optional 4th argument MAX-NUM, if non-nil, limits the length of returned list. By default, there's no limit." This could do the internals of the job. To be useful, it needs a user interface. How about if you modify it to make overlays to highlight those characters instead of returning a list saying where they are?