From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lawrence Mitchell'" <wence@gmx.li>
Cc: 1187@emacsbugs.donarmstrong.com
Subject: bug#1187: 23.0.60; Cannot read vline.el - invalid read syntax
Date: Fri, 17 Oct 2008 09:09:03 -0700 [thread overview]
Message-ID: <001301c93072$af3dfcd0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <?fnord?y3h6k5c75i3o.fsf@ID-97657.user.individual.net>
> 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)?
next prev parent reply other threads:[~2008-10-17 16:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwv3aivjkhw.fsf-monnier+emacsbugreports@gnu.org>
2008-10-16 21:22 ` bug#1187: 23.0.60; Cannot read vline.el - invalid read syntax Drew Adams
2008-10-16 23:41 ` Lennart Borgman (gmail)
2008-10-17 0:00 ` Drew Adams
2008-10-17 8:18 ` Eli Zaretskii
2008-10-17 8:36 ` Lennart Borgman (gmail)
2008-10-17 9:57 ` Eli Zaretskii
2008-10-17 8:15 ` Eli Zaretskii
2008-10-17 14:26 ` Drew Adams
2008-10-17 12:30 ` Lawrence Mitchell
2008-10-17 13:07 ` Eli Zaretskii
2008-10-17 14:40 ` Drew Adams
2008-10-17 15:53 ` Drew Adams
2008-10-17 16:04 ` Eli Zaretskii
2008-10-17 14:58 ` Lennart Borgman (gmail)
2008-10-17 15:18 ` Drew Adams
2008-10-17 15:58 ` Lawrence Mitchell
2008-10-17 16:09 ` Drew Adams [this message]
2008-10-17 16:00 ` Eli Zaretskii
2008-10-17 16:21 ` Drew Adams
2008-10-17 18:24 ` Eli Zaretskii
2008-10-20 10:28 ` Kenichi Handa
2008-10-20 10:58 ` Eli Zaretskii
2008-10-21 2:40 ` Kenichi Handa
2008-10-21 4:46 ` Drew Adams
2008-10-17 15:55 ` bug#1187: marked as done (23.0.60; Cannot read vline.el - invalid read syntax) Emacs bug Tracking System
[not found] ` <handler.1187.D1187.122425837312105.notifdone@emacsbugs.donarmstrong.com>
2008-10-17 16:48 ` bug#1187: closed by Stefan Monnier <monnier@iro.umontreal.ca> (Re: bug#1187: 23.0.60; " Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001301c93072$af3dfcd0$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=1187@emacsbugs.donarmstrong.com \
--cc=wence@gmx.li \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.