[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] bug#11110: bug with org-mode-hook and text-scale-set
From: |
Bastien |
Subject: |
[O] bug#11110: bug with org-mode-hook and text-scale-set |
Date: |
Thu, 29 Mar 2012 12:47:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Hi Du,
Du Yanning <address@hidden> writes:
> 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 file, and then C-x C-f to open another
> .txt file.
> Every time a .txt is opened, the font size become larger and larger.
> However, the indicator in the mode line remains +4.
>
> 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.
Fixed in Org git repository, will be fixed in Emacs after the next
merge. I will mark it "done" when it's merged.
--
Bastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] bug#11110: bug with org-mode-hook and text-scale-set,
Bastien <=