I use Emacs native Win 32, but run it in DOS Prompt using emacs -nw
. I love it. But, I can not easily read the blue color for a face foreground. And now I like to mapped all blue color, to be lightblue.
Is there some sort of alias like this?
Thanks.
If all you want to do is fix the minibuffer prompt like I did (defaults to dark blue on black in Cygwin emacs in a terminal) try editing the minibuffer-prompt face using this:
This is what it added to mine:
(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.
'(minibuffer-prompt ((t (:foreground "green"))))
I think you should start with a Color theme package and choose a color theme you like.
Later you can adjust certain colors by doing Mx customize-face
. The command Mx list-colors-display
will help you to pick a right color.
EDIT: Do you run Emacs on text terminal? Then you may try to use tty-color-define. Unfortunately I cannot test it because I don't have Emacs on the terminal.
(defun my-define-red()
(interactive)
(tty-color-define "red" 1 (list 32000 12000 12000)))
如果将其添加到.emacs
,则所有默认面都将适应深色背景:
(custom-set-variables '(frame-background-mode 'dark))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.