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
0answers
16 views

Quick temporary colour change

I'm using a dark theme to write Clojure, with rainbow parentheses etc. I like this theme and its syntax colouring, and I don't want to change it or mess it up. BUT ... I'm currently sitting outside in ...
0
votes
0answers
36 views

eshell and color output

I am facing a strange behavior regarding the implementation of color for shell outputs when using eshell. This is the content of my .emacs: (require 'xterm-color) (require 'eshell) (add-hook 'eshell-...
0
votes
0answers
42 views

Fontify parts of the mode-line

How do I most conveniently fontify/colorize parts of my mode-line. Specifically I want the vc branch named to have one color for master and another for other branches.
0
votes
0answers
23 views

M-x customize-themes [no match]

I'm new to Emacs and trying to change the color scheme so that there is no blue text on a black background, but when I try instructions online on how to do so, I keep getting [no match] error messages....
0
votes
2answers
134 views

Colored string in mode line

I have: (setq mode-line-end-spaces "string") That displays string in the mode-line. How can I get string in red there?
1
vote
0answers
17 views

Is it possible to have different color values for a font-lock face in a string?

My font-lock-warning-face has a red color. Which works well in almost all circumstances, it is very pronounced. The problem is, my font-lock-string-face has orange color. So warnings inside strings ...
0
votes
0answers
19 views

In a Python code is it possible to give a color to called functions?

As a theme I am using Dracula. For example I have this example code piece coloring: When cursor is on terminate() and I typed M-x customize-face it is linked to (default ‘all faces’). I am not sure ...
0
votes
0answers
14 views

How to change color of the found character string on `projectile-find-file`? [duplicate]

I am using projectile-find-file to open files. The color of the found part of the string ex: (bash) in the mini-buffer is unreadable on my terminal. Is it possible to change its color? Example ...
1
vote
1answer
33 views

Syntax coloring: Unable to color special syntax

I am writing a mode to color a few common syntax in a symbolic language called FORM. I am a new user of emacs and I took the help of this website to write down the following code. I modified the ...
0
votes
1answer
106 views

Use the terminal background color for the emacs -nw

I am looking for a way to force "emacs -nw" to use the same background color that the terminal uses. (just like vim does). By default, every emacs theme has its own default background color. ...
0
votes
0answers
424 views

Change the color of delimiters of agenda view

I use the theme "doom-one" which displays the org-agenda-view as: The color delimiters is gray which not very obvious to distinguish every range. On the theme of doom-dark+, the delimiter is of ...
1
vote
1answer
307 views

Change Background Color of Code Block for org-mode LaTeX export

I'm inserting code fragments in an org-mode document like this: #+CAPTION: My Caption #+NAME: fig:figure_name #+BEGIN_SRC a_language My code ... #+END_SRC In PDF LaTeX export, the code blocks are ...
0
votes
1answer
62 views

How to make emacs show correct hex color on background?

The way I run emacs: TERM=xterm-256color emacs -nw <my_file> I am trying to have background on dracula-theme (https://github.com/dracula/dracula-theme). I have added following line into ....
0
votes
0answers
56 views

Emacs font style and colorisation

I am used to Emacs under Windows 10 and trying to switch to Ubuntu. My Windows 10 Emacs font is M-x describe-font: name (opened by): -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-...
0
votes
1answer
165 views

Required color-theme file missing in Emacs 26

After upgrading my OS (Ubuntu, from 18.04 to 19.04), my favorite text editor was automatically upgraded from Emacs 25 to Emacs 26. I then encountered a familiar error message at start-up: File is ...
1
vote
3answers
98 views

How to override background to black after load-theme?

I am using the monokai theme from https://github.com/oneKelvinSmith/monokai-emacs, and I would like to override the background to be black. Following the override instructions, I tried: (setq monokai-...
0
votes
0answers
21 views

How to make e2ansi-cat work with emacs 26

I'm trying to to cat the file named foo using e2ansi-cat: AdministorsMBP2:~ administrator$ e2ansi-cat --color-class=color --background-mode=light foo Cannot open load file: No such file or directory, ...
0
votes
1answer
62 views

How to show colours and clear when running React development server in eshell?

Here is how the usual Ubuntu terminal looks when you run the React development serving using npm start and make changes to your source: Say the server was already running and you tried to do npm ...
0
votes
0answers
15 views

Change default colors in f90-mode [duplicate]

Could you let me know where the default colors in f90-mode are defined and how to change them?
1
vote
1answer
32 views

Coloured active mode line only when many windows

I am reluctantly using a coloured active mode line to distinguish it from inactive mode lines, but it occurred to me that it might be possible to reserve its colouring for times when there are more ...
0
votes
1answer
46 views

How to change color of Python “None” and Booleans for digital-ofs1 color theme

I'm trying to change the color of Python None and Boolean variables in the digital-ofs1 color scheme, but can't find which variable to change. I've Googled around to no avail and can't seem to solve ...
0
votes
1answer
454 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
50 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 "...
1
vote
0answers
58 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
60 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
75 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
88 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 ...
1
vote
1answer
96 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
161 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 ...
4
votes
1answer
138 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
252 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
87 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
99 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 ...
1
vote
0answers
150 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
21 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
506 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
103 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
310 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
101 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
271 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
1k 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
245 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
418 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
419 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
387 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
202 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
82 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
122 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 ....