Linked Questions

7
votes
2answers
2k views

Use a different color theme for eww buffers

I saw this question: How to customize background color for some web pages opened with eww? but this won't work for me. I'm trying to read Wikipedia pages and in many places Wikipedia uses images to ...
8
votes
1answer
511 views

Set font for a specific file?

I'd like to always display one particular text file named "table.txt" in a monospaced font, while displaying all the other buffers in a variable-width font. How can I achieve this? Edit: the ...
6
votes
2answers
1k 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 ...
4
votes
1answer
726 views

Is it possible to change the font size in specific buffers?

I would like to have different font sizes for the buffer windows in Emacs. That is, I would like to have a bigger font in the buffer where i write the code, and a smaller font in the buffer where i ...
3
votes
1answer
1k views

Org-column face settings not coming through in org-mode column view

I'm trying to use a fixed width font when in org-mode's column view (I use variable width font otherwise). Customizing the org-column face attribute doesn't seem to do it. How can I get this to work? ...
2
votes
2answers
173 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?
3
votes
1answer
233 views

A different color for each client

Today I started using desktop-mode. It's nice to be able to save a desktop using the desktop-save command, and load one using the desktop-change-dir command. Sometimes I do M-x cd to change the ...
1
vote
1answer
89 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 ...
1
vote
0answers
221 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 ...
0
votes
0answers
126 views

Setting custom font size for org-mode?

What's a recommended way to set the font size for org-mode (or any other major mode) to a certain value that is different from the global font size? By looking at documentation C-h k C-x C-+, this is ...
0
votes
1answer
69 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 ...
2
votes
1answer
29 views

How can I make a theme use particular face attributes for a given face in a single buffer?

I'm loading a deftheme theme using (load-theme). I'm very happy with it most cases, but in yaml-mode I'd like to change attributes for font-lock-variable-name-face. How can I make the theme use ...