unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Lorenzo Isella" <lorenzo.isella@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Strange (to me ) problem with TRAMP
Date: Wed, 1 Oct 2008 11:47:18 +0200	[thread overview]
Message-ID: <a2b3004b0810010247i12b5cf2eo800691684e3e74a7@mail.gmail.com> (raw)

Dear All,
I am experimenting several shells to use within emacs. I am quite
pleased with eshell, right now, but I am rather puzzled at the strange
message I get in a separate buffer if, for instance, I type

cd /
and press TAB.
See below:

ssh: Could not resolve hostname fcp: Name or service not known

Process *tramp/scp fcp* exited abnormally with code 255

Otherwise, I have no trouble. I could not find anything about tramp in
my .emacs file (nor I ever do anything similar to accessing files
remotely).
I paste below my customization of eshell, in case I may have done
something wrong:

;; eshell autocompletion for choosing directories






(defun eshell-get-dir-from-dir-ring (dir-name)
  "Interactively select directory from eshell-last-dir-ring"
  (interactive (list (flet ((iswitchb-make-buflist
                             (default)
                             (setq iswitchb-buflist (ring-elements
eshell-last-dir-ring))))
                       (iswitchb-read-buffer "Change to directory: "))))
  dir-name)


(defun eshell-electric-insert-dir ()
  "Handy when copying and moving files to, or changing to a certain
directory. On the prompt, type a space, a colon (`:') and call this function,
preferably bound to the TAB key."
  (interactive)
  (if (save-excursion
        (goto-char (- (point) 2))
        (if (looking-at " :")
            t
          nil))
      (let ((dir (call-interactively 'eshell-get-dir-from-dir-ring)))
        (delete-char -1)
        (insert (pcomplete-quote-argument dir)))
    (pcomplete)))



(custom-set-variables
 '(eshell-scroll-to-bottom-on-input t)  ; always insert at the bottom
 '(eshell-scroll-to-bottom-on-output t) ; always add output at the bottom
 '(eshell-scroll-show-maximum-output t) ; scroll to show max possible output
 '(eshell-completion-autolist t)        ; show completion list when ambiguous
 '(eshell-input-ignoredups t)           ; no duplicates in command history
 '(eshell-completion-addsuffix t)       ; insert space/slash after
file completion
 )

Does anyone have any idea of what may be causing my (rather small)
inconvenience?
Kind Regards

Lorenzo




             reply	other threads:[~2008-10-01  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01  9:47 Lorenzo Isella [this message]
     [not found] <mailman.20307.1222854444.18990.help-gnu-emacs@gnu.org>
2008-10-01 14:34 ` Strange (to me ) problem with TRAMP Cor Gest
  -- strict thread matches above, loose matches on Subject: below --
2008-10-02 11:10 Lorenzo Isella
     [not found] <mailman.30.1222945856.25473.help-gnu-emacs@gnu.org>
2008-10-02 12:14 ` Cor Gest

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a2b3004b0810010247i12b5cf2eo800691684e3e74a7@mail.gmail.com \
    --to=lorenzo.isella@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).