[emacs] Emacs에서 시작 화면을 숨길 수 없습니다.

시작 화면을 숨기고 싶습니다.

.emacs파일 :

 (setq c-basic-offset 4) ; indents 4 chars                                                                                                              
 (setq tab-width 4)          ; and 4 char wide for TAB
 (setq indent-tabs-mode nil) ; And force use of spaces

 (turn-on-font-lock)       ; same as syntax on in Vim

 (setq width (max width (+ (length str) 1)))   ;line numbers

 (setq inhibit-splash-screen t)         ; hide welcome screen

.emacs의 마지막 코드 줄을 성공적으로 실행하려고 시도했습니다.

Emacs에서 시작 화면을 숨기려면 어떻게해야합니까?



답변

에 다음을 추가하십시오 $HOME/.emacs.

(setq inhibit-startup-screen t)

다음에 Emacs를 시작할 때 시작 화면이 나타나지 않아야합니다. 환영 화면과 함께 이미 Emacs를 연 경우 C-x k(Control-x, k)를 눌러 종료 할 수 있습니다 .


답변

(setq inhibit-splash-screen t)
(setq inhibit-startup-message t)

또는 다음을 수행 할 수 있습니다.

alias emacs='emacs --no-splash'


답변

emac의 메뉴를 통해 쉽게 할 수 있습니다 …

옵션-> emacs 사용자 정의-> 최상위 사용자 정의 그룹

그런 다음 환경 그룹을 선택한 다음 초기화를 선택하고 금지 시작 화면을 켜기로 설정하십시오.


답변

내 .emacs에는 (setq prevent-startup-message t)가 있으며 저에게 효과적입니다.

gnu emacs 매뉴얼에 따르면 hibit-startup-message는 이전 버전이고 prevent-splash-screen은 최신 버전입니다. 어떤 버전이 변경되었는지 모르겠습니다.
http://www.gnu.org/software/emacs/manual/html_node/emacs/Initial-Options.html


답변

이맥스 24에서 inhibit-splash-screeninhibit-startup-message별칭이다 inhibit-startup-screen, 그래서 간단하게 추가 (setq inhibit-startup-screen t) 하여에 .emacs이 문제를 해결할 수 파일.

해당 구성이 주어지면 시작 버퍼는 이제 *scratch*기본 버퍼를 더 변경하려는 경우 M-h v initial-buffer-choice <RET>도움이 될 것입니다.

공식 문서 : http://www.gnu.org/software/emacs/manual/html_node/elisp/Startup-Summary.html


답변

set initial-scratch-messagevariable을 nil로 사용 하여 초기 메시지를 숨기거나 메시지를 표시하려는 모든 것을 설정할 수 있습니다.

(setq initial-scratch-message nil)

또는

(setq initial-scratch-message ";; Happy Hacking")

도움이 되었기를 바랍니다.


답변