From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#5303: 23.1.91; Cannot load .emacs-history from savehist.el Date: Wed, 20 Jan 2010 11:50:29 +0100 Message-ID: References: <8F73D1539CE042B8A9B48F767127C43B@us.oracle.com> <87bpgtu9o5.fsf@stupidchicken.com> <87aawc1xlb.fsf@gmx.de> <8763701whc.fsf@gmx.de> <87r5pm2owq.fsf@gmx.de> <83ockp7v2d.fsf@gnu.org> <87bpgphop0.fsf@gmx.de> <83k4vd7pp4.fsf@gnu.org> <87ockpqi6d.fsf@gmx.de> <87aaw9qfcc.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263985986 5091 80.91.229.12 (20 Jan 2010 11:13:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 11:13:06 +0000 (UTC) Cc: "5303@debbugs.gnu.org" <5303@debbugs.gnu.org>, "cyd@stupidchicken.com" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 20 12:12:58 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 1NXYUa-00069E-BM for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 12:12:56 +0100 Original-Received: from localhost ([127.0.0.1]:51405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXYUb-00084N-6A for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 06:12:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXYRK-0006ch-OO for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 06:09:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXYRF-0006XO-75 for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 06:09:33 -0500 Original-Received: from [199.232.76.173] (port=47657 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXYRE-0006XG-Tk for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 06:09:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59840) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NXYRE-0001k8-Hf for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 06:09:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NXY9N-0004dy-UE; Wed, 20 Jan 2010 05:51:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jan 2010 10:51:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5303 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 5303-submit@debbugs.gnu.org id=B5303.126398463817835 (code B ref 5303); Wed, 20 Jan 2010 10:51:01 +0000 Original-Received: (at 5303) by debbugs.gnu.org; 20 Jan 2010 10:50:38 +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 1NXY8z-0004dc-CZ for submit@debbugs.gnu.org; Wed, 20 Jan 2010 05:50:37 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXY8w-0004dX-0Z for 5303@debbugs.gnu.org; Wed, 20 Jan 2010 05:50:34 -0500 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id o0KAoUti025115; Wed, 20 Jan 2010 11:50:30 +0100 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id o0KAoTu9007322; Wed, 20 Jan 2010 11:50:30 +0100 (MET) In-Reply-To: (Eli Zaretskii's message of "Wed, 20 Jan 2010 11:39:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Alcanet-virus-scanned: o0KAoTu9007322 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -6.6 (------) Resent-Date: Wed, 20 Jan 2010 05:51:01 -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:34555 Archived-At: Eli Zaretskii writes: >> ! handler = Ffind_file_name_handler (string, >> ! NILP (Vinhibit_file_name_operation) >> ! ? Qfile_exists_p >> ! : Vinhibit_file_name_operation); > > But this assumes that `openp is called for the same file op for which > the value inhibit-file-name-operation was set, doesn't it? I'm not > sure such an assumption is safe: `openp' is a very popular utility > function, it is called by many Lisp APIs, and could very well be > called by some primitive that has nothing to do with > inhibit-file-name-operation's value. Then one could set Vinhibit_file_name_operation to Qfile_exists_p in Fload, before calling openp. Temporarily, of course. >> > Tramp inhibits the file name handler of `load'. `openp' checks for a >> > file name handler of `file-exists-p', which is not inhibited. > > Let me turn the table and ask you: why doesn't Tramp inhibit _all_ its > file name handlers in this case? IIUC, what we want here is to have > `load' do its thing with a local file. So which other handlers could > we want to be active in this case? `jka-compr-handler', `epa-file-handler' for example. Imagine, you want to load "C:/this_file.gz" or "C:/this_file.gpg".