2012-03-20 1 views
1

학교의 Win7 컴퓨터에서 개인 서버의 파일을 편집하기 위해 emacs를 설정하려고합니다.Windows에서 pscp/plink가있는 Emacs Tramp

(setq tramp-default-method "pscp") 

및 다운로드 PSCP & 가용 스루풋 :

내가 이맥스를 설정 한

의 이맥스의 기본 방법을 변경했습니다.

문제는 로컬 컴퓨터에서 % path %을 편집 할 수 없기 때문에 % path %의 모든 위치에 pscp & plink를 삽입 할 수 없습니다. Emacs에게 어디에서 찾을 수 있는지 어떻게 알 수 있습니까?

편집 : 밝혀졌습니다. 지금 바로 표시되지 않고 관련없는 문제가 있습니다. 전역 변수와 동일한 이름의 사용자 환경 변수를 편집하는 것은 사용자 값을 전역 변수에 추가하는 것 같습니다.

+0

심지어 바람둥이가 * 내 데비안 상자에서 * 바로 SSH를 통해 동작하지 않습니다 ... – SamB

답변

2

이맥스 '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.