From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lawrence Mitchell Newsgroups: gmane.emacs.bugs Subject: bug#1187: 23.0.60; Cannot read vline.el - invalid read syntax Date: Fri, 17 Oct 2008 16:58:19 +0100 Organization: me Message-ID: References: <00f801c92fd5$54f26100$c2b22382@us.oracle.com> <48F8A809.2070903@gmail.com> <000001c9306b$8fc97bb0$0200a8c0@us.oracle.com> Reply-To: Lawrence Mitchell , 1187@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224259886 28098 80.91.229.12 (17 Oct 2008 16:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 16:11:26 +0000 (UTC) Cc: 1187@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 18:12:26 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 1Kqrw8-0003ky-Hh for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 18:12:24 +0200 Original-Received: from localhost ([127.0.0.1]:56232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kqrv3-0004E5-Cw for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 12:11:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kqrty-0003c2-6n for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:10:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kqrts-0003XT-JM for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:10:05 -0400 Original-Received: from [199.232.76.173] (port=49034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kqrts-0003XN-Cs for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:10:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59220) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kqrtq-0002OK-GQ for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:10:03 -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 m9HGA0aQ017719; Fri, 17 Oct 2008 09:10:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9HG56Ou016639; Fri, 17 Oct 2008 09:05:06 -0700 X-Loop: don@donarmstrong.com Resent-From: Lawrence Mitchell Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 17 Oct 2008 16:05:06 +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.122425911114501 (code B ref 1187); Fri, 17 Oct 2008 16:05:06 +0000 Original-Received: (at 1187) by emacsbugs.donarmstrong.com; 17 Oct 2008 15:58:31 +0000 Original-Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HFwOph014495 for <1187@emacsbugs.donarmstrong.com>; Fri, 17 Oct 2008 08:58:26 -0700 Original-Received: from wrath.ph.ed.ac.uk (wrath.ph.ed.ac.uk [129.215.73.7]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id m9HFwLoH016698; Fri, 17 Oct 2008 16:58:21 +0100 (BST) Original-Received: from lamacq.ph.ed.ac.uk (lamacq.ph.ed.ac.uk [129.215.72.156]) by wrath.ph.ed.ac.uk (8.13.8/8.12.10) with ESMTP id m9HFwK5k031432; Fri, 17 Oct 2008 16:58:20 +0100 Original-Received: from lamacq.ph.ed.ac.uk (localhost.localdomain [127.0.0.1]) by lamacq.ph.ed.ac.uk (8.13.1/8.12.10) with ESMTP id m9HFwKLU004093; Fri, 17 Oct 2008 16:58:20 +0100 Original-Received: (from s0198183@localhost) by lamacq.ph.ed.ac.uk (8.13.1/8.13.1/Submit) id m9HFwKuu004088; Fri, 17 Oct 2008 16:58:20 +0100 X-Authentication-Warning: lamacq.ph.ed.ac.uk: s0198183 set sender to lawrence.mitchell@ed.ac.uk using -f In-Reply-To: <000001c9306b$8fc97bb0$0200a8c0@us.oracle.com> (Drew Adams's message of "Fri, 17 Oct 2008 08:18:06 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 17 Oct 2008 12:10:05 -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:21614 Archived-At: Hi Drew: Drew Adams wrote: >>> For me, the file vline.el downloaded from the above address loads >>> successfully even without setting LANG to "C". Just a simple "C-x >>> C-f" works and doesn't throw any errors. >>> Either the version of vline.el Drew used is different, or something >>> else is at work here. Drew, are you using the patched >>> EmacsW32 binary produced by Lennart? If so, perhaps it's something >>> that is being triggered by the patches. Or maybe something in Drew's >>> .emacs customizations? >> I think Drew is using the unpatched version. > Correct. >> And I can see this problem with both the unpatched and the patched version. >> However there might be a misunderstanding. There is no error while >> reading vline.el. The error comes when I do eval-buffer. > Yes, the problem arises when I load (so, eval) the library. But > Lawrence and Eli both mentioned loading also. 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"))' ? 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. Cheers, Lawrence -- Lawrence Mitchell