简体   繁体   中英

Emacs linum-mode using the Solarized theme doesn't show correct font size for org-mode headings

I have a problem with linum font scale. It would be great if linum scale saved current font size.

in my .emacs:

 (require 'linum)
 (setq linum-format "%4d ")
 (global-linum-mode 1)
 (add-to-list 'default-frame-alist '(font . "Source Code Pro Medium-14"))
 (set-default-font "Source Code Pro Medium-14")

I was trying to use this instruction: https://www.emacswiki.org/emacs/LineNumbers#toc8 but didn't have the result.

[frame] : https://i.stack.imgur.com/whO3Q.png

help!

I thought the problem was with linum-mode. But later it turned out that I forgot to turn on (setq solarized-scale-org-headlines nil) to make letters in headers smaller.

I found the reason of this problem. It's been my solarized theme. github page have an instruction how to fix this problem. Sorta.

(setq solarized-scale-org-headlines nil)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM