From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs unconditionally loads tramp.el Date: Fri, 28 Apr 2006 09:15:54 +0300 Message-ID: References: <87r73n5o5x.fsf@pacem.orebokech.com> <87iroz5g0z.fsf@pacem.orebokech.com> <87u08iyd2r.fsf@gmx.de> <87hd4ewcj0.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146204967 30446 80.91.229.2 (28 Apr 2006 06:16:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Apr 2006 06:16:07 +0000 (UTC) Cc: romain@orebokech.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 28 08:16:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZMGr-0002EG-Do for ged-emacs-devel@m.gmane.org; Fri, 28 Apr 2006 08:16:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZMGq-0006rs-P4 for ged-emacs-devel@m.gmane.org; Fri, 28 Apr 2006 02:16:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZMGd-0006rd-MO for emacs-devel@gnu.org; Fri, 28 Apr 2006 02:15:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZMGb-0006rR-Og for emacs-devel@gnu.org; Fri, 28 Apr 2006 02:15:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZMGb-0006rO-Jm for emacs-devel@gnu.org; Fri, 28 Apr 2006 02:15:49 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZMJg-00057f-96 for emacs-devel@gnu.org; Fri, 28 Apr 2006 02:19:00 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-215-212.inter.net.il [83.130.215.212]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DFQ05497 (AUTH halo1); Fri, 28 Apr 2006 09:15:46 +0300 (IDT) Original-To: Michael Albinus In-reply-to: <87hd4ewcj0.fsf@gmx.de> (message from Michael Albinus on Fri, 28 Apr 2006 06:26:59 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53542 Archived-At: > From: Michael Albinus > Date: Fri, 28 Apr 2006 06:26:59 +0200 > Cc: romain@orebokech.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > > "/" matches `tramp-completion-file-name-regexp'. Any single > (expand-file-name "/") loads Tramp after my recent changes. It's a nuisance to have a large package load whenever I type an absolute file name and press TAB after typing a part that contains only one slash. Not only does it take time, it also causes the part I typed to be obscured by the "Loading WHATEVER...done" message; I need to type some key to get that message erased without having to wait for its timeout. Can we talk about this (mis)feature, and maybe find a less annoying solution for whatever problem it is trying to solve? > That's not new, because it's a similar story with Emacs 21 and > `ange-ftp-completion-hook-function'. It was annoying in ange-ftp as well. There's no need to keep old annoyances. > The only difference is that Ange-FTP is loaded only for > `file-name-completion´, whereas Tramp is loaded in more cases. So it's even more annoying in Tramp, IMO. Just typing "C-x C-f /", without even a TAB, loads Tramp and regex-opt. > I was thinking about a customer option, which let's the user decide > whether (s)he wants Tramp hostname completion. Can we perhaps take the hostname completion part out of Tramp (and out of ange-ftp) and have it preloaded?