all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Turn OFF default TRAMP in Emacs 22.x, need VMS access
@ 2006-01-16 18:02 nelson.ingersoll
  2006-01-16 19:57 ` Henrik Enberg
  2006-01-18  4:11 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: nelson.ingersoll @ 2006-01-16 18:02 UTC (permalink / raw)


I am currently using Emacs v21.3 on platforms I am working on.  This
includes Windows 2K/XP, SunOS, Tru64, and Linux (flavors).   Would use
Emacs on OpenVMS if I could find a functioning binary for AXP.  Heck,
I'd use ANY version of Emacs on VMS if I could find a functioning
binary.  I've had no luck compiling it.

I have been playing around with newer releases of Emacs, 22.0.50
recently.  In all cases they have installed TRAMP in lieu of ANGE-FTP.
Alas, IMHO, TRAMP is much too slow and intense.  ANGE-FTP works, for me
at least, much better.  By an order of magnitude.   Salt in the ound,
TRAMP does not work in the least at all no way with VMS.   I work in a
VMS shop.  That REALLY kills TRAMP from my point of view.

So I want to use ANGE-FTP with Emacs 22.x.  Alas, setting the tramp
default method, ala (setq tramp-default-method "ftp"), still leaves
TRAMP in the path being difficult.   I want to get rid of it.
Completely.

How can I completely remove TRAMP from a release?  I can install
ANGE-FTP via my site-lisp directory and my .emacs file.  I commented
out the TRAMP section in ../lisp/loaddefs.el; however, that didn't
work.  Did I miss something or is there somewhere else to go as well?

Thank you for your help.

- Nelson

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Turn OFF default TRAMP in Emacs 22.x, need VMS access
  2006-01-16 18:02 Turn OFF default TRAMP in Emacs 22.x, need VMS access nelson.ingersoll
@ 2006-01-16 19:57 ` Henrik Enberg
  2006-01-18  4:11 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Henrik Enberg @ 2006-01-16 19:57 UTC (permalink / raw)


> So I want to use ANGE-FTP with Emacs 22.x.  Alas, setting the tramp
> default method, ala (setq tramp-default-method "ftp"), still leaves
> TRAMP in the path being difficult.   I want to get rid of it.
> Completely.
> 
> How can I completely remove TRAMP from a release?  I can install
> ANGE-FTP via my site-lisp directory and my .emacs file.  I commented
> out the TRAMP section in ../lisp/loaddefs.el; however, that didn't
> work.  Did I miss something or is there somewhere else to go as well?

Add the following to your ~/.emacs:

(setq file-name-handler-alist
      (delq (rassq 'tramp-file-name-handler
		   file-name-handler-alist)
	    file-name-handler-alist))

This will kill tramp dead, but it won't reinstate ange-ftp, so you
have to do that.  Search for file-name-handler-alist in ange-ftp.el, and
you'll find some commented out code that shows how that is done.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Turn OFF default TRAMP in Emacs 22.x, need VMS access
  2006-01-16 18:02 Turn OFF default TRAMP in Emacs 22.x, need VMS access nelson.ingersoll
  2006-01-16 19:57 ` Henrik Enberg
@ 2006-01-18  4:11 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2006-01-18  4:11 UTC (permalink / raw)


> I have been playing around with newer releases of Emacs, 22.0.50
> recently.  In all cases they have installed TRAMP in lieu of ANGE-FTP.

Huh?  Emacs-22 comes with both ange-ftp and Tramp, both active by default.

> So I want to use ANGE-FTP with Emacs 22.x.  Alas, setting the tramp
> default method, ala (setq tramp-default-method "ftp"), still leaves
> TRAMP in the path being difficult.

What does "leaves TRAMP in the path being difficult" mean?
The setq you show should allow you to use ange-ftp just as before.  If it
doesn't, it's a bug which you should report.  It does go "through" Tramp,
indeed, but there should be no visible slowdown or change of behavior.

> I want to get rid of it.  Completely.

Other than out of irritation, why would you want to do that?


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-18  4:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 18:02 Turn OFF default TRAMP in Emacs 22.x, need VMS access nelson.ingersoll
2006-01-16 19:57 ` Henrik Enberg
2006-01-18  4:11 ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.