[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Adaptive Org faces in headings?

From: Sheng Yang
Subject: Re: [PATCH] Adaptive Org faces in headings?
Date: Sat, 19 Sep 2020 22:24:10 -0500
User-agent: Cyrus-JMAP/3.3.0-325-g8593b62-fm-20200916.004-g0f995879-bis

Thanks for the patch!
I noticed the patch also works for org-link, which had been a headache for me.

On Fri, Sep 18, 2020, at 04:52, Protesilaos Stavrou wrote:
Ihor Radchenko <yantar92@gmail.com> [2020-09-17, 16:25 +0800]:

> The attached patch seems to fix the issue.
> Can anyone test?

I also tested, with the following org file. Works well with one exception: the underline for org-link, which remains the color of itself. The reason is that face org-link inherits face link, which has :underline t in its setting. Therefore, it should be the expected behavior.
* test ~code~ =verb= [[link]]
  #+begin_src emacs-lisp
(set-face-attribute 'org-level-1 nil :height 3.0 :weight 'normal)
(set-face-attribute 'org-level-1 nil :weight 'bold)
(set-face-attribute 'org-level-1 nil :background "white")
(set-face-attribute 'org-level-1 nil :overline "yellow")
(set-face-attribute 'org-level-1 nil :underline "red")

Sheng Yang(杨圣), PhD student
Computer Science Department
University of Maryland, College Park
E-mail: styang@fastmail.com
E-mail (old but still used): yangsheng6810@gmail.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]