help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Using tramp with sunrise-commander


From: Haines Brown
Subject: Re: Using tramp with sunrise-commander
Date: Mon, 06 Dec 2010 08:44:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

José A. Romero L. <escherdragon@gmail.com> writes:

>> save it. My only (petty) problem is that when I close the emacs
>> editor I'm not returned to the remote directory in which the test
>> file was located, but back to my local scratch page. I have to change
>> buffers to get back to where I was.
>
> That's by design: ...  IIRC you are now using the popviewer extension,
> so you could try using "o" (or "v") instead of Enter to open your
> files

No, I was not using it, but it sounds useful. I tried it. Very nice!
Only one little problem. How do I kill the popup frame from the keyboard
(mouse works ok). Repeated C-x k simply takes me through a history of
buffers. Starting with the viewed text, then message, then scratch, then
"ftp>", then sunrise, then.... Of course, a C-x C-c takes the popup out,
but it takes out the main emacs process at same time.

Another problem, perhaps related to the first. If I visit a remote host
with tramp, and then seek to exit the tramp ftp connection by closing
the buffer displaying the remote host, this no longer works. I believe
before adding sunrise-x-popup I could do C-x k to kill the buffer
displaying the remote site while in Sunrise-Commander, but now, with
sunrise-x-popup, when I try to do that, I'm kicked out of
Sunrise-Commander altogether and am thrown back to the emacs scratch
buffer in a single window, fundamental mode. The buffer holding the
display of the remote site is still alive.

[re. accessing an ordinary remote host from Sunrise-Commander]

>> In .emacs I have:
>>
>>   (setq tramp-default-method "ftp")
>>   (setenv "teufel" "/ftp:bro...@ftp.teufel.HistoricalMaterialism.info")
> (...)
>
> I think that last string should be rather:
>
>     "/ftp:bro...@ftp.teufel.HistoricalMaterialism.info:/"

Thanks. Tried that, but after supplying remote PW, tramp hangs so badly
that I have to issue a kill command on the emacs process. But this is a
tramp issue, not sunrise-commander, for I have the same problem in the
dired mode.

Haines


reply via email to

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