emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#11110: bug with org-mode-hook and text-scale-set
       [not found] <CALr_ej3F=AFxBKLSnT8sOkF9FCivBpF6YnqBkbR+zSCSUXqbZA@mail.gmail.com>
@ 2012-03-29 10:47 ` Bastien
  2012-04-01  9:59 ` Bastien
  1 sibling, 0 replies; 2+ messages in thread
From: Bastien @ 2012-03-29 10:47 UTC (permalink / raw)
  To: Du Yanning; +Cc: 11110

Hi Du,

Du Yanning <duyanning@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11110: bug with org-mode-hook and text-scale-set
       [not found] <CALr_ej3F=AFxBKLSnT8sOkF9FCivBpF6YnqBkbR+zSCSUXqbZA@mail.gmail.com>
  2012-03-29 10:47 ` bug#11110: bug with org-mode-hook and text-scale-set Bastien
@ 2012-04-01  9:59 ` Bastien
  1 sibling, 0 replies; 2+ messages in thread
From: Bastien @ 2012-04-01  9:59 UTC (permalink / raw)
  To: Du Yanning; +Cc: 11110-done

Du Yanning <duyanning@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-01 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CALr_ej3F=AFxBKLSnT8sOkF9FCivBpF6YnqBkbR+zSCSUXqbZA@mail.gmail.com>
2012-03-29 10:47 ` bug#11110: bug with org-mode-hook and text-scale-set Bastien
2012-04-01  9:59 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).