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:31:03 -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 1198913497 4998 80.91.229.12 (29 Dec 2007 07:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 07:31:37 +0000 (UTC) Cc: lekktu@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Markus Triska Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 08:31:51 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 1J8WAg-0003xC-LC for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 08:31:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8WAL-0005uR-9O for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 02:31:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8WAI-0005uC-7P for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:31:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8WAH-0005ty-IH for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:31:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8WAH-0005tu-C2 for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:31:25 -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 1J8WAD-0002J2-6V; Sat, 29 Dec 2007 02:31:21 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2C80DB4108; Sat, 29 Dec 2007 02:31:02 -0500 (EST) In-Reply-To: (Markus Triska's message of "Fri, 28 Dec 2007 21:22:02 +0100") 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:85589 Archived-At: > The new hook will cover an important middle ground between a hook that > is too eager (post-command-hook) and a set of various non-obvious hooks > that make it impossible not to miss cases. Also, I hope that it can fix There should really only need to be 2 hooks: one to add linums to text, and another to flush that info when it goes out-of-date. I.e. jit-lock and before/after-change-functions. Stefan