all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <Michael.Albinus@alcatel.de>
Subject: Re: Avoid efficiency issues with user/host name completion in Tramp
Date: 15 Sep 2002 14:50:28 +0200	[thread overview]
Message-ID: <nqk7lnmn6z.fsf@alcatel.de> (raw)
In-Reply-To: <vafwupppmvx.fsf@lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> (e) Require the user to type ":" at the end of the filename before
>     invoking completion.  So the user types "/ho:" and then hits TAB
>     and the system completes to "/host:".  This is a funny kind of
>     completion and different from the rest of Emacs.  But with
>     partial-completion-mode it could make some kind of sense.

I don't see the advantage of this alternative. If "/ho: <TAB>" is
expanded to a host name, there's still the problem that parsing the
file containing all host names takes time. And at this stage of
completion I (as user) would expect, that "ho" is already a complete
(method or) host name, and in case of host name it returns all file
names found there.

I guess, that Kai's alternatives a) and b) are promising: Cache the
host names once they are read, and allow to discard expansive
host name configuration files via customisation.

> kai

Best regards, Michael.

      parent reply	other threads:[~2002-09-15 12:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 22:04 Avoid efficiency issues with user/host name completion in Tramp Kai Großjohann
2002-09-15  1:50 ` Richard Stallman
2002-09-15 12:50 ` Michael Albinus [this message]

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=nqk7lnmn6z.fsf@alcatel.de \
    --to=michael.albinus@alcatel.de \
    /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.