From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: ffap-bindings incompatible with TRAMP? Date: Mon, 23 Feb 2009 22:10:18 +1100 Message-ID: <49A2841A.9080803@pobox.com> References: <49A0DF6C.6020700@pobox.com> Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235387478 14908 80.91.229.12 (23 Feb 2009 11:11:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 11:11:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 12:12:34 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 1LbYje-0003je-Ev for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 12:12:31 +0100 Original-Received: from localhost ([127.0.0.1]:58973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbYiJ-0006lr-Pu for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 06:11:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbYi1-0006lU-6B for help-gnu-emacs@gnu.org; Mon, 23 Feb 2009 06:10:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbYhy-0006lI-UY for help-gnu-emacs@gnu.org; Mon, 23 Feb 2009 06:10:48 -0500 Original-Received: from [199.232.76.173] (port=38410 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbYhy-0006lF-RP for help-gnu-emacs@gnu.org; Mon, 23 Feb 2009 06:10:46 -0500 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:46855 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbYhy-00013M-GK for help-gnu-emacs@gnu.org; Mon, 23 Feb 2009 06:10:46 -0500 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 27B859B313 for ; Mon, 23 Feb 2009 06:10:34 -0500 (EST) Original-Received: from [192.168.1.10] (unknown [220.233.188.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 5403A9B312 for ; Mon, 23 Feb 2009 06:10:32 -0500 (EST) User-Agent: Thunderbird 2.0.0.19 (X11/20081209) In-Reply-To: <49A0DF6C.6020700@pobox.com> X-Pobox-Relay-ID: 97373828-019A-11DE-BA2C-B26E209B64D9-14340206!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:62282 Archived-At: > It appears that having (ffap-bindings) in .emacs interferes with TRAMP, > e.g. i can no longer use C-x C-f /su::/etc/somefile to open a file as root. > Would anybody know of a workaround? > > TRAMP version 2.1.15 > GNU/Linux Emacs 22.3.1 a few more details (the mail gateway hasn't forwarded Michael's message yet, but i can see it on google groups) 1. start Emacs $ emacs -Q & 2. open /etc/hosts C-x C-f /su::/etc/hosts 3. enter password when prompted 4. the file loads ok 5. quit emacs ------------------------------------------------- the second scenario: a. start Emacs $ emacs -Q & b. activate ffap-bindings M-: (ffap-bindings) c. open /etc/hosts [1] C-x C-f /su::/etc/hosts d. there is no prompt for root password although Emacs was started from a user's account; the echo area says: "Use M-x make-directory RET RET to create directory and its parents" The /etc/hosts file isn't loaded. Regards, Bernardo [1] while typing, one can see the TRAMP is loading