From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: linum.el? Date: Sat, 29 Dec 2007 02:26:24 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198913206 4445 80.91.229.12 (29 Dec 2007 07:26:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 07:26:46 +0000 (UTC) Cc: lekktu@gmail.com, markus.triska@gmx.at, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 08:26:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J8W5x-0003AG-Fk for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 08:26:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8W5c-0003Pl-8D for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 02:26:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8W5Y-0003M6-3S for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:26:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8W5X-0003L2-5j for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:26:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8W5X-0003Ki-09 for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:26:31 -0500 Original-Received: from bas-flu-bbcs-dynip-203-020.vtx.ch ([83.228.203.20] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8W5T-0001nX-EG; Sat, 29 Dec 2007 02:26:27 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 9500BB4108; Sat, 29 Dec 2007 02:26:24 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Thu, 27 Dec 2007 13:24:14 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85588 Archived-At: > I still firmly believe that these cases should be handled via jit-lock > and/or fontification-functions and/or some extension of them. > If that works, I have nothing against it. But I think it will be > difficult to go that way. fontification works with text properties, > and linum.el uses overlays. That's irrelevant: `fontification-functions' uses 1 text property (`fontified') to determine what's been fontified. Whether the "fontification" itself uses text-properties or overlays or bananas doesn't matter as long as it's behavior is consistent with the behavior of the `fontified' text property. `glasses-mode' has been using jit-lock together with overlays just fine. Stefan