.emacsに以下を記述して、Emacsを普段使用しています。
bash on windows(WSL)からubuntuを開き、sshで外部のサーバーに接続した先のホームディレクトリに設置しています。xmingでGUIでEmacsを開くと、一瞬最大化されて、またもとに戻ってしまいます。
(set-frame-parameter nil 'fullscreen 'maximized)は最大化を意図しているので大きさが自動的に元に戻ると困ります。解決策が分かる方いらっしゃったらお願いします。
1(set-frame-parameter nil 'fullscreen 'maximized); launch with maximized screen 2(global-linum-mode t) ; show line number 3(show-paren-mode 1) ; show the counterpart of the parenthesis 4 5(push '("\.ctl\'" . scheme-mode) auto-mode-alist) 6(menu-bar-mode -1) 11 12(require 'server) 13(unless (server-running-p) 14 (server-start)) 15(setq inhibit-startup-screen t) 17 18(setq visible-bell t) 19 20(set-language-environment "Japanese") 21(set-terminal-coding-system 'utf-8) 22(prefer-coding-system 'utf-8-unix) 23(set-keyboard-coding-system 'utf-8) 24 25(push "/usr/local/share/emacs/site-lisp/anthy/" load-path) 26(load-library "anthy") 28(register-input-method "japanese-anthy" "Japanese" 29 'anthy-leim-activate "[anthy]" 30 "Anthy Kana Kanji conversion system") 31(autoload 'anthy-leim-activate "anthy") 32 33(setq default-input-method "japanese-anthy")
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。