2013-10-03 2 views
0

내가 이맥스에 새로운 오전과 내가이 페이지의 지시에 따라 이맥스에 대한 matlab에 모드를 설치하려고했다 : 잘 컴파일 matlab script editingmatlab에 - 이맥스 통합 - 변수로 기호의 값이 무효 : letion

제외한 모든

Debugger entered--Lisp error: (void-variable letion) 
eval-buffer(#<buffer *load*> nil "/home/wjlee/.emacs" nil t) ; Reading at buffer position 404 
load-with-code-conversion("/home/wjlee/.emacs" "/home/wjlee/.emacs" t t) 
load("~/.emacs" t t) 
#[0 "\205\262 

은 내가 봤 : 내가 한 때

Symbol's value as variable is void: letion

는 "이맥스 --init-디버그"는 다음 나에게 준 :이 오류에 달렸다 약간의 라운드가 있고 어떤 사람들은 이전 버전의 이맥스 (emacs23 또는 이전 버전)를 사용하는 것과 관련이 있다고했지만, 나는 이맥스 24.3.1을 가지고 있기 때문에 이것이 아직도 왜 그런지 확신 할 수 없다. 누구든지이 문제를 해결하는 방법을 알고 있습니까?

+1

/home/wjlee/.emacs에서 404 위치를 볼 때 무엇을 찾을 수 있습니까? – Stefan

+0

그냥 여기에서 추측 할 수 있지만 스테판의 제안처럼 404 행을 보면 'letion'이라는 단어를 찾을 수 있습니다. – Malabarba

+0

~/.emacs에는 실제로 404 행이 없으므로 CEDET를 컴파일하는 동안 올바르게 설정되지 않은 구성 요소인지 궁금합니다. – boto

답변

0

cedet 및 matlab-emacs 구성 요소를 다시 컴파일하지 않고 emacs24.3.1을 새로 설치하기로 결정했습니다. 어떻게 든 작동합니다 ... 최근에 나왔던 것처럼 보입니다. 버전의 CEDET는 emacs24와 번들되지 않습니다. 이미 들어있는 것들은 저에게 matlab-emacs 통합을 수행하기에 충분합니다.

나는 모든이를 사용하여 매우 새로운 오전부터, 난 그냥 여기 무엇을 게시합니다 :

을 위해 새로 emacs24의 설치 :

sudo apt-get install python-software-properties 

sudo add-apt-repository ppa:cassou/emacs 

sudo apt-get update 

sudo apt-get purge emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid auctex emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg 

sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg 

sudo rm /etc/apt/sources.list.d/cassou-emacs-precise.list 

다운로드 matlab.el :

cvs -d:pserver:[email protected]:/cvsroot/matlab-emacs login 

cvs -z3 -d:pserver:[email protected]:/cvsroot/matlab-emacs co -P matlab-emacs 

그리고 수정 ~/이맥스 :

(add-to-list 'load-path "~/.emacs.d/matlab-emacs") 
    (load-library "matlab-load") 

는 또한 발견 유용한 다음

(custom-set-variables 
'(matlab-shell-command-switches '("-nodesktop -nosplash"))) 

그리고 어떤 지름길 :

참조 CR :로 시작하는

몇 가지 유용한 지름길 MATLAB에서 실행 영역을

참조 Cs : matlab에 파일을 저장하고 실행하십시오.

참조 Cc E : 일치하는 END 문을 삽입하십시오.

,451,515,

M-TAB : 스크립트

미스에 기초하여 심볼/가변 완료 (가능한 경우 다른 버퍼) MATLAB 쉘을 제공

Mp는 미네소타 : MATLAB 쉘 (또는 이맥스 쉘) 지난 명령을 통해 순환