From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: rfn-eshadow Date: Wed, 09 Jan 2008 09:13:31 +0100 Message-ID: References: <87k5mq60y8.fsf@jurta.org> <87tzltrjqc.fsf@jurta.org> <87wsqp2r7v.fsf@jurta.org> <87d4shgrgo.fsf@gmx.de> <87fxxclfss.fsf@jurta.org> <87ir27t5ae.fsf@gmx.de> <87sl1apql7.fsf@jurta.org> <87zlviunpk.fsf@gmx.de> <8763y324rn.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199866391 27759 80.91.229.12 (9 Jan 2008 08:13:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 08:13:11 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 09 09:13:29 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCW40-0002O4-Tl for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 09:13:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCW3d-0004EJ-B4 for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 03:13:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCW3Z-0004Du-N9 for emacs-devel@gnu.org; Wed, 09 Jan 2008 03:13:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCW3W-0004DP-Sl for emacs-devel@gnu.org; Wed, 09 Jan 2008 03:13:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCW3W-0004DJ-Nz for emacs-devel@gnu.org; Wed, 09 Jan 2008 03:12:58 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCW3R-000612-W0; Wed, 09 Jan 2008 03:12:54 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCW3N-0000v9-N3; Wed, 09 Jan 2008 03:12:50 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id m098Chwa019705; Wed, 9 Jan 2008 09:12:44 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 08 Jan 2008 21:17:40 -0500") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86624 Archived-At: Stefan Monnier writes: > Indeed, in the above recipe, Tramp gets loaded while we're inside the > ffap, i.e. while inside the `let' binding, so the > tramp-file-name-handler' gets removed when get out of the let > binding :-( > I.e. we shouldn't use let-binding. I installed the untested patch below > which should hopefully fix this problem. Likely it does (I have no recent checked out version at hand). But ... wouldn't be the clean solution to simply call url-handler-mode, and let it be active? Why do we need to remove url-file-handler from file-name-handler-alist afterwards? If somebody copies a url as filename into the minibuffer (that's ffap functionality), and intends to load this file, this seems to be TRT. And if url-handler-mode hurts, it needs to be fixed there. > Stefan Best regards, Michael.