Emacs 23 및 php-mode.el 1.5.0을 사용 중입니다. 내 .emacs
이있을 때 : 이맥스 시작 후 나는 (require 'php-mode)
을 평가하는 경우PHP 모드 (및 기타 cc 모드 파생 모드)를 Emacs와 호환되게 만들기 23
Warning (initialization): An error occurred while loading `/Users/kdj/.emacs':
error: `c-lang-defconst' must be used in a file
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace.
, 나는 오류 메시지를 얻을하지 않습니다
(require 'php-mode)
를 이맥스를 시작할 때이 오류 메시지가 표시됩니다.
blog entry이이 문제는 Emacs 23에만 해당됩니다 (즉, Emacs 22.x에는 오류가 없음). 그러나 해결책을 제공하지는 않습니다.
Mac OS X X를 사용하고 있으며 현재 CVS 소스에서 Emacs를 빌드했으며 ./configure --with-ns
을 사용했습니다.
여기에 무슨 일이 일어나고 있으며 어떻게 해결할 수 있습니까?
나는 이맥스 스타터 키트 (또한 v1.5.0)와 함께 제공되는 이맥스 23과'php-mode'를 사용합니다. 그것은 작동합니다. .emacs에'php-mode '에 영향을주는 다른 모드가있을 수 있습니다. –
필자는 .emacs를 "(add-to-list 'load-path"~/elisp ") (php-mode가 필요함)로 변경했으며 문제가 지속됩니다. –
온라인 어딘가에 당신의 dotemac을 둘 수 있습니까? –