New answers tagged

0

There’s no way to change the font for just the bullets, but you can change the font for the whole heading without changing the default font. Put your cursor on the heading and type C-u C-x =. This runs what-cursor-position, which gives you all the details about the character under the cursor. Scroll down to the text properties until you find the “face” being ...


0

After days of research on how to approach this problem, I came across these two solutions which each solve different aspects of the problem, namely changing text surrounded by a specific character into a user defined colour. After combining those two solutions together, I came up with this code: ;; set colour in Org mode (defun ask-colour (x) "Ask ...


1

Sorry that I didn't see this earlier. This should only happen in older hide-ifdef-mode in Emacs v24 or earlier. For any Emacs version newer than 25.1 (released 2016/09/17), the aforementioned Hide If Def that I rewrote is built-in and replace the old implementation, which did have the problem of not being able to evaluate preprocessor macros properly. In ...


1

Yes, you can. See the Elisp manual, node Search-based Fontification. font-lock-keywords (which you set using font-lock-keywords, e.g. font-lock-add-keywords) can use a FACESPEC expression, which is evaluated to provide the face to use. FACESPEC is an expression whose value specifies the face to use for highlighting. In the simplest case, FACESPEC is a Lisp ...


0

Put your cursor on (just before) a character that has the colored text, and use C-u C-x = (command what-cursor-position). Near the bottom of the *Help* buffer you'll see the name of the face(s) used on that character. M-x customize-face and enter then name of the face. Customize it to change the foreground or background color etc. Save your customizations. ...


1

Have you tried a different font? The cursor shape is likely not easy to change, but the font should be. You can also increase line spacing: See (elisp) Layout Parameters and (elisp) Special Properties. You can also try to change frame parameter cursor-type or user option cursor-type. (They allow the same values.) You can set the height of the cursor with ...


Top 50 recent answers are included