unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Disabling Tramp
Date: Mon, 14 Mar 2005 15:31:07 -0700	[thread overview]
Message-ID: <d1539b$71d$1@sea.gmane.org> (raw)
In-Reply-To: <87u0nfwtq1.fsf@emptydomain.de>

Kai Gro?johann wrote:
 > Kevin Rodgers <ihs_4664@yahoo.com> 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

  reply	other threads:[~2005-03-14 22:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09  1:21 Disabling Tramp Guy Gascoigne - Piggford
2005-03-09  6:22 ` Michael Albinus
2005-03-09  8:22   ` Kim F. Storm
2005-03-09 13:34     ` Kai Großjohann
2005-03-09 14:03       ` Kim F. Storm
2005-03-10  0:41       ` Kevin Rodgers
2005-03-11  1:48         ` Richard Stallman
2005-03-13 13:39         ` Kai Großjohann
2005-03-14 22:31           ` Kevin Rodgers [this message]
2005-03-10  6:42     ` Michael Albinus
2005-03-09 18:41   ` Guy Gascoigne - Piggford

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='d1539b$71d$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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).