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: Thu, 24 Oct 2019 21:36:03 +0200	[thread overview]
Message-ID: <874kzyylzw.fsf@gmx.de> (raw)
In-Reply-To: <87v9seb0af.fsf@gnu.org> (Tassilo Horn's message of "Thu, 24 Oct 2019 18:01:12 +0200")

Tassilo Horn <tsdh@gnu.org> writes:

> Hi all,

Hi Tassilo,

> with "emacs -q", C-x C-f /ssh:<tab> showed many completions for host
> names but with my custom emacs setup, it just says [no matches].  I've
> debugged around for an hour, started to write this mail, and then
> eventually found the culprit.
>
> It seems like you absolutely must have the `basic' completion style in
> `completion-styles' or the `file' entry in
> `completion-category-overrides'.  No `basic', no Tramp username/hostname
> completions.
>
> Just in case someone runs into the same issue...

I cannot reproduce the problem. With a recent Emacs 27.0.50, I run

- emacs -Q --eval "(setq completion-styles '(partial-completion emacs22) completion-category-overrides nil)"

- C-x C-f /ssh: TAB

It returns completion /ssh: and /sshx:

- Moving point after the colon, inserting f TAB

It returns all hostnames starting with f. You could apply another letter
but f, of course.

> Bye,
> Tassilo

Best regards, Michael.



  parent reply	other threads:[~2019-10-24 19:36 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 [this message]
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
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=874kzyylzw.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.