From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#1770: 23.0.60; (message-check 'illegible-text ...) fails on eight-bit chars Date: Thu, 14 Oct 2010 15:37:30 +0900 Message-ID: References: <87k59d4apn.fsf@marauder.physik.uni-ulm.de> <871vvdee4d.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287038559 8340 80.91.229.12 (14 Oct 2010 06:42:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 06:42:39 +0000 (UTC) Cc: Reiner.Steib@gmx.de, d.love@liverpool.ac.uk, 1770@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 14 08:42:36 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6HWH-0008Mg-CR for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Oct 2010 08:42:29 +0200 Original-Received: from localhost ([127.0.0.1]:51467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6HWG-0000bc-RC for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Oct 2010 02:42:28 -0400 Original-Received: from [140.186.70.92] (port=37280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6HW8-0000bX-72 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 02:42:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6HW4-0005qZ-BZ for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 02:42:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6HW4-0005qV-9T for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 02:42:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P6HP4-0003lO-Ew; Thu, 14 Oct 2010 02:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 14 Oct 2010 06:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1770 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 1770-submit@debbugs.gnu.org id=B1770.128703804714456 (code B ref 1770); Thu, 14 Oct 2010 06:35:02 +0000 Original-Received: (at 1770) by debbugs.gnu.org; 14 Oct 2010 06:34:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6HOA-0003l7-Tj for submit@debbugs.gnu.org; Thu, 14 Oct 2010 02:34:07 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6HO7-0003kk-RR for 1770@debbugs.gnu.org; Thu, 14 Oct 2010 02:34:05 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o9E6bXkB015928; Thu, 14 Oct 2010 15:37:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o9E6bXop007821; Thu, 14 Oct 2010 15:37:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id o9E6bUVY021495; Thu, 14 Oct 2010 15:37:30 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1P6HRS-0003yu-JP; Thu, 14 Oct 2010 15:37:30 +0900 In-Reply-To: (message from Lars Magne Ingebrigtsen on Thu, 30 Sep 2010 19:48:12 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Oct 2010 02:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40882 Archived-At: In article , Lars Magne Ingebrigtsen writes: > Kenichi Handa writes: > > Yes. For Emacs 23, adding eight-bit in the list is ok. > > But, I think it is better to catch non-Unicode characters > > (#x110000..#x3FFF7F) here too. For Emacs 23 only, we can > > have this simple code: > > > > (while (not (eobp)) > > (when (not (encode-char (char-after) 'unicode)) > > ;; or simply (>= (char-after) #x110000) > > (if (eq choice ?i) > > (message-kill-all-overlays) > > (delete-char 1) > > (when (eq choice ?r) > > (insert message-replacement-char)))) > > (forward-char) > > (skip-chars-forward mm-7bit-chars)) > Was this installed? No. > If not, was a different fix applied, Yes. 2009-01-03 Reiner Steib * message.el (message-fix-before-sending): Add `eight-bit' to illegible-text check. > and the bug not closed, or is this still a problem? As I wrote, non-Unicode characters are still not caught here. But I'm not sure it's problem to be solved by message-fix-before-sending. I have not yet got a reply to this question. > After filtering out those strange characters, how is a > coding system decided? Is select-message-coding-system > used? --- Kenichi Handa handa@m17n.org