unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Colin Williams <lackita@gmail.com>,
	"4004@emacsbugs.donarmstrong.com"
	<4004@emacsbugs.donarmstrong.com>,
	emacs-devel@gnu.org
Subject: bug#4004: filename completion
Date: Fri, 07 Aug 2009 14:04:32 +0200	[thread overview]
Message-ID: <nqprb7vnhr.fsf__11313.6347420097$1249648111$gmane$org@alcatel-lucent.de> (raw)
In-Reply-To: <jwvmy6c23nk.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Thu, 6 Aug 2009 20:37:15 +0200")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

[added emacs-devel, we shall continue to discuss there]

>> I must check the code, but IIRC partial-completion-mode is just an
>> indication for Tramp whether some file name completion functionality
>> shall be enabled, before Tramp is fully loaded. There were people who
>> disliked Tramp's file name completion.
>
> Then this needs to be fixed.  Looking at the code, I can't quite
> understand what it does: it seems that Tramp's method/user/host
> completion is only activated for people you use either
> partial-completion-mode, ido, icycle, or XEmacs.  I'm not sure what's
> the logic behind it, but I'd rather just activate it based on a specific
> configuration variable (or just always activate it, as you do in
> XEmacs).  In Emacs-23, the functionality that was previous offered by
> partial-completion-mode is enabled by default (tho implemented
> differently and activated differently as well).

There was a discussion about some years ago, when I did add Tramp's
autoloads. People were annoyed, that even after typing something like
"/a" in the minibuffer, Tramp was already loaded, which raised some
delays. So it was suggested to make Tramp's autoloading optional. It was
even requested that this "optionality" should not be something, which
the user has to disnable herself; users should not be bashed by a new
feature they are not interested in.

The compromise was to find indications, were it could be expected that
the user would appreciate Tramp. partial-completion-mode was the first
candidate, ido and icycle were added later. The XEmacs case is
different, because there is another syntax for Tramp.

If partial-completion-mode is discarded in Emacs, we should either find
a replacement for this "indication", or we shall decide, that Tramp *is*
always loaded as soon as somebody writes an absolute filename in the
minibuffer.

The check for partial-completion-mode shall remain in tramp.el, for
backward compatibility.

>         Stefan

Best regards, Michael.





  reply	other threads:[~2009-08-07 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <nqvdl5e1vm.fsf@alcatel-lucent.de>
2009-08-01 16:36 ` bug#4004: filename completion Colin Williams
2009-08-03  3:13   ` Michael Albinus
2009-08-03 18:37     ` Stefan Monnier
2009-08-03 18:46       ` Michael Albinus
2009-08-06 18:37         ` Stefan Monnier
2009-08-07 12:04           ` Michael Albinus [this message]
     [not found]           ` <nqprb7vnhr.fsf@alcatel-lucent.de>
2009-08-10 19:53             ` Stefan Monnier
     [not found]             ` <jwvfxbzla87.fsf-monnier+emacsbugreports@gnu.org>
2009-08-10 20:06               ` Lennart Borgman
2009-08-03  8:40   ` bug#4004: marked as done (filename completion) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nqprb7vnhr.fsf__11313.6347420097$1249648111$gmane$org@alcatel-lucent.de' \
    --to=michael.albinus@gmx.de \
    --cc=4004@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=lackita@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).