[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Suggestion: default value of `font-lock-verbose' should be nil
From: |
Dan Davison |
Subject: |
Suggestion: default value of `font-lock-verbose' should be nil |
Date: |
Mon, 10 Jan 2011 18:30:27 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) |
I suggest changing the default value of `font-lock-verbose' to nil. The
fontification messages cause noticeable slowdowns on OS X[1] in certain
situations (e.g. viewing src code blocks in org-mode with
`org-src-fontify-natively' turned on). I suspect that the sorts of users
who might appreciate the output would be able to turn the variable on.
Thanks,
Dan
Footnotes:
[1] I don't know the reason for the platform-specificity.
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index fe87329..c2620a4 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -276,7 +276,7 @@ decoration for buffers in C++ mode, and level 1 decoration
otherwise."
(integer :tag "level" 1)))))
:group 'font-lock)
-(defcustom font-lock-verbose 0
+(defcustom font-lock-verbose nil
"If non-nil, means show status messages for buffer fontification.
If a number, only buffers greater than this size have fontification messages."
:type '(choice (const :tag "never" nil)
- Suggestion: default value of `font-lock-verbose' should be nil,
Dan Davison <=