• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョン1d25f8a13ac26abaeb44703ef09ef99db2feba4b (tree)
日時2023-05-08 18:02:42
作者Markus Prepens <markus.prepens@gmai...>
コミッターMarkus Prepens

ログメッセージ

using face-remapping-alist with :inherit

変更サマリ

差分

--- a/init.el
+++ b/init.el
@@ -103,12 +103,13 @@ forward-slashes."
103103 ;;(set-frame-size (selected-frame) 100 20)
104104 ;;(set-frame-font "Cascadia Code 11" t t)
105105 ;;(set-frame-font "Courier Prime 12" t t)
106- (set-frame-font "JuliaMono 10" t t)
106+ (set-frame-font "JuliaMono 12" t t)
107107 (set-frame-parameter (selected-frame) 'internal-border-width 5)
108108 (setq frame-inherited-parameters '(internal-border-width)))
109109 (progn
110- (menu-bar-mode -1)
111- (blink-cursor-mode -1)))
110+ (setq confirm-kill-emacs nil)
111+ (menu-bar-mode -1)
112+ (blink-cursor-mode -1)))
112113
113114 ;;;;;;;;;;
114115 ;; The history mode
@@ -162,13 +163,11 @@ forward-slashes."
162163 (interactive)
163164 (if icomplete-mode
164165 (progn
165- (message "Goodbye, Fido :(")
166166 (icomplete-mode -1)
167167 (icomplete-vertical-mode -1)
168168 (fido-mode -1)
169169 (fido-vertical-mode -1))
170170 (progn
171- (message "Hello, Fido :)")
172171 (icomplete-mode 1)
173172 (icomplete-vertical-mode 1)
174173 (fido-mode 1)
@@ -231,9 +230,10 @@ forward-slashes."
231230 (org-verbatim (:height 1.55) org-verbatim)
232231 (header-line (:height 4.0) variable-pitch)
233232 (org-document-title (:height 1.75) org-document-title)
234- (org-level-1 (:height 1.4) variable-pitch)
235- (org-level-2 (:height 1.3) variable-pitch)
236- (org-level-3 (:height 1.1) variable-pitch)
233+ (org-level-1 (:inherit variable-pitch :height 1.4) org-level-1)
234+ (org-level-2 (:inherit variable-pitch :height 1.3) org-level-2)
235+ (org-level-3 (:inherit variable-pitch :height 1.1) org-level-3)
236+ (org-level-4 (:inherit variable-pitch :height 1.1) org-level-4)
237237 (org-code (:family "Courier Prime") org-code)
238238 (org-block (:family "Courier Prime") org-block)
239239 (org-table (:family "Courier Prime") org-table)
@@ -260,7 +260,10 @@ forward-slashes."
260260 (+skeletons-for-markdown)
261261 (toggle-truncate-lines 1)
262262 (setq-local face-remapping-alist
263- '((markdown-header-face (:height 4.0) markdown-header-face)))
263+ '((markdown-header-face-1 (:inherit variable-pitch :height 2.0) markdown-header-face-1)
264+ (markdown-header-face-2 (:inherit variable-pitch :height 1.8) markdown-header-face-2)
265+ (markdown-header-face-3 (:inherit variable-pitch :height 1.5) markdown-header-face-3)
266+ (markdown-header-face-4 (:inherit variable-pitch :height 1.0) markdown-header-face-4)))
264267 (let* ((pandoc-command "pandoc -f gfm -t html5 --toc --toc-depth=2")
265268 (css-file (concat user-emacs-directory "html-files/pandoc_simple.css"))
266269 (html-file (concat user-emacs-directory "html-files/pandoc_template.html")))
@@ -637,13 +640,6 @@ reload dir-local variables."
637640 (call-interactively save-this-mode)
638641 (message "applied %s again" save-this-mode)))
639642
640-;; load (optional) quick'n'dirty code snippets
641-(add-hook 'after-init-hook
642- (lambda ()
643- ;; Example -- local.el:
644- ;; (set-frame-font "Cascadia Code 12" t t)
645- (message "Hello :)")))
646-
647643 (add-hook 'buffer-list-update-hook
648644 (lambda ()
649645 (save-excursion