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:21:16 -0700 Message-ID: <001401c93074$62481300$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 1224262237 4637 80.91.229.12 (17 Oct 2008 16:50:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 16:50:37 +0000 (UTC) Cc: wence@gmx.li, 1187@emacsbugs.donarmstrong.com To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 18:51:36 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 1KqsXk-00048L-P2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 18:51:17 +0200 Original-Received: from localhost ([127.0.0.1]:48427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqsWf-0008Ip-MW for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 12:50:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqsWb-0008Ib-8b for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:50:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqsWY-0008Hp-O5 for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:50:03 -0400 Original-Received: from [199.232.76.173] (port=44665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqsWY-0008Hk-It for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:50:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56486) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqsWY-0008T4-0a for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 12:50:02 -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 m9HGo0M7027379; Fri, 17 Oct 2008 09:50:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9HGU3rJ022643; Fri, 17 Oct 2008 09:30: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:30: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.122426048821302 (code B ref 1187); Fri, 17 Oct 2008 16:30:03 +0000 Original-Received: (at 1187) by emacsbugs.donarmstrong.com; 17 Oct 2008 16:21:28 +0000 Original-Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HGLOb2021296 for <1187@emacsbugs.donarmstrong.com>; Fri, 17 Oct 2008 09:21:26 -0700 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m9HGLHGl015399; Fri, 17 Oct 2008 11:21:18 -0500 Original-Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9HGLFZ1032114; Fri, 17 Oct 2008 10:21:16 -0600 Original-Received: from dradamslap1 (/141.144.60.60) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 17 Oct 2008 09:21:15 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AckwcZoBl5ljFcVvSpi57GflV9fVYAAARniQ 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:50:03 -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:21620 Archived-At: > > > 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. > > No, I said visiting with "C-x C-f". Not really. You said: For me, the file vline.el downloaded from the above address loads ^^^^^ successfully even without setting LANG to "C". But you did add this, which confuses things (loading with visiting): Just a simple "C-x C-f" works and doesn't throw any errors. I didn't notice that last part. > And your original report said: > > Library vline.el can be read fine in Emacs 22, but Emacs 23 > raises an error, saying Invalid read syntax: "?". > > It said nothing about evaluating it. Yes, I too was not clear enough. I meant load, not visit. > Anyway, does the problem go away if you visit the file with > > "C-x RET c utf-8 RET C-x C-f vline.el RET" > > before evaluating it? Yes and no. I did `C-x RET c utf-8 RET C-x C-f vline.el RET'. If I then do `M-x load-file RET', then I get the same error. However, if instead of `M-x load-file RET' I use `M-x eval-buffer RET', then I don't get the error. > If this does the trick, then please talk to the author and ask him to > include an explicit coding: cookie in the file. I can do that, if you tell me exactly what to tell him needs to be done. However, is it normal that Emacs 23 raises an error if the encoding is wrong? Emacs 22 does not raise any error here.