all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
Subject: Using ssh-host in ssh.el mode hook?
Date: Tue, 29 Oct 2002 11:10:48 +0100	[thread overview]
Message-ID: <aplmra$mdr$1@sapa.inka.de> (raw)

Hi,

in order to get file name completion via Tramp I added the following code to 
the mode hook of ssh mode:
  (lambda () (setq comint-file-name-prefix (concat "/ssh:" ssh-host ":")))
However, ssh-host does not seem to be defined at the time the mode hook is 
applied. Therefore, after starting an ssh session to somehost, 
comint-file-name-prefix contains "/ssh::" instead of "/ssh:somehost:".

Any ideas how to solve this problem?

Felix

             reply	other threads:[~2002-10-29 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 10:10 Felix E. Klee [this message]
2002-10-29 15:19 ` Using ssh-host in ssh.el mode hook? Felix E. Klee

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='aplmra$mdr$1@sapa.inka.de' \
    --to=felix.klee@inka.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.