Questions tagged [customize-face]

The tag has no usage guidance.

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

Latex mode: tex-verbatim face has priority on font-lock-comment-face

I switched to Emacs 29.1 recently. I noticed that the tex-verbatim face used in latex-mode to highlight the \href argument has priority on font-lock-comment-face. The tex-verbatim face is defined in ...
Gabriele's user avatar
  • 1,554
0 votes
0 answers
170 views

Set default face (font) with use-package ':custom-face'

What do I need to tell 'use-package' so that it will set the default font for all frames on Emacs startup? With 'use-package' now installed as part of Emacs, I want to specify faces with its :custom-...
bignose's user avatar
  • 639
0 votes
1 answer
194 views

Changing some attributes of face `mode-line`

I want to change some attributes for the mode-line using elisp file calls. But I want to use exclusively the code that I write myself, without having emacs write to my init file. Although I have been ...
Dilna's user avatar
  • 1
2 votes
1 answer
285 views

custom-set-faces not working for client

I have a custom (custom-set-faces ...) section in my ~/.emacs file. When I run emacs this section seems to get completely ignored since the custom colours don't get set. But if I go to ~/.emacs, ...
Jan Stolarek's user avatar
1 vote
0 answers
238 views

How to change face background in org mode source block?

I've changed background of org mode source blocks, which wasn't picked up by the vertical lines (rulers) on the left. I've never seen anything like that before and I would be grateful for any ...
Daniel Krajnik's user avatar
1 vote
1 answer
37 views

bookmark+ highlighting problem

I am trying to use bookmark+, but I am unable to get the highlighting as I wish (or, maybe, as I wrongly expect?): When I change the default highlight of a bookmark, I only see the purple flag, but ...
scfrank's user avatar
  • 13
2 votes
1 answer
43 views

Dired+ : Not change foreground color of compress files

Emacs 27.1 package Dired+, Version: 2023.01.14 Here screen As you can see the foreground of suffix compress file is correct (orange). Nice. But the foreground of name compress file is not change (...
a_subscriber's user avatar
  • 4,074
0 votes
0 answers
48 views

"Erase customizations" button is not reverting customized face to its standard value

What I am about to say is best reproduced with an empty configuration. So if you want to reproduce this issue just back up your ~/.emacs.d and any other init files to a different folder and try this. ...
Eminent's user avatar
  • 67
0 votes
1 answer
44 views

How to create new faces for specific keywords on a webmode buffer?

Problem In a (lsp & web-mode) buffer; "function", "if", "async" are all the same color, I tried to change "if" face with the following: (defface xxx-font-...
AVALFINN's user avatar
1 vote
1 answer
37 views

Incompatible faces error

I'm trying to set my ediff faces to reuse some of the magit faces. The ediff colors are not very good in the dark mode I'm using. But I'm getting an error about compatibility. I found this error ...
Todd's user avatar
  • 211
0 votes
1 answer
105 views

Make Emacs 28 tab-line-tab-modified styling sensitive to whether tab is active or not

Emacs 28 added the tab-line-tab-modified face to enable (for example) bolding the text of any tab corresponding to a modified buffer. I style my active tab differently from inactive tabs; my face ...
rogerl's user avatar
  • 205
0 votes
0 answers
45 views

custom-set-faces for tabline not working?

I have the following code in my customizations.el file (this is Aquamacs): (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ...
rogerl's user avatar
  • 205
2 votes
1 answer
70 views

Lisp Mode Documentation Syntax color change?

I use emacs for common lisp development. I noticed that the documentation string for functions is white and makes it hard for me to read. Is there a way for me to change the color of this string? ...
Vinn's user avatar
  • 293
2 votes
2 answers
207 views

Disable Fontification in Org-Mode while Keeping Color Highlighting

I would like to ask a question about org-mode and font-lock-mode. I just started using Emacs and, since I am not a programmer, I use it mostly for writing and handling texts. And, I am quite ...
bman25's user avatar
  • 43
0 votes
1 answer
52 views

Change background colour of the mode line in window

How can I change the background colour of the mode line of a window when not in use?
Dilna's user avatar
  • 1
1 vote
1 answer
70 views

How can I disable font-latex-math-face?

In AUCTex there is font-latex-math-face which makes color of string in between $ and $ as green. Example output: or: Is is possible to disable/delete font-latex-math-face, where the green color won'...
alper's user avatar
  • 1,370
0 votes
1 answer
103 views

Customize face can use some theme faces, but not all

This is my theme config. I am trying to modify the face list-matching-lines-buffer-name-face, which is part of the result window of occur (see replace.el.gz). Using customize-option on list-matching-...
Gauthier's user avatar
  • 509
1 vote
1 answer
46 views

Occur mode face for buffer names

The result buffer of occur displays the buffer name with some info: 69 matches in 65 lines for "use" in buffer: init.el It's alright when I run occur in only one buffer. I just started ...
Gauthier's user avatar
  • 509
0 votes
1 answer
83 views

shell-mode how to color only keywords

I have following definitions in my .emacs file for keyword coloring in shell-mode: (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) (font-lock-add-keywords 'shell-mode '(("alias " ...
alper's user avatar
  • 1,370
1 vote
1 answer
51 views

emacs 28.0.50 `sh-quoted-exec` has different coloring for `sh` and `bash`

In Shell-script[bash] mode, coloring differs for sh-quoted-exec in #!/bin/sh and #!/bin/bash. If #!/bin/sh is the first line: // I prefert this If #!/bin/bash is the first line: Would it be possible ...
alper's user avatar
  • 1,370
2 votes
0 answers
135 views

GUI emacs: What Face Defines Overlay for Truncated Lines in Margin?

I am currently using the emacs GUI. I have a custom theme defined for a particular buffer, but when the text runs over the line, an overlay takes over (presumably handling truncation) in the margins. ...
strange's user avatar
  • 81
2 votes
0 answers
134 views

Would it be possible to disable flycheck selected region on mark?

When I selected a region Ctrl-space up-arrow key, flycheck errors' font color are remain as it is. Example, flycheck error makes fore-color bold orange: Would it be possible to disable flychecks when ...
alper's user avatar
  • 1,370
1 vote
1 answer
562 views

How to define different font-lock-variable-name-face respect to different modes

By default font-lock-variable-name-face is defined as follows: '(font-lock-variable-name-face ((t (:foreground "black" :weight bold)))) Would it be possible to change its color for ...
alper's user avatar
  • 1,370
0 votes
0 answers
779 views

Customizing faces of tab-line

I've been trying to get tabs showing up on emacs, and I came across the builtin tab-mode. I'm trying to set colors and make it look decent, and I ended up here, which told me to modify tab-line-.+ ...
user avatar
0 votes
0 answers
75 views

Why bold faces do not inherit from the `bold` face?

I had tried to use a thin weight font as the default face and a regular weight font as the bold face (try, it's a nice combination), but I desisted because there are a zillion faces that do not ...
gboffi's user avatar
  • 614
0 votes
2 answers
138 views

How to remove gray color in Dired mode?

Linux Mint , Emacs 27.2 Dired, Dired+, Dired-k As a result here is the dired mode view As you can see, the names of files: to.do.org to.do.org_archive_2017 to.do.org_archive_2019 are gray. Can I ...
a_subscriber's user avatar
  • 4,074
1 vote
1 answer
267 views

Color settings with helm

I use helm a lot. I have a problem setting colors. In my init.el I have (require 'helm) (require 'helm-config) ;; change active line color (set-face-attribute 'helm-selection nil :...
PinkCollins's user avatar
1 vote
1 answer
264 views

Flymake colouring?

I've recently updated my Emacs from 26 to 27, and now the Flymake error indicators are very hard to see - they're now in a very pale rose instead of crimson red. How can I change the colour back? I've ...
user29402's user avatar
0 votes
1 answer
49 views

How to customize the rendering of the straight lines in mode line?

Here are two examples of what I mean: The lines are rendered in a different color as the background, so they are clearly seen: The lines are rendered in the same color as the background, so they can ...
nephewtom's user avatar
  • 2,261
1 vote
1 answer
454 views

Font Size (Face Attributes, Height) in Org Mode's Column View

Happy New Year! I use Org Mode and columnview extensively. The issue I am having is that zooming (Command + on MacOs or C- + on PC) doesn't work in column view. Here is an example before zooming in ...
Pablo A Perez-Fernandez's user avatar
0 votes
1 answer
36 views

shell-mode `alias` keyword is not recognized as font-lock-builtin-face type

In shell-mode; alias keyword is not recognized as font-lock-builtin-face type and remain as white color (with the current theme I am using it should be in different color) => Is it possible to add ...
alper's user avatar
  • 1,370
1 vote
0 answers
19 views

Interactively customize theme-tied faces

M-x customize-face is great and custom-theme-set-faces is a great function. Can I have these two tied together easily so that I can interactively customize a face that will be tied to the currently ...
mike3996's user avatar
  • 463