Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1979

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.

4 votes
Accepted

Elisp revert add-face-text-property

You can try to use font-lock--remove-face-from-text-property, tho as the "--" indicates, this is not really meant to be used.
Stefan's user avatar
  • 26.7k
5 votes
Accepted

How to make new text highlighted as well?

The problem is that you're trying it out in fundamental-mode. As explained in the docstring of hi-lock-mode: [...] In buffers where Font Lock mode is disabled, patterns are applied using overlays; i …
Stefan's user avatar
  • 26.7k
0 votes

Highlight active region without transient-mark-mode

FWIW, here's a piece of Elisp which makes it always highlight the region, without affecting anything in Emacs's behavior (other than the visual aspect of the text in the region, obviously): (advice-a …
Stefan's user avatar
  • 26.7k
2 votes

Is there a way to determine the face at frame x / y (mouse position)?

If you can't put point at the correct place and use C-u C-x =, it might be due to the fact that the relevant element is displayed via an overlay's before/after-string, or because that element disappea …
Stefan's user avatar
  • 26.7k
6 votes
Accepted

Why isn't face-remapping-alist permanent-local by default?

permanent-local is fundamentally a way to distinguish whether the variable's buffer-local value is really specific to this buffer or is specific to the mode currently in use in this buffer. Sadly, in …
Stefan's user avatar
  • 26.7k
4 votes

Can I change the background color of the inactive minibuffer?

You might try: (dolist (buf '(" *Echo Area 0*" " *Echo Area 1*")) (with-current-buffer (get-buffer buf) (make-local-variable 'face-remapping-alist) (add-to-list 'face-remapping-alist '(defa …
Stefan's user avatar
  • 26.7k