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.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
118 views

Use colors with artist-mode

Is there a good robust method to draw with colors in artist-mode or a similar mode? By this I mean setting the foreground and background faces to colors such as red, green, blue, etc. for individual "...
3
votes
1answer
180 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 ...
3
votes
0answers
332 views

Avoiding screen flickering when one theme is disabled and another enabled (inhibit redraw???)

Is it possible to temporarily disable buffer (and frame) redraws? I particuarly mean situation, when I disable some theme and enable another one, and would like to avoid a moment when emacs flashes ...
3
votes
0answers
1k views

How to make the custom font lock keywords not override the default major mode font lock?

Following my previous question on making custom highlight rules here: Color-code a new generic character combination , I have stumbled on a new issue, that possibly merits another question. I have a ...
2
votes
0answers
162 views

ANSI TERM via `M-x TERM`: How to change line highlighting color?

How do you change the line-highlighting color in an ANSI-TERM?: I am using PDB++'s sticky mode for Python debugging. This is how to appears on a regular terminal (lubuntu 17.04): Notice the word ...
2
votes
0answers
91 views

How to make minor customization to emacs theme colors

I'm a fan of gruvbox, but would like to slightly change the white colors to make them less intense. Is there any easy way of changing this line: (gruvbox-light0 "#fdf4c1" "#ffffaf") to this: (...
2
votes
0answers
81 views

Is there a way to color replies in the email body on mu4e?

I'm on some mailing lists and there is a top-post culture. It's difficult for me to visually delineate the reply from the original content. Is there facility for coloring (perhaps in alternating ...
2
votes
0answers
151 views

Eshell stuck colors

When using eshell, if I run a command that outputs colored text, sometimes eshell will get 'stuck' in that color. For example if I use ack and press Ctrl+C before the output finishes this will happen. ...
2
votes
1answer
1k views

256 colors in FbTerm

Is there a way to get emacs with 256 colors in FbTerm? I've seen some old posts on the topic but I haven't seen any confirmation that it will work. EDIT: If I start FbTerm with this command: ...
1
vote
3answers
62 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-...
1
vote
0answers
43 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." ...
1
vote
1answer
77 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,...
1
vote
0answers
144 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
378 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 ...
1
vote
0answers
88 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
0answers
87 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 ...
1
vote
0answers
186 views

Changing org colour order with solarized theme

Using the solarized theme from this repository, how can I change the colour order of org headings? I like the default order better than those defined in the solarized package, but would like the ...
1
vote
0answers
323 views

How to set column highlight background color for wrapped lines in terminal mode?

I'm new to emacs (spacemacs). I've set up the col-highlight package in my .spacemacs like so: (column-highlight-mode 1) (set-face-attribute 'col-highlight nil :inherit 'hl-line :background) in ...
1
vote
0answers
657 views

Restore default colors (black text on a white background)

I played around with elpy and after following the tutorial, it changed the emacs theme to a black background. When trying to revert this, I managed to get a white font on a white background ...
1
vote
0answers
25 views

How can I have C functions coloured based on whether they are defined?

Colleague of mine showed me a cool feature of gnome-builder which does colour symbols based on whether they are defined or not and I was wondering whether it is possible in Emacs as well. And by that ...
1
vote
0answers
156 views

Speedbar: Colored entries using imenu-generic-expression

I would like to search for certain doxygen like pattern in my files and then add corresponding entries to a speedbar for easy browsing. Some of these entries I want to have colored in red. I figured ...
0
votes
0answers
139 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 ...
0
votes
0answers
45 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
0answers
79 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 ...
0
votes
0answers
20 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
43 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
1answer
27 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
0answers
49 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
1answer
49 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 ...
0
votes
0answers
23 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 ...
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 ...
0
votes
0answers
182 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
304 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
193 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
0answers
47 views

Why does visiting a file cause my to lose me custom faces?

Every time I start emacs and visit my first reStructuredText file, I discover that I once again have the default colors for the section headings, which are illegible to me. If I have the customizer ...
0
votes
0answers
186 views

Different themes for text buffers vs ansi-term?

I'd like to be able to use different color themes when I'm editing text versus when I'm using a terminal such as ansi-term. (Note: I'm not referring to different color schemes for GUI mode versus ...