unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion: default value of `font-lock-verbose' should be nil
@ 2011-01-10 18:30 Dan Davison
  2011-01-10 19:06 ` Drew Adams
  2011-01-10 20:02 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Davison @ 2011-01-10 18:30 UTC (permalink / raw)
  To: emacs-devel

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)




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

end of thread, other threads:[~2011-01-11  5:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 18:30 Suggestion: default value of `font-lock-verbose' should be nil Dan Davison
2011-01-10 19:06 ` 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

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

	https://git.savannah.gnu.org/cgit/emacs.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).