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#1187: 23.0.60; Cannot read vline.el - invalid read syntax Date: Tue, 21 Oct 2008 11:40:42 +0900 Message-ID: References: <00f801c92fd5$54f26100$c2b22382@us.oracle.com> <48F8A809.2070903@gmail.com> <000001c9306b$8fc97bb0$0200a8c0@us.oracle.com> <001401c93074$62481300$0200a8c0@us.oracle.com> Reply-To: Kenichi Handa , 1187@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1224558647 31002 80.91.229.12 (21 Oct 2008 03:10:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 03:10:47 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 1187@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 05:11:46 2008 connect(): Connection refused 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.50) id 1Ks7ep-0003cs-Vg for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 05:11:44 +0200 Original-Received: from localhost ([127.0.0.1]:41847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks7dk-0004oa-Hg for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2008 23:10:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks7dL-0004eH-UD for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks7dK-0004cy-5q for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:11 -0400 Original-Received: from [199.232.76.173] (port=57750 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks7dJ-0004cs-O8 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59759) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ks7dJ-0008EX-6m for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L3A13u029477; Mon, 20 Oct 2008 20:10:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9L2o33d023886; Mon, 20 Oct 2008 19:50:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 02:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1187 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122455686222584 (code B ref -1); Tue, 21 Oct 2008 02:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 21 Oct 2008 02:41:02 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L2exO8022577 for ; Mon, 20 Oct 2008 19:41:00 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks7B4-0005kI-M6 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 22:40:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks7B0-0005jt-8J for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 22:40:57 -0400 Original-Received: from [199.232.76.173] (port=40729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks7B0-0005jq-3l for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 22:40:54 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:59022) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks7Ax-0005ED-S2; Mon, 20 Oct 2008 22:40:52 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m9L2ehAD001259; Tue, 21 Oct 2008 11:40:43 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m9L2eh3b027231; Tue, 21 Oct 2008 11:40:43 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m9L2egSn003287; Tue, 21 Oct 2008 11:40:42 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1Ks7Ao-0004ud-Hy; Tue, 21 Oct 2008 11:40:42 +0900 In-reply-to: (message from Eli Zaretskii on Mon, 20 Oct 2008 12:58:54 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 20 Oct 2008 23:10:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:21729 Archived-At: In article , Eli Zaretskii writes: > It's vline.el, and you can download it from here: > http://www.emacswiki.org/cgi-bin/wiki/vline.el > (It is better to download, to avoid any possible transformations of > the file in mail transfer.) Ok, I found what is the problem. In Emacs 22, iso-8859-1 is a coding of type `iso-2022', but in Emacs 23, it's of type `charset', and I forgot to handle latin-extra-code-table (which has nil for the byte 0x80) in the detector of that kind of coding system. As I've just installed a fix, the latest code should detect vline.el correctly as utf-8. But, the reason why it's detected as utf-8 is because the file contains a byte 0x80. If a file doesn't contain a byte in the range 0x80..0x9F and nil in latin-extra-code-table, it's impossible to distinguish iso-latin-1 from utf-8. So, in general, it's a good idea to add coding-tag: utf-8 for utf-8 files. --- Kenichi Handa handa@ni.aist.go.jp