[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host
From: |
Michael Albinus |
Subject: |
bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell |
Date: |
Fri, 18 Aug 2023 17:12:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
>> --8<---------------cut here---------------start------------->8---
>> (defun pcomplete/cd ()
>> "Completion for `cd'."
>> (while (pcomplete-here (completion-table-in-turn
>> (pcomplete-tramp)
>> (pcomplete-dirs)))))
>> --8<---------------cut here---------------end--------------->8---
>
> AFIK this applies to `M-x shell` as well, so it doesn't seem
> quite right.
Yes. However, there is already another problem in shell-mode. My patch
completes only incomplete Tramp file names, like "/ss". Complete Tramp
file names are handled by pcomplete-dirs already. So we see in a *shell*
buffer, w/o my patch:
--8<---------------cut here---------------start------------->8---
[albinus@gandalf ~]$ cd /ssh:host: TAB
=> all directories on that remote host
--8<---------------cut here---------------end--------------->8---
So we must fix completion of remote file names in shell-mode anyway. This
would prevent also the modified pcomplete/cd to show any Tramp related
file name.
> Stefan
Best regards, Michael.
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/17
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Jim Porter, 2023/08/17
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/18
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/18
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Stefan Monnier, 2023/08/18
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell,
Michael Albinus <=
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Stefan Monnier, 2023/08/18
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Jim Porter, 2023/08/18
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/19
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Stefan Monnier, 2023/08/19
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/19
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Stefan Monnier, 2023/08/19
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/20
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Jim Porter, 2023/08/20
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Michael Albinus, 2023/08/20
- bug#65356: 30.0.50; [wishlist] Support Tramp method, user name and host name completion in eshell, Jim Porter, 2023/08/22