From: Dan Davison <dandavison7@gmail.com>
To: emacs-devel@gnu.org
Subject: Suggestion: default value of `font-lock-verbose' should be nil
Date: Mon, 10 Jan 2011 18:30:27 +0000 [thread overview]
Message-ID: <m1bp3o3930.fsf@gmail.com> (raw)
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)
next reply other threads:[~2011-01-10 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 18:30 Dan Davison [this message]
2011-01-10 19:06 ` Suggestion: default value of `font-lock-verbose' should be nil Drew Adams
2011-01-10 20:02 ` Stefan Monnier
2011-01-11 4:32 ` Jambunathan K
2011-01-11 5:07 ` Daniel Colascione
2011-01-11 5:35 ` Stefan Monnier
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1bp3o3930.fsf@gmail.com \
--to=dandavison7@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.