From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#1187: 23.0.60; Cannot read vline.el - invalid read syntax Date: Fri, 17 Oct 2008 09:09:03 -0700 Message-ID: <001301c93072$af3dfcd0$0200a8c0@us.oracle.com> References: <00f801c92fd5$54f26100$c2b22382@us.oracle.com> <48F8A809.2070903@gmail.com><000001c9306b$8fc97bb0$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1187@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224261064 572 80.91.229.12 (17 Oct 2008 16:31:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 16:31:04 +0000 (UTC) Cc: 1187@emacsbugs.donarmstrong.com To: "'Lawrence Mitchell'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 18:32:02 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 1KqsEw-0004ER-QF for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 18:31:51 +0200 Original-Received: from localhost ([127.0.0.1]:43437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqsDr-000239-Au for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 12:30:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqsDO-0001r1-5g for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:30:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqsDN-0001q7-0a for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:30:13 -0400 Original-Received: from [199.232.76.173] (port=38965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqsDM-0001py-ST for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:30:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59868) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqsDM-0005bl-A8 for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:30:12 -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 m9HGU0m1022492; Fri, 17 Oct 2008 09:30:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9HGF3Qm019085; Fri, 17 Oct 2008 09:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 17 Oct 2008 16:15: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 1187-submit@emacsbugs.donarmstrong.com id=B1187.122425975817714 (code B ref 1187); Fri, 17 Oct 2008 16:15:03 +0000 Original-Received: (at 1187) by emacsbugs.donarmstrong.com; 17 Oct 2008 16:09:18 +0000 Original-Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HG9Fw9017707 for <1187@emacsbugs.donarmstrong.com>; Fri, 17 Oct 2008 09:09:17 -0700 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m9HG96v7021918; Fri, 17 Oct 2008 10:09:09 -0600 Original-Received: from acsmt704.oracle.com (acsmt704.oracle.com [141.146.40.82]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9HG95Bq010955; Fri, 17 Oct 2008 10:09:06 -0600 Original-Received: from dradamslap1 (/141.144.60.60) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 17 Oct 2008 09:09:05 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AckwcU7neTUfPNnjRkenpkpW3yI58QAAF9ug X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 17 Oct 2008 12:30:13 -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:21618 Archived-At: > I think the problem is a bad interaction between your language > environment and the file in question. > > Does the following command load vline.el successfully? > > emacs -Q --eval '(let ((coding-system-for-read (quote utf-8))) > (load-file "path/to/vline.el"))' Yes, that works. (Actually, I just put the sexp in *scratch* and eval'd it there. > For me, the above works regardless of my LANG environment > variable however: > > LANG=en_US emacs -Q --eval '(load-file "path/to/vline.el")' > > Loading /Home/s0198183/tmp/vline.el (source)... > Invalid read syntax: "?" > > In this case, emacs uses the iso-latin-1 coding-system to open > the file and barfs when trying to read the utf-8 character in it. OK, I guess you found the problem, but what is the solution? Are users expected to set `coding-system-for-read'? Is vline.el expected to use a local variable to state that it is UTF-8? This seemed to work OK in Emacs 22 without users doing anything special. But, as Eli said (or perhaps it was you), perhaps Emacs 22 was simply ignoring some of the code. Is this a vline.el bug or an Emacs 23 bug or an Emacs 22 bug or a user problem (language environment)?