In Emacs, how do I figure out which package is loading tramp?

前端 未结 4 1952
我寻月下人不归
我寻月下人不归 2021-02-09 12:11

I have a strange interaction with tramp and cygwin-mount (I think: Emacs: Tab completion of file name appends an extra i:\\cygwin). Because of this, I want to disable tramp. I\'

4条回答
  •  猫巷女王i
    2021-02-09 12:29

    I think you'll find that tramp is turned on by default. If you do:

    M-x customize-apropos
    Customize (regexp): tramp
    

    ('Customize (regexp):' is the prompt from emacs) you'll see two variables listed (at least I do in emacs 23), something like:

    alt text

    If you set tramp-mode to 'off', save for future sessions, and restart emacs tramp should no longer be loaded. I believe you can just turning it off in the current session should allow you to test this, but this doesn't always work with customize variables, although it should do with something like tramp that is part of the standard emacs distribution.

    I don't have emacs 22 installed any more, but something similar should work for that too.

提交回复
热议问题