emacs-from-scratch icon indicating copy to clipboard operation
emacs-from-scratch copied to clipboard

Incredibly Tiny text only for org files in counsel switch buffer and the kill buffer

Open LucasSandre opened this issue 2 years ago • 1 comments

image image

See the above images.

I find this very strange since it only happens to files that end in .org.

Any idea how I can fix this?

LucasSandre avatar Jul 09 '22 17:07 LucasSandre

I've localized the issue to the following segment of code

(dolist (face '((org-level-1 . 1.3)
                             (org-level-2 . 1.2)
                             (org-level-3 . 1.1)
                             (org-level-4 . 1)
                             (org-level-5 . 1.1)
                             (org-level-6 . 1.1)
                             (org-level-7 . 1.1)
                             (org-level-8 . 1.1)))
               (set-face-attribute (car face) nil :weight 'regular :height (cdr face)))

If I set org-level-7 to 2.0 it looks normal but if I switch buffers and comeback the issue still persists.

LucasSandre avatar Jul 10 '22 19:07 LucasSandre