emacs-faces Questions

3

Solved

When using npm in M-x term, it generate color message like this (even with -q) : Information from what-cursor-position There are text properties here: font-lock-face (:foreground "red3" :backgr...
Containerize asked 20/12, 2013 at 15:24

7

Solved

I've been developing my own custom color theme, and it'd be really useful if I could get a list of font-faces affecting the text under the cursor. Something like Textmate's show current scope comm...
Feingold asked 7/8, 2009 at 0:56

2

Solved

Is there any way to define a face in Emacs (e.g. highlight such as hl-line) so that it only changes the background color (and have Emacs use the foreground color as if the word was not highlighted)...
Wagram asked 31/3, 2013 at 20:0

2

Solved

I'm just starting to learn Python and use Emacs as my editor. Currently, Emacs uses the same color for normal strings (single quotes) and docstrings (triple quotes). I want docstrings to be a diffe...
Teador asked 26/2, 2011 at 22:14

2

Solved

I want to change the face attribute in Org-Agenda buffer only. So I need to change Org-Agenda face attribute buffer locally. Here is my code: (which is globally) (defun my-org-agenda-hl-line () ...
Barbey asked 13/7, 2013 at 9:48

17

Solved

I also want to save the font size in my .emacs file.
Dorsman asked 17/11, 2008 at 1:0

4

Solved

I have a function that sets Emacs' color theme to a theme defined by myself. In this function I do: (set-face-attribute 'default cur-frame :foreground fg-color :background bg-color) I then set t...
Dinh asked 17/4, 2011 at 22:40

3

Solved

this is in my .emacs can I mess with it or not? (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init f...
Celsacelsius asked 19/2, 2011 at 16:46

5

Solved

How do you change the default face which Emacs uses to style text on a per-mode basis? For example, say that I am already happy with the face customizations that I have, which include a default fi...
Promiscuity asked 10/2, 2009 at 21:33

5

Solved

If I run emacs --daemon (in .xinitrc or later) and then emacsclient -c, newly created frame has black cursor color, regardless on colortheme or any other settings. More exactly, before I type anyth...
Honeycomb asked 20/11, 2011 at 20:6

3

How can I adjust the term face in the new Emacs to get the same control that was possible with ansi-term-color-vector? One of the new features in Emacs 24.3 seems to be that it revamps the mechani...
Skirling asked 27/3, 2013 at 14:27

2

Problem solved I decided to use a scale customized font named Ricty. It was a easier way. -- I'm setting Emacs font size by using face-font-rescale-alist like followings. (create-fontset-from-a...
Ora asked 5/8, 2013 at 7:57

2

Solved

I like to see if there is a way to change the mode-link foreground and background color base on the major-mode, I was thinking to add the logic in the (add-hook 'after-change-major-mode-hook B...
Sherrisherrie asked 9/4, 2013 at 15:38

1

Solved

Strike-through texts (like this: +text+) in Org-mode are black by default. I want to make them gray. The problem is, I can't find the place to customize it. I've tried M=x describe-face, and the re...
Xanthine asked 2/11, 2012 at 6:9

1

Solved

Every now and then I run into a situation when I need to email a piece of code from emacs. When I paste text into my email program (not emacs), all the color highlighting is lost. This is especiall...
Cavite asked 20/3, 2012 at 21:36

2

I'm getting the error Unable to load color "unspecified-bg" [16 times] when using emacsclient -c. I've started up emacs using emacs --daemon. This seems to mean that my custom faces won't load. Wh...
Henka asked 29/1, 2011 at 21:43

3

I'm trying to switch to Emacs from Vim for a few months and faced the strange problem: when font-lock is on, scrolling in emacs becomes very slow. Example of relevant part of config: (require 'vim...
Gird asked 3/10, 2010 at 9:25

1

Solved

Admittedly, this is something of a first world problem, but I'm sort of picky about the appearance of the display, and I find it really annoying when some mode sets a new font size, family, bold/it...
Den asked 22/10, 2011 at 15:24

1

Solved

On this page discussing font lock mode, an example is provided which highlights a custom pattern: (add-hook 'c-mode-hook (lambda () (font-lock-add-keywords nil '(("\\<\\(FIXME\\):" 1 font-l...
Garrot asked 6/6, 2011 at 21:51

1

Solved

I'm trying to add functionality found in some other code editors to my Emacs configuration, whereby C/C++ code within #if 0...#endif blocks is automatically set to the comment face/font. Based on m...
Bumboat asked 28/12, 2010 at 19:54

1

Solved

I want to display a colored string of text in the minibuffer, but when I use the 'message' function, the text-properties of are stripped.
Thiazole asked 30/4, 2010 at 5:21
1

© 2022 - 2024 — McMap. All rights reserved.