[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
file completion and partial-completion starting with a remote filespec
From: |
Klaus Zeitler |
Subject: |
file completion and partial-completion starting with a remote filespec |
Date: |
Mon, 23 Feb 2004 16:07:01 +0100 (MET) |
Symptoms:
1. start emacs -q --no-site-file
2. in scratch buffer select ftp as tramp protocol to <remote_host> with:
(eval-after-load "tramp"
'(add-to-list 'tramp-default-method-alist '("<remote_host>" "" "ftp")))
3. use partial-completion
(partial-completion-mode 1)
4. load a file, e.g.
C-x C-f /<remote_host>:/tmp/
5. in this buffer execute again C-x C-f and erase the default
"/<remote_host>:/tmp/" in minibuffer.
Now enter a name that is not unique and press <space> to complete this
name (e.g. having ~/file and ~/file-2 in your home dir, enter ~/fil<space>)
emacs will now print "Doing CD..." and wait for a second before the completed
name is shown.
This looks to me as if completion of this name is still done via ftp
on the remote host, even so I've wiped it out in the minibuffer.
Is this behavior intended?
Without partial-completion-mode everything works just fine.
In GNU Emacs 21.3.50.13 (sparc-sun-solaris2.8, Motif Version 2.1.0)
of 2004-02-19 on sfsws4
configured using `configure '--with-gcc'
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs'
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share'
'--with-x-toolkit=motif'
'--x-includes=/usr/openwin/include:/usr/local/gnu/include'
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib' '--with-pop' 'CC=gcc''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
line-number-mode: t
Recent input:
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>
Recent messages:
Loading mwheel...done
(/usr/local/gnu/cvs/head/bin/emacs -q --no-site-file)
Loading tool-bar...done
Loading image...done
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- file completion and partial-completion starting with a remote filespec,
Klaus Zeitler <=