From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Disabling Tramp Date: Mon, 14 Mar 2005 15:31:07 -0700 Message-ID: References: <422E4F9B.3020704@wyrdrune.com> <87sm3572yy.fsf@gmx.de> <87fyz5osds.fsf@emptydomain.de> <87u0nfwtq1.fsf@emptydomain.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110842967 21330 80.91.229.2 (14 Mar 2005 23:29:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2005 23:29:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 15 00:29:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAyrA-0005Fs-3V for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 00:20:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAz6v-0001AI-K9 for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 18:36:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DAz1r-0007wr-Ux for emacs-devel@gnu.org; Mon, 14 Mar 2005 18:31:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DAz1p-0007vy-N2 for emacs-devel@gnu.org; Mon, 14 Mar 2005 18:31:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAytg-0005hj-5U for emacs-devel@gnu.org; Mon, 14 Mar 2005 18:22:52 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DAy8d-0005s5-AG for emacs-devel@gnu.org; Mon, 14 Mar 2005 17:34:15 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DAy6N-00005D-L5 for emacs-devel@gnu.org; Mon, 14 Mar 2005 23:31:55 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2005 23:31:55 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2005 23:31:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <87u0nfwtq1.fsf@emptydomain.de> 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34593 Kai Gro?johann wrote: > Kevin Rodgers writes: >>It's generally agreed that the user should be able to enable and disable >>features at will. Should Tramp be a global minor mode a la >>auto-compression-mode and auto-image-file-mode? > > Disabling Ange-FTP works the same as disabling Tramp: You can remove > the entry from file-name-handler-alist, or you can prefix the filename > with "/:". > > Are you mentioning this now because you believe that Tramp is somehow > different? Could you explain what makes it different? Not different, just difficult -- as difficult as ange-ftp: (setq file-name-handler-alist (delq (rassq 'ange-ftp-hook-function file-name-handler-alist) file-name-handler-alist)) (setq file-name-handler-alist (delq (rassq 'ange-ftp-completion-hook-function file-name-handler-alist) file-name-handler-alist)) I think users who want to disable ange-ftp would appreciate having that wrapped in a command, plus a command to re-enable it. And similarly for Tramp. -- Kevin Rodgers