TeX 파일에서 AUCTeX로 이맥스 로딩 시간이 느림 다 정상적으로

두 개의 Xubuntu 14.04 컴퓨터에 auctexemacs패키지를 설치 했는데 둘 다 정상적으로 작동했습니다. Emacs 자체는 둘 다 잘 작동하지만 이제는 auctex패키지가 설치되어 TeX 파일을로드 할 때 (빈 파일조차도) 6 초의 로딩 시간 auctex이 있습니다 .Tex 파일을로드 할 때마다 수행해야합니다.

이것이 정상입니까?

그렇지 않은 경우이 시간을 줄이기 위해 어떻게해야합니까?

인터넷을 검색했는데 아무것도 켜지지 않았습니다. 파일 구문 분석에는 시간이 오래 걸릴 수 있지만 파싱 파일을 저장하고로드하는 기능을 활성화하지는 않았습니다.

AUCTeX 11.87과 함께 Emacs 24를 사용하고 있습니다

편집 : *messages*새로 열린 TeX 파일 의 버퍼 출력은 다음과 같습니다.

("emacs" "hi.tex")
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/site-lisp/auctex.el (source)...done
Loading /usr/share/emacs/site-lisp/preview-latex.el (source)...done
Loading /etc/emacs/site-start.d/50auctex.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Error while loading 50dictionaries-common: Symbol's value as variable is void: debian-aspell-only-dictionary-alist
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loading cjk-enc...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Applying style hooks... done
exchange-point-and-mark: No mark set in this buffer [6 times]
exchange-point-and-mark: No mark set in this buffer


답변

LaTeX / P는 PDF 부 모드에서 LaTeX 모드입니다. 나는 AUCTeX에 ​​문제가 없었으며 (emacs v22 이후로 사용했습니다) AUCTeX 자체가 귀하의 문제라고 생각하지 않습니다.

-q로 emacs를 시작하면 초기화 파일이로드되지 않습니다. 이에 대한 자세한 내용은 설명서를 참조하십시오.

리눅스를 사용하는 경우 소스에서 emacs를 다시 설치하려고합니다. 패키지 저장소가 실제로 작동한다고 믿어 본 적이 없습니다. (대부분의 불신은 4 년 이상 된 TeX 패키지에서 비롯됩니다.) windoze를 사용하는 경우 FSF의 ftp 서버에서 설치하십시오. Mac을 사용하는 경우 emacsformacosx.com에서 설치하십시오.


답변

느린 시작 문제를 디버깅하는 일반적인 방법은 emacs의 인터럽트 신호를 사용하는 것입니다 ( /emacs/506/debugging-a-frozen-emacs )

  1. 운영 emacs --debug-init
  2. 프로세스의 pid 찾기 ps -ef | grep emacs
  3. 프로세스에 인터럽트 신호 보내기 kill -SIGUSR2 $PID
  4. 이맥스가 역 추적을 보이게한다
  5. 이 추적에서 명백한 것을 인터넷에서 검색하십시오.
  6. 그렇지 않으면 이러한 기능 중 일부를 수동으로 실행하여 실험이 시작되는 이유를 알아보십시오.

emacs stackexchange에 관심이있을 수도 있습니다. (스택 교환 단편화에 대해 어떻게 생각하는지 모르겠습니다 …)