폴리 모드 zip 파일 from GitHub을 다운로드 한 후 폴리 모드 마스터 인 폴더를 제공하는 zip 파일을 엽니 다. 폴더 이름을 으로 바 꾸었습니다.을 내 .emacs.d 폴더에 넣었습니다. 그럼 난 내 이맥스 파일에 다음 줄을 삽입 :파일 열기시
;; Polymode
(setq load-path
(append '("~/.emacs.d/polymode/" "~/.emacs.d/polymode/modes")
load-path))
(require 'poly-R)
(require 'poly-markdown)
나는 그것이 나에게 다음과 같은 오류 제공 이맥스의 파일 열기 : 내가 뭘 잘못했는지
Warning (initialization): An error occurred while loading `c:/Users/ab/.emacs':
File error: Cannot open load file, markdown-mode
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.
어떤 생각을?
도움 주셔서 감사합니다.
윈도우 7
GNU 이맥스 24.3.1
ESS
'markdown-mode'가 설치되어 있습니까? – Chris
@Chris 답변 해 주셔서 감사합니다. 나는 그렇게 생각하지 않는다. 패키지가 설치되어 있는지 확인하는 방법을 찾아야합니다. – giordano
'(require 'markdown-mode nil t)'을 시도하십시오. 그것이'markdown-mode'를 주면 그것을 갖게됩니다. 'nil'을 주면 당신은하지 않습니다. – Chris