Re: [O] bug with org-mode-hook and text-scale-set

2012-04-21 Thread Matt Lundin
Bastien writes: >> 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. Thanks, Bas

Re: [O] bug with org-mode-hook and text-scale-set

2012-04-20 Thread Bastien
Hi Matt, Matt Lundin writes: > Matt Lundin writes: > >> Bastien writes: >> >>> Du Yanning 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. >>> >

Re: [O] bug with org-mode-hook and text-scale-set

2012-04-12 Thread Bastien
Hi Matt, Matt Lundin writes: > Another question: is it customary for major modes to invoke > buffer-face-mode? I was a bit confused when I first saw "BufFace" in the > mode-line, as I had not explicitly invoked the minor mode. My > understanding was that this was primarily intended as a minor mo

Re: [O] bug with org-mode-hook and text-scale-set

2012-04-12 Thread Bastien
Matt Lundin writes: > 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. Let us know about this.

Re: [O] bug with org-mode-hook and text-scale-set

2012-04-12 Thread Matt Lundin
Matt Lundin writes: > Bastien writes: > >> Du Yanning 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-re

Re: [O] bug with org-mode-hook and text-scale-set

2012-04-12 Thread Matt Lundin
Bastien writes: > Du Yanning 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 'de

Re: [O] bug with org-mode-hook and text-scale-set

2012-03-29 Thread Bastien
Hi Du, Du Yanning 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-d

Re: [O] bug with org-mode-hook and text-scale-set

2012-03-14 Thread Du Yanning
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. On Wed, Mar 14, 2012 at 1:41 PM, David Maus wrote: > Hi, > > At Tue, 13 Mar 2012 14:49:41 +0800, > Du Yanning wrote: > > org-mode 7.8.03 > > emacs 23.3, 23.4,

Re: [O] bug with org-mode-hook and text-scale-set

2012-03-13 Thread David Maus
Hi, At Tue, 13 Mar 2012 14:49:41 +0800, Du Yanning wrote: > org-mode 7.8.03 > emacs 23.3, 23.4, 24.0.94 > > steps to recreate: > > emacs -q > > copy the following code and paste it into the *scratch* buffer: > (add-to-list 'auto-mode-alist '("\\.txt\\'" . org-mode)) > (add-hook 'org-mode-hook '

[O] bug with org-mode-hook and text-scale-set

2012-03-12 Thread Du Yanning
org-mode 7.8.03 emacs 23.3, 23.4, 24.0.94 steps to recreate: emacs -q copy the following code and paste it into the *scratch* buffer: (add-to-list 'auto-mode-alist '("\\.txt\\'" . org-mode)) (add-hook 'org-mode-hook '(lambda () (text-scale-set 4))) M-x eval-buffer then C-x C-f to open a .txt f