New answers tagged

0

One possibility is to use ANSI-term M-x ansi-term


2

[The answer version of my comment on the question.] Check the value of org-fontify-quote-and-verse-block, which is nil by default, meaning those blocks should be fontified like regular org.


1

As a practical answer to Part 2 of your question: $ fc-list -f "%{fullname} : %{foundry} : %{family}\n" | grep Ubuntu produces: Ubuntu Medium : DAMA : Ubuntu,Ubuntu Light Ubuntu Mono Bold : DAMA : Ubuntu Mono Ubuntu Bold Italic : DAMA : Ubuntu Ubuntu Light : DAMA : Ubuntu,Ubuntu Light Ubuntu Condensed : DAMA : Ubuntu Condensed Ubuntu Medium ...


0

I ain't no expert on fonts. Let me know if this works for you (It's supposed to set font size to be 20): (let ((fsize 20) ;; font size (fs (font-spec :name (frame-parameter nil 'font)))) (font-put fs :size fsize) (set-frame-font fs nil t) (let ((new-font (frame-parameter nil 'font)) (current-default (assq 'font default-frame-alist))) ...


0

I found the answer. Doing this does the trick: (use-package! mixed-pitch :hook (org-mode . mixed-pitch-mode) :config (setq mixed-pitch-set-heigth t) (set-face-attribute 'variable-pitch nil :height 1.3)) I have set the height for my normal font to 1.0: (setq doom-font (font-spec :family "Fira Code" :style "Retina" :size 14 :height ...


1

So, I have found 2 solutions for 2 different terminal emulators. with Kitty terminal emulator with Alacritty terminal emulator Kitty Using the Kitty terminal emulator I had the same issue, I was following the emacs FAQ The fix was to do use=xterm-kitty instead of use=xterm-256color. So I used: xterm-emacs|xterm with 24-bit direct color mode for Emacs, ...


1

I think you want something like this where you only apply the face to part of the match, in this case we mark log as group 1, and only apply the face to it. This pattern won't match the other places you show log above. (font-lock-add-keywords 'python-mode '(("\\(log\\)(.*)" 1 font-lock-builtin-face)))


Top 50 recent answers are included