2012-03-20 13 views
1

学校のWin7マシンから自分のプライベートサーバ上のファイルを編集するためにemacsを設定しようとしています。Windowsのpscp/plinkを使ったEmacs Tramp

(setq tramp-default-method "pscp") 

とダウンロードPSCP & PLINK:

私はemacsのを設定している

、の.emacsのデフォルトの方法を変更しました。

問題は、ローカルマシン上の%path%を編集できないため、%path%の任意の場所にpscp & plinkを置くことができないことです。 Emacsにどこにそれらを見つけるかを教えてもらえますか?

編集: 私はすぐに表示されなかった環境変数を編集できますが、関連のない問題がありました。グローバル変数と同じ名前のユーザー環境変数を編集すると、グローバル変数にユーザー値が追加されているようです。

+0

私も浮浪者が*私のDebianボックス内*右SSHを介して動作させることはできません... – SamB

答えて

2

Emacsのexec-path変数は、おそらくこのために参考になる:

-- User Option: exec-path 
    The value of this variable is a list of directories to search for 
    programs to run in subprocesses. Each element is either the name 
    of a directory (i.e., a string), or `nil', which stands for the 
    default directory (which is the value of `default-directory'). 

    The value of `exec-path' is used by `call-process' and 
    `start-process' when the PROGRAM argument is not an absolute file 
    name. 
関連する問題