提示コードですが設定ファイルにいろいろ記述しているのですが毎回ロードをしないと反映されませんこれを毎回手動でやるのではなく
自動で行ってほしいのですが何か方法はあるのでしょうか?
参考サイト: http://www.02.246.ne.jp/~torutk/cxx/emacs/indentation.html
参考サイト: https://shiopon.hatenablog.jp/entry/2019/06/13/114205#:~:text=Emacs%20%E3%81%A7%E3%80%81%E5%A4%89%E6%9B%B4%E3%81%97%E3%81%9F%E8%A8%AD%E5%AE%9A,%E3%81%AE%E8%AA%AD%E3%81%BF%E7%9B%B4%E3%81%97%E3%81%8C%E8%A1%8C%E3%82%8F%E3%82%8C%E3%82%8B%E3%80%82
参考サイト: https://sekisuiseien.com/computer/9374/
#####Log
Loading /etc/emacs/site-start.d/00debian.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 debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50emacs-mozc.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. accountTop.php has auto save data; consider M-x recover-this-file Mark set [2 times] previous-line: Beginning of buffer [4 times] funcall-interactively: Beginning of buffer [2 times] Mark set
;;1行づつスクロールする (setq scroll-step 1) ;;パッケージ ;;; package.el (require 'package) ;; MELPAを追加 (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) ;; MELPA-stableを追加 (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/")) ;; Marmaladeを追加 (add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/")) ;; Orgを追加 (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) ;; 初期化 (package-initialize) ;;mozc (require 'mozc) ; mozcの読み込み (set-language-environment "Japanese") ; 言語環境を"japanese"に (setq default-input-method "japanese-mozc") ; IMEをjapanes-mozcに (prefer-coding-system 'utf-8) ; デフォルトの文字コードをUTF-8に ;; C++ インデント (add-hook 'c++-mode-hook'(lambda()(c-set-style "ellemtel"))) (add-hook 'php-mode-hook'(lambda()(c-set-style "ellemtel"))) ;;起動時にEmacsメニュー画面を表示しない (setq inhibit-startup-message t) ;;起動時にメッセージを表示しない (setq initial-scratch-message "") ///////////////////////////////////////////////// ;; 改行の時のインデント無効 (electric-indent-mode -1) //////////////////////////////////////////////// ;;コメントの色を緑色に (set-face-foreground 'font-lock-comment-face "green") (global-font-lock-mode t) ;;文字の色つけ (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"]) '(package-selected-packages (quote (auto-complete dash mozc popup mozc-im mozc-popup mozc-temp ac-mozc)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(font-lock-function-name-face ((t (:foreground "orange4")))) '(font-lock-type-face ((t (:foreground "blue")))) '(mouse-drag-and-drop-region ((t (:background "cyan")))))
2番目の参考サイトに書かれていることは試したのですか? どうなりましたか?
↑あ、「毎回ロード」ってのは毎回これをやったという意味ですかね。
