From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: C-n is very slow in Font-Lock mode Date: Sat, 23 Apr 2005 12:16:35 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114273385 19312 80.91.229.2 (23 Apr 2005 16:23:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2005 16:23:05 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 23 18:23:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DPNPA-0008ET-GY for ged-emacs-devel@m.gmane.org; Sat, 23 Apr 2005 18:22:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPNUJ-0008Qp-L3 for ged-emacs-devel@m.gmane.org; Sat, 23 Apr 2005 12:28:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DPNSi-0007RZ-Ky for emacs-devel@gnu.org; Sat, 23 Apr 2005 12:26:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DPNSh-0007Qs-TH for emacs-devel@gnu.org; Sat, 23 Apr 2005 12:26:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPNSh-0006RU-IO for emacs-devel@gnu.org; Sat, 23 Apr 2005 12:26:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DPNMb-0000jl-NE for emacs-devel@gnu.org; Sat, 23 Apr 2005 12:20:13 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DPNJ5-0007WG-04; Sat, 23 Apr 2005 12:16:35 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36299 With Font-Lock mode enabled, starting from the beginning of a large file (such as fileio.c), C-n with a large argument (I tried C-u 2536 C-n) took many seconds. I think it was fontifying all the text that it moved across. Can this be avoided? I don't think C-n ought to need to fontify all that text. Even once it has fontified, the command still takes a lot longer with Font-Lock mode enabled than it does with Font-Lock disabled.