.emacs 編集時(lisp-mode?)の、コメントは斜体ですよね。それを変更しました。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(custom-set-faces | |
'(font-lock-comment-face ((t (:italic nil :foreground "slate gray"))))) |
そこで、quack.el のことを思い出してのぞいて見たら同じことができるようだったので、そうしました。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; custom faces | |
;; quack-pltish-comment-face | |
;; quack-pltish-selfeval-face | |
;; quack-pltish-paren-face | |
;; quack-banner-face | |
;; quack-pltish-class-defn-face | |
;; quack-pltish-module-defn-face | |
;; quack-pltish-keyword-face | |
;; quack-threesemi-h2-face | |
;; quack-threesemi-h3-face | |
;; quack-pltfile-prologue-face | |
;; quack-pltfile-dir-face | |
;; quack-pltfile-file-face | |
;; quack-about-title-face | |
;; quack-about-face | |
;; quack-smallprint-face | |
(custom-set-faces | |
'(quack-pltish-defn-face | |
((((class color) (background light))(:bold t :foreground "darkgoldenrod4")) | |
(((class color) (background dark))(:bold t :foreground "darkgoldenrod3")) | |
(t (:bold t :underline t))))) | |
(custom-set-faces | |
'(quack-threesemi-semi-face | |
((((class color) (background light))(:bold t :foreground "blue")) | |
(((class color) (background dark))(:bold t :foreground "blue")) | |
(t (:slant italic))))) | |
(custom-set-faces | |
'(quack-threesemi-text-face | |
((((class color) (background light))(:foreground "cyan4")) | |
(((class color) (background dark))(:bold t :foreground "blue")) | |
(t (:slant italic))))) | |
(custom-set-faces | |
'(quack-pltish-keyword-face | |
((((class color)(background light))(:bold t :foreground "maroon2")) | |
(((class color)(background dark))(:bold t :foreground "maroon2"))))) |
そういえば、auto-complete.el でもやってましたね。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(custom-set-faces | |
'(ac-candidate-face ((t (:background "dark orange" :foreground "white")))) | |
'(ac-selection-face ((t (:background "blue" :foreground "white"))))) |
何か一冊くらい Emacs の本が欲しいな。。
既にご存知かも知れませんが、ちょっとした変更なら set-face-* も手軽で便利です。
返信削除(set-face-foreground 'font-lock-comment-face "coral")
(set-face-italic-p 'font-lock-comment-face nil)
存じませんでした!ありがとうございます!
返信削除こちらの方がすごくお手軽ですね・・・。