emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Du Yanning <duyanning@gmail.com>
Cc: 11110-done@debbugs.gnu.org
Subject: bug#11110: bug with org-mode-hook and text-scale-set
Date: Sun, 01 Apr 2012 11:59:49 +0200	[thread overview]
Message-ID: <87wr5zepre.fsf@gnu.org> (raw)
In-Reply-To: <CALr_ej3F=AFxBKLSnT8sOkF9FCivBpF6YnqBkbR+zSCSUXqbZA@mail.gmail.com> (Du Yanning's message of "Wed, 28 Mar 2012 17:27:05 +0800")

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.


      parent reply	other threads:[~2012-04-01 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wr5zepre.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=11110-done@debbugs.gnu.org \
    --cc=duyanning@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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