From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: ffap-bindings incompatible with TRAMP? Date: Thu, 26 Feb 2009 12:39:53 +0100 Message-ID: References: <49A0DF6C.6020700@pobox.com> <49A5C192.2030501@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235648299 1842 80.91.229.12 (26 Feb 2009 11:38:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2009 11:38:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bernardo.bacic@pobox.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 12:39:35 2009 Return-path: Envelope-to: geh-help-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 1LceaR-0002in-Q7 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 12:39:32 +0100 Original-Received: from localhost ([127.0.0.1]:56117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LceZ6-0008Ds-Ia for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 06:38:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LceYb-0008Dn-R5 for help-gnu-emacs@gnu.org; Thu, 26 Feb 2009 06:37:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LceYZ-0008DP-8a for help-gnu-emacs@gnu.org; Thu, 26 Feb 2009 06:37:36 -0500 Original-Received: from [199.232.76.173] (port=43074 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LceYZ-0008DM-1f for help-gnu-emacs@gnu.org; Thu, 26 Feb 2009 06:37:35 -0500 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:47432) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LceYY-00038r-Gc for help-gnu-emacs@gnu.org; Thu, 26 Feb 2009 06:37:34 -0500 Original-Received: from slbhab.alcatel.de (slbhab.de.alcatel-lucent.com [149.204.245.33]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n1QBbUBK004139; Thu, 26 Feb 2009 12:37:30 +0100 In-Reply-To: <49A5C192.2030501@pobox.com> (bernardo.bacic@pobox.com's message of "Thu\, 26 Feb 2009 09\:09\:22 +1100") User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62401 Archived-At: Bernardo writes: > done so, but there are no TRAMP buffers! > C-x C-b only shows > . hosts 0 Fundamental /su::/etc/hosts > *scratch* 0 Lisp Interaction > * *Messages* 733 Fundamental OK, that's clear now. ffap-bindings changes file-name-handler-alist, that's why Tramp is not recognized. I've checked ffap.el in CVS. Version 1.62.2.5, which comes with Emacs 22.3, does indeed suspicious file-name-handler-alist manipulations. Version 1.82, bundled with recent Emacs 23.0.90/91, has changed that code with respect to this problem. There is the following comment: ;; Remove the special handler manually. We used to just let-bind ;; file-name-handler-alist to preserve its value, but that caused ;; other modifications to be lost (e.g. when Tramp gets loaded ;; during the completing-read call). That's why I couldn't reproduce your problem with Emacs 23.0.90. I don't believe that there will be an Emacs 22.4, so you must wait for Emacs 23 (or you participate in the beta test: Emacs 23.0.91 was announced yesterday). > regards, Bernardo Best regards, Michael.