Hi Matt, Matt Lundin <m...@imapmail.org> writes:
> Matt Lundin <m...@imapmail.org> writes: > >> Bastien <b...@gnu.org> writes: >> >>> Du Yanning <duyann...@gmail.com> 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. >> >> On my machine, this change causes a noticeable lag when typing in >> org-mode buffers. The cursor hesitates for a bit and then lurches >> forward. If I turn off buffer-face-mode the lag disappears. I'm still >> figuring out how to diagnose the problem. > > Another question: is it customary for major modes to invoke > buffer-face-mode? Emacs devs said using buffer-face-mode is "obnoxious". So I buffer-face-mode is not turned on by default anymore. org-default is still the face for buffer-face-mode, though. -- Bastien