From: Lennart Borgman <lennart.borgman@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>,
Michael Albinus <michael.albinus@gmx.de>
Cc: 5303@debbugs.gnu.org
Subject: bug#5303: 23.1.91; Cannot load .emacs-history from savehist.el
Date: Sat, 16 Jan 2010 21:03:30 +0100 [thread overview]
Message-ID: <e01d8a51001161203v6700f820u1898522b03701ca0@mail.gmail.com> (raw)
In-Reply-To: <87bpgtu9o5.fsf@stupidchicken.com>
On Sat, Jan 16, 2010 at 8:33 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
>> Trying to load the attached file raises the error "End of file during
>> parsing: c:/.emacs-history".
>>
>> There is no real end-of-file problem, however: This file was created
>> by savehist.el using Emacs 23.1, and it loads fine in all releases of
>> Emacs (20 through 23). An error is raised only for the Emacs
>> 23.1.91.1 pretest.
>>
>> However, something weird is going on. If the file is in c:/ when I try
>> to load it, then the error is raised. If the file is in c:/mydir/ when
>> I try to load it, then it loads with no error. I do not understand
>> this at all. Exactly the same file, different behavior. And it doesn't
>> matter whether I make the file copy using Emacs C-x C-w or using
>> Windows copy+paste.
>
> I'm afraid I can't reproduce this. There's no error loading the file.
> Maybe it's a Windows-only bug.
I can confirm the bug is there. If I do
M-x load-file
and the file is named c:/emacs-history it fails, but not if the name
is c:/dl/emacs-history.
The problem is in file-name-handler-alist. Removing
tramp-completion-file-name-handler makes the error go away. But
unfortunately that is not TRTTD...
Here is the command to remove it:
(setq file-name-handler-alist
(delete '("\\`\\([a-zA-Z]:\\)?/[^/]*\\'" .
tramp-completion-file-name-handler)
file-name-handler-alist))
next prev parent reply other threads:[~2010-01-16 20:03 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8F73D1539CE042B8A9B48F767127C43B@us.oracle.com>
2010-01-16 19:33 ` bug#5303: 23.1.91; Cannot load .emacs-history from savehist.el Chong Yidong
2010-01-16 20:03 ` Lennart Borgman [this message]
2010-01-16 21:11 ` Kevin Rodgers
2010-01-17 16:54 ` Michael Albinus
2010-01-17 16:58 ` Lennart Borgman
2010-01-17 17:18 ` Michael Albinus
2010-01-17 19:46 ` Lennart Borgman
2010-01-19 13:40 ` Michael Albinus
2010-01-19 17:39 ` Drew Adams
2010-01-19 19:28 ` Eli Zaretskii
2010-01-19 19:30 ` Chong Yidong
2010-01-19 19:36 ` Michael Albinus
2010-01-19 21:24 ` Eli Zaretskii
2010-01-19 22:13 ` Eli Zaretskii
2010-01-20 1:25 ` Lennart Borgman
2010-01-20 8:44 ` Michael Albinus
2010-01-20 8:46 ` Lennart Borgman
2010-01-20 8:56 ` Michael Albinus
2010-01-20 9:02 ` Lennart Borgman
2010-01-20 9:45 ` Michael Albinus
2010-01-20 10:39 ` Eli Zaretskii
2010-01-20 10:50 ` Michael Albinus
2010-01-19 19:37 ` Drew Adams
2010-01-19 19:44 ` Eli Zaretskii
2010-01-19 19:52 ` Drew Adams
2010-01-19 21:31 ` Eli Zaretskii
2010-01-19 20:01 ` Lennart Borgman
2010-01-20 9:00 ` Michael Albinus
2010-01-20 9:04 ` Lennart Borgman
2010-01-20 10:13 ` Michael Albinus
2010-01-20 10:38 ` Lennart Borgman
2010-01-20 12:01 ` Michael Albinus
2010-01-20 12:03 ` Lennart Borgman
2010-01-20 12:15 ` Michael Albinus
2010-01-20 12:21 ` Lennart Borgman
2010-01-20 15:32 ` Drew Adams
2010-01-20 15:41 ` Michael Albinus
2010-01-20 17:33 ` Drew Adams
2010-01-20 18:18 ` Eli Zaretskii
2010-01-21 1:02 ` Lennart Borgman
2010-01-21 18:24 ` Eli Zaretskii
2010-01-21 18:42 ` Chong Yidong
2010-01-21 20:41 ` Chong Yidong
2010-01-20 18:17 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a51001161203v6700f820u1898522b03701ca0@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=5303@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
--cc=michael.albinus@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).