From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: kill ring menu Date: Wed, 15 May 2002 01:01:16 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205150701.g4F71GR16217@aztec.santafe.edu> References: <1020022891.27106.142.camel@space-ghost> <200204290505.g3T55t006146@aztec.santafe.edu> <1020059236.31789.358.camel@space-ghost> <200204300519.g3U5Js306727@aztec.santafe.edu> <1020320725.27616.54.camel@space-ghost> <200205031825.g43IPuD00768@aztec.santafe.edu> <1020502030.5286.25.camel@space-ghost> <200205051746.g45Hk5P01808@aztec.santafe.edu> <1020662101.5288.76.camel@space-ghost> <87helleq50.fsf@tc-1-100.kawasaki.gol.ne.jp> <1020725723.5138.127.camel@space-ghost> <87r8knbw6a.fsf@emacswiki.org> <200205110630.g4B6UkL08873@aztec.santafe.edu> <1021328258.3702.117.camel@space-ghost> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021446233 29991 127.0.0.1 (15 May 2002 07:03:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 07:03:53 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177spE-0007nc-00 for ; Wed, 15 May 2002 09:03:52 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177t0d-0004Vi-00 for ; Wed, 15 May 2002 09:15:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177spP-0006Td-00; Wed, 15 May 2002 03:04:03 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177smj-0006Gu-00; Wed, 15 May 2002 03:01:17 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4F71Gk19098; Wed, 15 May 2002 01:01:16 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4F71GR16217; Wed, 15 May 2002 01:01:16 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: walters@gnu.org In-Reply-To: <1021328258.3702.117.camel@space-ghost> (message from Colin Walters on 13 May 2002 18:17:38 -0400) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3956 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3956 Ok. I have a suggestion. Currently, the only modes I can think of included with Emacs where typing M-x font-lock-mode twice doesn't work are Info and shell-mode (can anyone think of any others?). So, would anyone object if I changed them to use a `font-lock-fontify-region' function? That depends on some details of what changes you have in mind. Would you please explain more clearly what that change would imply? What would the user-visible consequences be? Would it mean that these modes load font-lock.el in order to do fontification? Could you do this by moving a minimal amount of the font-lock API into a preloaded file, so that this will NOT require use of the font-lock *mechanism* or loading font-lock? All of the other suggestions so far were optimizations, either in time or memory space. This may simply not turn out to be necessary; Searching for text properties is quite fast, and almost every mode now uses font-lock.el for fontification anyways. If they do turn out to be necessary, then we can figure out what the best way to speed things up and reduce memory usage is. This approach says "fall down a long ways, and then think about climbing up." Sorry, I don't think this approach is acceptable. I already made that decision; please don't keep proposing it.