From: Michael Albinus <michael.albinus@gmx.de>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: hostname and filename as frame title
Date: Fri, 12 Feb 2010 12:58:58 +0100 [thread overview]
Message-ID: <nqmxzed5rx.fsf@alcatel-lucent.com> (raw)
In-Reply-To: <4B753281.7050004@gmail.com> (Suvayu Ali's message of "Fri, 12 Feb 2010 11:50:41 +0100")
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.
next prev parent reply other threads:[~2010-02-12 11:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1118.1265964419.14305.help-gnu-emacs@gnu.org>
2010-02-12 9:35 ` hostname and filename as frame title Michael Albinus
2010-02-12 10:50 ` Suvayu Ali
2010-02-12 11:58 ` Michael Albinus [this message]
2010-02-12 17:17 ` Suvayu Ali
2010-02-14 21:01 ` Suvayu Ali
2010-02-12 8:46 Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nqmxzed5rx.fsf@alcatel-lucent.com \
--to=michael.albinus@gmx.de \
--cc=fatkasuvayu+linux@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.