all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Tassilo Horn <tsdh@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp shows no user/host completions (solved while writing)
Date: Sun, 27 Oct 2019 09:01:20 +0100	[thread overview]
Message-ID: <874kzuy5v3.fsf@gmx.de> (raw)
In-Reply-To: <87zhhn9nw5.fsf@gnu.org> (Tassilo Horn's message of "Sat, 26 Oct 2019 23:51:06 +0200")

Tassilo Horn <tsdh@gnu.org> writes:

Hi Tassilo,

>> Indeed. When I complete "/ssh:f TAB" with one of `emacs21', `emacs22'
>> or `basic' in `completion-styles', I see the call
>>
>> (file-name-all-completions "ssh:f" "/")
>>
>> which performs host name completion in Tramp. For the other completion
>> styles, there is just
>>
>> (file-name-all-completions "ssh" "/") ;; for `partial-completion'
>>
>> or
>>
>> (file-name-all-completions "" "/") ;; for `substring' and `flex'
>>
>> or even no call for `initials'.
>
> Would you consider that a bug?

I'm not sure. But I'm not an expert in completion styles.

> At least from a user perspective, it seems odd that more powerful
> completion styles restrict the completion candidates, though I do
> understand the technical details that lead to the observed results.

I don't understand every completion style as complete. More
sophisticated ones, like `flex', *add* completion options. That's why
they are best combined with something like `basic'.

That's not how it is documented. If my assumption is correct, the
documentation shall be adapted. Otherwise, it might be a bug, indeed.

But again, this is out of my knowledge.

> Bye,
> Tassilo

Best regards, Michael.



  reply	other threads:[~2019-10-27  8:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 16:01 Tramp shows no user/host completions (solved while writing) Tassilo Horn
2019-10-24 16:47 ` Drew Adams
2019-10-24 19:40   ` Michael Albinus
2019-10-24 20:08     ` Drew Adams
2019-10-24 19:36 ` Michael Albinus
2019-10-24 19:45   ` Tassilo Horn
2019-10-25  5:00     ` Tassilo Horn
2019-10-25 14:38       ` Michael Albinus
2019-10-26 21:51         ` Tassilo Horn
2019-10-27  8:01           ` Michael Albinus [this message]
2019-10-27 21:30             ` Stefan Monnier
2019-10-28  6:57               ` Tassilo Horn
2019-10-28  7:44               ` Michael Albinus

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=874kzuy5v3.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsdh@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.
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.