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

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

Re: hostname and filename as frame title


From: Michael Albinus
Subject: Re: hostname and filename as frame title
Date: Fri, 12 Feb 2010 12:58:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> Hi Michael,

Hi,

> However because of all the different machines and different usernames, I 
> rely on my ~/.ssh/config to specify the username on the remote machine. 
> So I open a remote file like this,
>
> `/ssh:remote-host-alias:/path/to/file'
>
> Probably that is why the frame title shows up as,
>
> `local-user@remote-host:file'

Yes. Tramp does not know the application specific configuration.

> But I think I can live with that. Thanks a lot Michael. :)

So either you obmit the user part in the frame title (it is of no use
for you then), or you write your own small function which extracts it
from ~/.ssh/config.

Best regards, Michael.




reply via email to

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