From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: hostname and filename as frame title
Date: Fri, 12 Feb 2010 09:17:59 -0800 [thread overview]
Message-ID: <4B758D47.8070203@gmail.com> (raw)
In-Reply-To: <nqmxzed5rx.fsf@alcatel-lucent.com>
On Friday 12 February 2010 03:58 AM, Michael Albinus wrote:
> 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.
Yes I ended up commenting that one out. :) Trying to write a function to
extract the username from ~/.ssh/config would be a good exercise in lisp
for a newbie like me. Thanks, I appreciate the help.
>
> Best regards, Michael.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2010-02-12 17:17 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
2010-02-12 17:17 ` Suvayu Ali [this message]
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=4B758D47.8070203@gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/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.