From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Emacs unconditionally loads tramp.el Date: Mon, 24 Apr 2006 15:18:33 +0200 Message-ID: References: <87r73n5o5x.fsf@pacem.orebokech.com> <87iroz5g0z.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145884738 20848 80.91.229.2 (24 Apr 2006 13:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2006 13:18:58 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 24 15:18:55 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 1FY0xn-0002QU-JL for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 15:18:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FY0xn-0007jK-12 for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 09:18:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FY0xb-0007gy-Da for emacs-devel@gnu.org; Mon, 24 Apr 2006 09:18:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FY0xZ-0007e3-LE for emacs-devel@gnu.org; Mon, 24 Apr 2006 09:18:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FY0xZ-0007da-Do for emacs-devel@gnu.org; Mon, 24 Apr 2006 09:18:37 -0400 Original-Received: from [194.113.59.96] (helo=mailrelay2.alcatel.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FY0zo-0003oS-70 for emacs-devel@gnu.org; Mon, 24 Apr 2006 09:20:56 -0400 Original-Received: from slbhac.alcatel.de (slbhac.bln.sel.alcatel.de [149.204.63.216]) by mailrelay2.alcatel.de (8.12.11.20060308/8.12.11/ICT TSC MAIL 2005) with ESMTP id k3ODIXJo025108; Mon, 24 Apr 2006 15:18:33 +0200 Original-To: Romain Francoise In-Reply-To: <87iroz5g0z.fsf@pacem.orebokech.com> (Romain Francoise's message of "Mon, 24 Apr 2006 14:12:12 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux) X-Scanned-By: MIMEDefang 2.49 on 149.204.45.73 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:53335 Archived-At: Romain Francoise writes: > Michael Albinus writes: > >> That's right. It is due to `tramp-register-file-name-handlers' in >> `emacs-startup-hook', which is an autoloaded function. But Tramp would >> be loaded anyway when one tries to complete a filename in the >> minibuffer, because the intention of my change is to provide >> method/username/hostname completion for remote files. "C-x C-f / " >> would be sufficient to load Tramp. > > In that case, tramp.el and regexp-opt should probably be preloaded, > rather than be loaded every time via `emacs-startup-hook'. ... or revert the change to the previous behaviour: method/ username/ hostname completion are active only after loading the first remote file. I'm really undecided what's better. Best regards, Michael.