emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug with org-mode-hook and text-scale-set
@ 2012-03-13  6:49 Du Yanning
  2012-03-14  5:41 ` David Maus
  0 siblings, 1 reply; 10+ messages in thread
From: Du Yanning @ 2012-03-13  6:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 670 bytes --]

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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  6:49 bug with org-mode-hook and text-scale-set Du Yanning
2012-03-14  5:41 ` David Maus
2012-03-14  7:46   ` Du Yanning
2012-03-29 10:45     ` Bastien
2012-04-12 15:06       ` Matt Lundin
2012-04-12 18:28         ` Matt Lundin
2012-04-13  5:09           ` Bastien
2012-04-20 13:00           ` Bastien
2012-04-22  0:46             ` Matt Lundin
2012-04-13  5:09         ` 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).