[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ffap-bindings incompatible with TRAMP?

From: Bernardo
Subject: Re: ffap-bindings incompatible with TRAMP?
Date: Mon, 23 Feb 2009 22:10:18 +1100
User-agent: Thunderbird (X11/20081209)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]