From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5303: 23.1.91; Cannot load .emacs-history from savehist.el Date: Sat, 16 Jan 2010 21:03:30 +0100 Message-ID: References: <8F73D1539CE042B8A9B48F767127C43B@us.oracle.com> <87bpgtu9o5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263672623 9070 80.91.229.12 (16 Jan 2010 20:10:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2010 20:10:23 +0000 (UTC) Cc: 5303@debbugs.gnu.org To: Chong Yidong , Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 16 21:10:16 2010 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 1NWEyM-000784-8l for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jan 2010 21:10:14 +0100 Original-Received: from localhost ([127.0.0.1]:41699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWEyN-0002lm-3e for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jan 2010 15:10:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWExX-0001z6-33 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2010 15:09:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWExS-0001us-0L for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2010 15:09:22 -0500 Original-Received: from [199.232.76.173] (port=41731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWExR-0001ui-RZ for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2010 15:09:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47853) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NWExR-000729-CS for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2010 15:09:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NWEsM-0000Jb-2j; Sat, 16 Jan 2010 15:04:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2010 20:04:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5303 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5303-submit@debbugs.gnu.org id=B5303.12636722381201 (code B ref 5303); Sat, 16 Jan 2010 20:04:02 +0000 Original-Received: (at 5303) by debbugs.gnu.org; 16 Jan 2010 20:03:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NWEsH-0000JK-Sa for submit@debbugs.gnu.org; Sat, 16 Jan 2010 15:03:58 -0500 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NWEsF-0000JD-G8 for 5303@debbugs.gnu.org; Sat, 16 Jan 2010 15:03:56 -0500 Original-Received: by fxm26 with SMTP id 26so1120071fxm.39 for <5303@debbugs.gnu.org>; Sat, 16 Jan 2010 12:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=APYe0i+vAiAl/bOnnI8pAIfCYJgyIfXQrTTS4Wjm06U=; b=tO7IyB2ag4dBephp01U1CeyFnOyu3Sdjgv9PJ/YzZbZRz9XlB31bmieIiaEZfQctVb BvtO10E1oicVwPyVvcQ76ffH4pMI2CisjobHkSJBeEV1vLLNN0MqvGikSWWfYsZLUwsd HNTpPkm5w3jUoA/80w/GGGSOb31jrzxiZM0Lo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ssBknFOhjl7ueP4S9yf1KzPrQYqilhkvf/ZtijHeed2Px+hLGTw/WP1r/Z7/0mNGMO Q+I11ywR5LGj1vBl4//pz1BcFghgMMA2EmnOg3/AXGe635gjLQya6C6hGLhdUt6lWHJf uzYwMpZCGpESLRThsIKVjGY/ue2ZDOMhpMiSM= Original-Received: by 10.239.187.204 with SMTP id m12mr403066hbh.160.1263672230218; Sat, 16 Jan 2010 12:03:50 -0800 (PST) In-Reply-To: <87bpgtu9o5.fsf@stupidchicken.com> X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.9 (--) Resent-Date: Sat, 16 Jan 2010 15:04:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:34393 Archived-At: On Sat, Jan 16, 2010 at 8:33 PM, Chong Yidong 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). =C2=A0An 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. =C2=A0There's no error loading the fil= e. > 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))