From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Problem Undoing Text Properties In Gnu Emacs 24, Is this a bug? Date: Wed, 17 Dec 2014 01:53:04 +0000 Message-ID: <87388foxdr.fsf@robertthorpeconsulting.com> References: <524e52f9-4022-4bb0-bc1e-bf672dd1e9ff@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418781282 16246 80.91.229.3 (17 Dec 2014 01:54:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2014 01:54:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gtr289@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 02:54:34 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y13nz-0002q2-Uk for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2014 02:53:36 +0100 Original-Received: from localhost ([::1]:47570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y13nz-0001o2-ED for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2014 20:53:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y13ng-0001mP-3p for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 20:53:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y13nX-0007Bo-ON for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 20:53:16 -0500 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:52487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y13nX-0007Bi-Ir for help-gnu-emacs@gnu.org; Tue, 16 Dec 2014 20:53:07 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id 8035D994BF for ; Wed, 17 Dec 2014 01:53:05 +0000 (UTC) Original-Received: (qmail 11459 invoked from network); 17 Dec 2014 01:53:05 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.247.1]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 17 Dec 2014 01:53:05 -0000 In-Reply-To: <524e52f9-4022-4bb0-bc1e-bf672dd1e9ff@googlegroups.com> (gtr289@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101620 Archived-At: gtr289@gmail.com writes: > Perhaps I will re-visit font-lock-mode again when I have some time. If > it can be configured to highlight only comments with good performance, > I would want to head in that directions.. If you use large buffers it can be useful to use the command jit-lock-stealth-fontify. If you leave Emacs idle it will use that time to fontify the off-screen text. Normally Emacs doesn't do this, it only fontifies as you move through text looking at the context around point. There's a variable jit-lock-stealth-time that specifies how many seconds of idle time Emacs will wait before doing this. If you're the kind of person who loads up Emacs with everything he needs in the morning then goes to get a cup of coffee then everything should be fontified by the time you've got back. BR, Robert Thorpe