From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.devel Subject: Re: linum.el? Date: Wed, 26 Dec 2007 17:09:49 +0100 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 1198685968 28801 80.91.229.12 (26 Dec 2007 16:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2007 16:19:28 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 26 17:19:39 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 1J7YyX-0007VB-Pn for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2007 17:19:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7YyD-0006bb-0I for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2007 11:19:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7Yy9-0006bU-TU for emacs-devel@gnu.org; Wed, 26 Dec 2007 11:18:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7Yy4-0006af-MW for emacs-devel@gnu.org; Wed, 26 Dec 2007 11:18:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7Yy4-0006ac-HM for emacs-devel@gnu.org; Wed, 26 Dec 2007 11:18:52 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J7Yy4-0007GK-BT for emacs-devel@gnu.org; Wed, 26 Dec 2007 11:18:52 -0500 Original-Received: (qmail invoked by alias); 26 Dec 2007 16:18:50 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp050) with SMTP; 26 Dec 2007 17:18:50 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19t+HgWUbttOB0VvHmndSuop41FaLVWhl2srlaAKk hWGpCL+/8ObPey X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85476 Archived-At: Richard Stallman writes: > can linum.el do the job using `set-window-redisplay-end-trigger' > instead of this hook? It doesn't seem so to me. > Does it work? In the DEFVAR_LISP line, I think it should read "&Vwindow..." instead of "Vwindow...". Also, the new approach doesn't necessarily reach a fixpoint, i.e., the number of restarts can be unbounded. > Second, the code will run this hook whenever there is any possibility > that the text to be displayed has changed for any reason. It still fails to trigger (at least) on widening and when jumping to the beginning of buffers. Could it be changed to trigger then too?