Skip to main content

Questions tagged [font-lock]

Font Lock mode is a minor mode, always local to a particular buffer, which assigns faces to the text in the buffer.

0 votes
0 answers
17 views

I've been using typescript-mode and tide for a long time but I wanted to try out tree-sitter and lsp-mode. I've got most things working except for one problem with syntax highlighting. When I first ...
ironchicken's user avatar
1 vote
1 answer
40 views

If in my config files I just have the line (setq cperl-invalid-face nil) then in cperl-mode things behave as I expect: trailing whitespace is not shown with an underline. I tried add this to the ...
A.Ellett's user avatar
  • 143
1 vote
0 answers
50 views

In AucTeX mode (but I think this is not related to this mode), I often type semi closed-semi open intervals like $(a,b]$ Then the syntax checker complains that some braces are not balanced and colors ...
Laurent D.'s user avatar
0 votes
1 answer
88 views

While researching how to remove C and C++ style comments from a file, I stumbled on the following two comments by Alan Mackenzie from almost 20 years ago: I can assure you, as half of the Emacs CC ...
Gao's user avatar
  • 101
0 votes
0 answers
67 views

I am trying to add my own org 'document keywords' with my own faces. I am referring to the keywords sitting at the top of the file like #+title: My Tile for example which get their own faces. Thanks ...
lyndhurst's user avatar
  • 123
0 votes
0 answers
90 views

I sometimes experience "color bleeding" in auctex, and wasn't able to find the source of the problem for a long time. In particular because I wasn't able to reproduce the issue. I also can't ...
student's user avatar
  • 1,199
2 votes
1 answer
58 views

is there a way of highlighting a prettified phrase? Something like: (push '("\\qquad " . "⧢") prettify-symbols-alist) (highlight-phrase "⧢" 'shadow) (highlight-...
Alois Pichler's user avatar
0 votes
1 answer
76 views

I have a list of thousands of different strings made up of different numbers of words (e.g. names of specific people) that I would like to fontify in a buffer. Some applications I could use for ...
John Kitchin's user avatar
  • 12.2k

15 30 50 per page
1
2 3 4 5
22