Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [faces]

A 'face' in Emacs is the visual presentation of text using fonts and highlighting. A default face, for example, specifies both the font and the foreground and background colors.

0
votes
1answer
23 views

running emacs as a daemon does not load custom-set-faces?

I am starting with emacs --daemon in my session, and it seems to trigger some odd behavior regarding themes and faces. I am using this solarized theme but I have found it to have weird cursor issues. ...
0
votes
0answers
18 views

Customize faces of simple timestamp Org agenda items similar to scheduled ones

I use the different timestamping methods available in Org to organize my tasks and my agenda. In particular, I use simple timestamps for tasks which must be performed at specific times and dates. That ...
1
vote
0answers
21 views

Display done org-habit habits in a different face

I'm experimenting with org-habit and currently have org-habit-show-all-today set to t so I can see a habit even when I've done it for that day. I'm doing that because I want to get the little reward ...
0
votes
0answers
25 views

Change the color of the file-name as it appears on an Emacs buffer mode line

I just downloaded the hemisu theme for Emacs which works very nicely. One flipside of the theme is that the file-name shows up in very lightly colored letters, and so becomes difficult to read. This ...
0
votes
0answers
18 views

ediff - changing highlight colors when running without graphics

I'm used to running emacs -nw, how can I change highlight colors when using ediff? Default is white and renders code unreadable. EDIT: It seems I was wrong: only inactive rows have white background, ...
1
vote
0answers
34 views

Make text Invisible with font-lock-keywords

I'm interested in changing my org-mode buffers to have a better looking logbook. My ideal state to end up in is that text that looks like this: - State "WAITING" from "WAITING" [2018-11-16 Fri ...
0
votes
1answer
33 views

Setting font facename for emacs and xterm under linux

How can I set the font name and size for Arabic letters in both emacs and xterm? Thanks
3
votes
2answers
76 views

Changing faces one at a time, outside customize

Is there a way to change faces one at a time, outside of customize? In my custom-file I see a big blob of face customizations that starts with: (custom-set-faces ;; custom-set-faces was added by ...
0
votes
0answers
15 views

Finding a fold face

Enter TeX-mode (AUCTeX), type \emph{test} and then C-c C-o C-b. This will 'fold' the macro and show only test in a 'fontified' manner. For me this means blue, italic, and bold. But I am unable ...
1
vote
1answer
40 views

Custom function to apply bold face to a region

I know there is a function called: facemenu-set-bold, which is bound to M-o b, but I'm trying to write my own as an exercise. Here is my code: (defun my-function() "this is my function" (...
2
votes
2answers
47 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" ...
0
votes
1answer
45 views

Change list bullets in org-mode depending on embedding level

Is it possible to change the face of list bullets dynamically, mimicking the behaviour of WYSIWYG textprocessors like MS Word?
4
votes
2answers
83 views

hl-line face used as default in 26.1

When I use emacs 24.3.1 and run /usr/bin/emacs -Q Then M-< followed by M-xglobal-hl-line-mode and M-xdescribe-face, emacs asks me Describe face (default `font-lock-comment-delimiter-face'): But ...
0
votes
1answer
32 views

Configuring faces in LaTeX mode

I use alot the M-o i shortcut (which, according to the key description, runs the command facemenu-set-italic) to emphasize parts of my text. Over the years I have changed several computers (hence OSes ...
4
votes
2answers
106 views

Change color of org-mode checkboxes

I'd like to change the color of unchecked checkboxes in org-mode. To be exact, I want them to be displayed in the color of TODO keywords. So I've tried to tackle this using custom-set-faces and :...
-1
votes
2answers
35 views

Highlight active region without transient-mark-mode

Is there any way to have the region highlighted without transient-mark-mode on? I'm trying to implement kakoune style editing in emacs and having a persistent region actually makes sense under that ...
0
votes
0answers
14 views

My theme's default face is ignored

I recently changed my Linux distribution (from an old Opensuse 13.1 to Linux Mint 19, which comes with "GNU Emacs 25.2.2 of 2017-09-22, modified by Debian"), and now my very basic theme is not working ...
0
votes
1answer
20 views

Can't find the name of a face in the *Buffer List* menu

The green arrow points to the face header-line; so I'm good there. But I have no idea what specific face the red arrow is pointing to. Does anybody know?
-1
votes
1answer
100 views

Colors with enriched-mode

I am trying to use the enriched-mode for my personal documentation. I would like to colorize specific sections of my text for clarity. I can successfully do it with Edit/Text Properties/Foreground ...
5
votes
1answer
61 views

Toggle text visibility

I would like to temporarily not be able to see what I am writing (counter-intuitive, I know, but sometimes it's helpful to not be able to immediately criticize what you are writing in order to ...
1
vote
0answers
73 views

tabbar with theme

I want to remove a white border of the tabbar. (The strange color choice is only for checking the configuration of faces.) As you can see, the right part of tabbar has a white border and I can not ...
5
votes
2answers
75 views

Combining diacritics not combining visually

The first two characters in the left buffer are LATIN SMALL LETTER A and COMBINING CIRCUMFLEX ACCENT. Together they should display as â, just like LATIN SMALL LETTER A WITH CIRCUMFLEX, â. However, ...
0
votes
0answers
31 views

highlight indentation with emacs client

I realized that neither highlight-indentation nor highlight-indent-guides works with emacs in server/client mode. I'm launching emacs server/client like this : $ /usr/bin/emacs --daemon $ ...
0
votes
1answer
45 views

Why are code blocks and code literals displaying with large face in markdown

In markdown mode, all of the fenced code blocks and inline code literal strings are displaying with this very large font. The size is large, and also I'm pretty sure it isn't the same font as the ...
0
votes
1answer
167 views

some set-face-attribute not being applied when I create a new frame using C-x 5 2

I've a few set-face-attribute statements inside eval-after-load blocks inside my zenburn theme configuration. These are working fine when I startup emacs using emacsclient. But, when I create a new ...
0
votes
1answer
27 views

Change face for non-selected ivy items

I'd like to change the foreground color of non-current ivy items. The only way that I've found to do that so far is to define my own ivy-format-function like this: (defun aj/ivy-format-function-line (...
0
votes
1answer
38 views

enlarge font of functions only in C code

I am trying to do exactly this for my C code, but once I edit latex, the setting is still active in uncomfortable places. I need to preserve the setting once I exit emacs and in all the buffers with C ...
0
votes
1answer
64 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 ...
2
votes
1answer
244 views

Change background color of quote block

I have a theme in which I specified how my source blocks and quote blocks look: `(org-block ((,class (:foreground ,fg3 :background ,"#fffce9")))) `(org-block-begin-line ((,class (:foreground ,"#...
0
votes
1answer
66 views

Setting faces in a uniform way

These statements lets you set foreground and background colours in a straight forward syntax: (set-face-foreground 'font-lock-constant-face "brightwhite") (set-face-background 'font-lock-...
2
votes
1answer
109 views

Which faces do Ivy/Counsel use in the minibuffer?

Which faces are being applied to the indicated text, i.e. the strings 3114, M-x, and C-x C-c, in the following screenshot? I am using the packages Ivy and Counsel, in case that is relevant.
1
vote
2answers
64 views

Change colours for character differences for diff-mode

I've changed my diff-mode colours according to this article, but the character-based differences are shown in the original(?) and very bright colours, making them quite unreadable. How do I change ...
1
vote
0answers
66 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 ...
0
votes
0answers
87 views

How can I enlarge the font of tooltips?

I want to enlarge the text in tooltips displayed via https://www.emacswiki.org/emacs/PosTip . What can I do?
0
votes
1answer
25 views

Change the block background color

My question is how to customize this kind of blocks' background color?
1
vote
1answer
40 views

Temporarily syntax highlighting combined with query-replacements

In latex-mode many macros comes with syntax highlighting. For example: where the argument of the command/macro \bibitem (Fisher:99) has font-lock-constant-face. I need to do something similar with ...
0
votes
1answer
296 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
21 views

Ruby's array.sample() equivalent for lisp

I want to write a method that returns a random (predefined) face In ruby I would do, def random_face [ :my-face-01, :my-face-02, :my-face-03 ].sample(1).first end How can I do it in elisp?
2
votes
1answer
55 views

Color problem on the bottom right corner?

I am using terminal emacs. Please see the screenshot: There is a dark area which is not matching with the background in the bottom right corner of the screen. What is the face for that? How do you ...
1
vote
1answer
71 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
129 views

ubuntu mono font hanging emacs?

I think this may be as much a problem with the fonts as with emacs. I've been using Ubuntu's mono font for emacs, and activating with: (set-face-attribute 'default nil :font "Ubuntu Mono") However, ...
2
votes
1answer
42 views

How to customize face when use 'org-edit-latex-environment?

When use org-edit-latex-environment(which opens another buffer so latex source code can be edited in more sophiscated environment, e.g. LaTeX) in org-mode, the source block will be highlight as yellow ...
0
votes
0answers
107 views

Why am I getting this error: “Default face height not absolute and positive”?

I am trying to set a default font using the 'Options' menu in Emacs 23.1 and I am getting this error after I save the options and reopen Emacs. Warning (initialization): An error occurred while ...
1
vote
0answers
66 views

Org background color when collapsed

Lets say I want to color a particular org-level-heading with a code as below (set-face-attribute 'org-level-1 ((t (:background "linen") ) )) The uncollapsed heading will look like However, when the ...
1
vote
0answers
169 views

Org agenda using default face for some things (not caused by font-lock)

Org agenda is using the default face for some items, preventing customization. I've seen Org Agenda faces do not appear after applying themes, but font-lock is not enabled for my agenda buffer (the ...
0
votes
0answers
99 views

Change folded heading face after ellipsis

Some of the themes I've tried using change the background color of folded headings after the ellipsis. As you can see in the image: * Folded heading one ... [This area has a different background, ...
0
votes
0answers
63 views

How can I disable italics text on emacs?

When I edit my shell script, commands like export and cd are in italics text. How can I make them look normal? Image: Thanks!
2
votes
1answer
49 views

How do I change the Magit section heading background color?

I'm trying to customize the look and feel of my Magit setup. How do I change the background color of the section heading below? In particular, I'd like to change the black background color next to ...
0
votes
0answers
23 views

PT Mono bad Greek glyphs

I use PT Mono in Emacs. Many of the Greek glyphs show up as symbols of some Eastern script (could not identify what). The Greek glyphs of other fonts I tried (Droid Sans Mono, Inconsolata, Hack, ...
6
votes
2answers
754 views

emacs blue 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?