Questions tagged [colors]

for font colors, menu colors, screen colors, and other presentation elements of Emacs interface. For questions about colors related to exports, printing, and external programs, include additional tags. Also add tags for running Emacs on handheld or newer portable devices.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

How do I change the font color of mode-line?

How do I change the font color of the mode-line to make it more visible?
0
votes
0answers
32 views

Retouching syntax highlight of major mode

I am writing a minor mode to complement haskell-mode, and I am trying to color subwords in camelCased identifiers with slightly different shades of the same color. Perhaps this can be done by "...
0
votes
0answers
18 views

Change color of preview expressions in Auctex

In the customize group "Preview Appearance", I click on "Preview Face" and set "Foreground" to "red". To the right, I see the word "sample" displayed in red. Then I select "Save for Future Sessions." ...
0
votes
1answer
41 views

Should I be worried about the inability to undo a Custom Theme?

I am relatively new to emacs and am liking it... so much so that I'd like to customize the look and feel. I'm aware the Custom Theme is the new way and is different from Color Theme. The one thing ...
1
vote
1answer
34 views

how to tell a Custom Theme vs Color Theme?

I am considering changing the look of my emacs (just default state right now). I've read that Color Theme is an older approach but has its own advantages compared to Custom Theme (newer approach). One ...
0
votes
2answers
29 views

Looking for hex values of the default colorscheme

I don't know if it's the default colorscheme in every version, but the version I'm using, Emacs-26.3 downloaded from GNU ftp mirror, has this colorscheme by default. I don't know how to get the values ...
0
votes
0answers
19 views

change the background of buffer margin for truncated lines

I am trying to set the background of inactive window to gray and the default background color is white. The problem starts when I have configured the margin of the window to 20 chars and there is ...
1
vote
1answer
34 views

Improving org-block-begin-line, splitting in several faces

The face org-block-begin-line allows to customize the first line of the following block #+BEGIN_SRC lang :var arg1=1 arg2=2 ... #+END_SRC However, I would like to customize the faces within the line,...
2
votes
1answer
38 views

How can I set color for listing executable files in Dired Mode?

Trying here to set color for executable files, as it is for ls command! How can I do that? I've already managed to set color for certains file extensions, using Diredful package, but couldn't do it ...
3
votes
1answer
49 views

how to change org-ellipsis foreground color?

Currently my org-ellipsis is " [+]" (setq org-ellipsis " [+]") I want it to be slightly grey so that it will be less prominent but I don't want to change the foreground color of my headings. I ...
1
vote
1answer
114 views

Is it possible to disable color highlighting in css-mode?

I'm using Emacs 26.1 in the terminal (emacs -nw). When using css-mode, strings representing colors seem to be automatically highlighted. I don't find this feature useful, and further, the colors ...
0
votes
0answers
19 views

some pointer declarations not colored

macs -nw fails to color code certain declarations of pointer arrays seemingly depending on the structure being pointed to. For example: SomeStruct *one[4] is all white (I have dark background), but ...
1
vote
1answer
33 views

Missing color support (for exa) in eshell

I just started using eshell. But the color support for some commands seems to be missing. For example I like to use the command exa, because of its nice colors. But in eshell it is all black.
0
votes
1answer
47 views

How color specific text in shell?

Windows 10 (64 bit), Emacs 26.1 Here Windows console. Result of build my project: gradlew assemble here result: as you can see text BUILD SUCCESSFUL is on green color. Nice. Now same on Emacs's ...
0
votes
0answers
26 views

How to color flycheck's mode line text

I have this, but it doesn't color anything: https://github.com/skrat/dots/blob/master/emacs/.emacs#L177 https://github.com/skrat/dots/blob/master/emacs/.emacs#L357-L362
1
vote
0answers
131 views

Strange Emacs Colors in gray30 Background Urxvt

Recently I've been trying out different terminal color schemes. However, I found out that when I change the background of urxvt to gray30, emacs -nw has completely different syntax coloring. I've not ...
1
vote
0answers
20 views

Colors do not get saved [duplicate]

I want to color a word in emacs. So I open a somefile (C-x C-f somefile) and a write some silly sentence. Now I want to colorize the word silly with yellow. So, with the mouse I chose Edit > Text ...
0
votes
1answer
218 views

How to enable 256 colors in terminal

I'm having a problem with setting up colors in my xfce terminal. (list-colors-display) shows only 8 colors, while both my $TERM variable and (tty-type) is xterm-256color. I've dug through the ...
1
vote
2answers
69 views

Different color theme for scratch buffer

I'd like my *scratch* buffer to have it's own color theme, different to the one I use elsewhere, so that I know when I'm working there. How can I do this?
0
votes
0answers
18 views

Definition and usage of colors [duplicate]

I'm trying to define a color set (from material color) in order to be able to easily change the set I want to use. I think I've managed to define them but then, I'm not able to use them properly. I ...
5
votes
1answer
241 views

Error on list-colors-display

When running this function: M-x list-colors-display I always get the following error: Wrong number of arguments: #<subr max>, 0 If I try to use edebug in the function I get: edebug-signal: ...
1
vote
1answer
72 views

How to make the background color of `x-show-tip` defined in `pos-tip.el` transparent?

I found the flycheck-pos-tip package uses a function defined in pos-tip-show which uses a built-in function: x-show-tip. I want to change the background color of x-show-tip to be transparent. There ...
2
votes
2answers
153 views

How to make tooltip background transparent?

I want to make the tooltip background somewhat transparent, say, change it alpha value to 0.5. I find these code in tooltip.el.gz (defface tooltip '((((class color)) :background "lightyellow" ...
1
vote
1answer
740 views

Set 24-bit colors terminal (Truecolor) for Solarized theme on Mac

I am trying to get Solarized theme color correct in terminal by enabling truecolor on my Mac, following the instruction from Spacemaces: https://github.com/syl20bnr/spacemacs/wiki/Terminal. But I ...
1
vote
1answer
79 views

Display and convert colors

I don't know if there's a package to show the colors according to their value. I know it's xah-css-mode and rainbow-mode. rainbow-mode only shows hex values and by name. xah-css-mode shows the above, ...
1
vote
0answers
284 views

Emacs don't display any colors at all

The dark blue color on my terminal emulator is hard to read. Does emacs have the ability to completely disable colors in its output, regardless of whether the colors are used for underlining file ...
4
votes
2answers
202 views

There's a way to use emacs like MS Word, to make text permanently colored, stylized, etc…?

I'm totally new to the wonderful world of Emacs. I started to use it some weeks ago and i'm find myself to use it more and more... I would like to use it not only as a code editor, but also as a word ...
0
votes
1answer
209 views

Retain system color scheme when running without GUI

I'm typically running emacs -nw: problem is that Emacs overrides terminal (bash) color scheme and uses it's own default one which is in some cases unreadable. I would like emacs to use default ...
3
votes
1answer
137 views

Color when visualizing latex table in orgmode

I am using Emacs + orgmode to write text and latex equations. The preview within orgmode (with C-c C-x C-l) works well for latex equations. However, I noticed that if I display a latex table within ...
0
votes
1answer
54 views

How to set the background of color-hex-values with corresponding color in all modes (like in css-mode)?

In css-mode color strings get a background color corresponding to the respective color - like this (image): How to achieve this behaviour in other modes?
0
votes
1answer
79 views

How do I define a new color in a user's .emacs file?

I have a customization requirement (for branding purposes) to define custom colors for several backgrounds. This needs to use new color names rather than hard-wired #hex so that it can go in a shared ....
0
votes
1answer
108 views

mode-line refresh with alerts and weechat

Note - The original post incorrectly diagnosed this as a terminal issue. Further testing showed this not to be the case - the issue is a race condition in the alert package. I've crossed-out the now ...
0
votes
1answer
97 views

Load custom highlighting after colorscheme change

I am a Vim user and i recently decided to try Emacs Spacemacs, i have a problem setting up custom highlighting, i set some lines like the following in my .spacemacs (i guess it's the same problem in ...
0
votes
1answer
86 views

Why does emacs put a black background on comments?

For some reason emacs shows comments on a black background. The image shows an example from my emacs with the otherwise amazing color theme "aalto-dark" from the color-theme-modern package. I don't ...
1
vote
0answers
86 views

Org-table color entries that match a predicate

Say we have the following table: | Student | Grade | |---------+-------| | Foo | 7 | | Bar | 5.5 | | Baz | 9 | Is there a way to change the face color of an entry when a ...
1
vote
1answer
490 views

Spacemacs change line background color when has comment

I currently have a strange behave when my code has comment on Spacemacs. Making it bad to read a file with a lot of comments Anyone knows how to change this behave? I tried to search about it and ...
0
votes
0answers
144 views

How to edit the list of named/defined colors?

How can I change (insert,delete,rename,…) the list of named colors? I tried to edit /usr/share/emacs/25.3/lisp/term/tty-colors.el.gz and byte-compile after change, but it had no effect. Note: I do ...
0
votes
0answers
253 views

Not able to load a color theme from 'init.el' or using 'M-x color-theme-select'

I am trying to get emacs(emacs24) to load with another colortheme (looking to have a 'dark' theme). In my init.el file I have the lines: (eval-after-load "color-theme" '(progn (color-theme-...
0
votes
0answers
131 views

How to specify a color theme specifically for Latex editing (the buffers with .tex files)?

I am using Emacs and there are various 'themes', eg. link to examples, but they do not appear to be dedicated to Latex. Some have modes for Latex, but I am wondering if there are theme files that can ...
0
votes
1answer
81 views

sanityinc-tomorrow-eighties theme fails to show dired mode colors

I have the theme sanityinc-tomorrow-eighties enabled using (load-theme 'sanityinc-tomorrow-eighties t). I love this theme but my dired buffers do not show colors. I have installed and enabled dired+...
2
votes
1answer
113 views

How can I get 'face' functions in emacs to show a gradient colour?

I want to change the emacs fringe to a gradient of two colours. (set-face-background 'fringe <gradient>) As set-face-background requires a colour name or hex, I'm unsure of how I can get it to ...
1
vote
0answers
78 views

Dynamically change cursor color to indicate input script

I'd like to use the cursor color to provide visual feedback on the alphabet I am currently in (I sometimes have to switch rapidly between, say, Latin and Cyrillic, and find myself typing in the wrong ...
2
votes
1answer
398 views

does anybody know this light-blue emacs theme's name?

emmm. i just found through all the MELPA by keywords theme, but still cant find this theme, if someone can point out, i'll appreciate a lot, i love this theme very much.
4
votes
1answer
326 views

How to detect the term color support inside of a emacsclient session?

I run a emacs daemon on boot as a OpenRC service without info about terminals. When I plug a different terminal on emacsclient so, I don't have env variables instead that was generated inside of emacs ...
7
votes
1answer
1k views

#000000 and true black in terminal Emacs colors

I just ran into a weird issue while tweaking my colour theme for terminal Emacs. The background wasn't appearing as black as expected, but grey, even though the background was set to #000000. So I ...
2
votes
0answers
190 views

How to display and format leading spaces (spaces at the beginning of a line) with whitespace-mode?

I want to see all spaces at the beginning of a line as dots. Also tabs and line breaks. So I've set my init.el file as the following: (setq-default indent-tabs-mode nil) (setq whitespace-style '(...
8
votes
2answers
2k views

Emacs Blue color too dark

Emacs blue (on dark background) is too dark. classA is readable with difficulty in the example below: How to fix the dark blue colour?
0
votes
1answer
84 views

Default syntax highlighting as in “emacs -Q”

I want to use the syntax highlighting that you get when running emacs -Q. If I run emacs -q, or run Emacs with no ~/.emacs file existent, or not load any custom theme, I get a dark-backgrounded color ...
5
votes
2answers
729 views

What is the correct way to unset :foreground color?

For better experience color-identifiers-mode recommends turning off colors for everything. The example in README does it by setting :foreground of faces to nil, which kinda works. However doing it ...
1
vote
3answers
818 views

Different colors for questions and answers in org-mode

I'm writing questions and answers in org-mode for project purposes (like meeting notes). A sample looks like this: 1. [X] Equipment name for tags associated with pumps - Discuss Comment: We can ...