Subject: bug#11110: closed (Re: bug#11110: bug with org-mode-hook and text-scale-set)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 01 Apr 2012 19:23:02 +0000

Your bug report

#11110: bug with org-mode-hook and text-scale-set

which was filed against the emacs,org-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
11110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11110
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#11110: bug with org-mode-hook and text-scale-set
From: Bastien <[email-masked]>
To: Du Yanning <[email-masked]>
Cc: [email-masked]
Date: Sun, 01 Apr 2012 11:59:49 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Du Yanning <[email-masked]> writes:

> 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 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.

This is now fixed in Emacs trunk.  Thanks.

-- 
 Bastien

Subject: bug with org-mode-hook and text-scale-set
From: Du Yanning <[email-masked]>
To: [email-masked]
Date: Wed, 28 Mar 2012 17:27:05 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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 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.