[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug with org-mode-hook and text-scale-set
From: |
Bastien |
Subject: |
Re: [O] bug with org-mode-hook and text-scale-set |
Date: |
Thu, 29 Mar 2012 12:45:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Hi Du,
Du Yanning <address@hidden> writes:
> text-mode-hook and c-mode-hook do NOT have this bug.
> and the org-mode-hook of orgmode shipped within emacs 23.3 does NOT
> have this bug.
This is now fixed, thanks.
The problem was that Org relied on `face-remapping-alist' to
remap the 'default face to the 'org-default face. Relying on
this mechanism produces the error you reported, because the
text-scale-set doesn't interact well with remapped faces.
I'm now relying on `buffer-face-mode' which seems to be a
cleaner approach.
Best,
--
Bastien