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: Re: C-n is very slow in Font-Lock mode Date: Thu, 28 Apr 2005 07:00:56 -0400 Message-ID: References: <01c54841$Blat.v2.4$8f503680@zahav.net.il> <01c54917$Blat.v2.4$b975aea0@zahav.net.il> <01c54a8a$Blat.v2.4$9d6aeda0@zahav.net.il> <85mzrlgqws.fsf@lola.goethe.zz> <01c54ab1$Blat.v2.4$91328080@zahav.net.il> <85hdhtf8ou.fsf@lola.goethe.zz> <01c54b0a$Blat.v2.4$5b6307a0@zahav.net.il> <85ll74eesa.fsf@lola.goethe.zz> <01c54b12$Blat.v2.4$78afaa40@zahav.net.il> <85d5sge9qc.fsf@lola.goethe.zz> <01c54b20$Blat.v2.4$c54e3200@zahav.net.il> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114686437 17738 80.91.229.2 (28 Apr 2005 11:07:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 11:07:17 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 13:07:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DR6ql-00030G-W7 for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 13:06:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DR6ws-0001xm-Mv for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 07:12:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DR6vx-0001VE-NZ for emacs-devel@gnu.org; Thu, 28 Apr 2005 07:11:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DR6vw-0001Tl-2w for emacs-devel@gnu.org; Thu, 28 Apr 2005 07:11:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DR6vv-00018b-Lm for emacs-devel@gnu.org; Thu, 28 Apr 2005 07:11:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DR6qK-00070U-9b for emacs-devel@gnu.org; Thu, 28 Apr 2005 07:06:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DR6lM-0005v3-LU; Thu, 28 Apr 2005 07:00:56 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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:36470 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36470 Maybe this would work ? (if (input-pending-p) (forward-line 1) (vertical-motion 1)) It is incorrect for a cursor motion function to depend on whether input is pending.