From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: something like linum.el ought to be added Date: Wed, 12 Sep 2007 14:09:36 +0200 Message-ID: <46E7D700.5080106@gmx.at> References: <86hcm4rw70.fsf@macs.hw.ac.uk> <46E7AF2B.2000606@gmx.at> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189599096 26045 80.91.229.10 (12 Sep 2007 12:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 12:11:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Markus Triska Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 14:10:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IVR1u-0001Db-63 for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2007 14:10:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVR3D-0005iP-NQ for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2007 08:10:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVR39-0005hs-Gn for emacs-devel@gnu.org; Wed, 12 Sep 2007 08:10:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVR33-0005fm-NA for emacs-devel@gnu.org; Wed, 12 Sep 2007 08:10:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVR32-0005fd-OI for emacs-devel@gnu.org; Wed, 12 Sep 2007 08:10:24 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IVR2w-0002AH-9Y for emacs-devel@gnu.org; Wed, 12 Sep 2007 08:10:24 -0400 Original-Received: (qmail invoked by alias); 12 Sep 2007 12:09:59 -0000 Original-Received: from N727P001.adsl.highway.telekom.at (EHLO [62.47.34.193]) [62.47.34.193] by mail.gmx.net (mp045) with SMTP; 12 Sep 2007 14:09:59 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18flZtwIh8fkZtKrCRBR5whwB2MYti7OuOeuPNi5S YKpMR+urjgzZZE User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-Detected-Kernel: 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:78669 Archived-At: >>Why do you want to update numbers on any but the selected frame >>here? > > > Because I found cases where the previous command created a frame with > a buffer that must have its line numbers shown, yet was not selected. Then you'd have to update line numbers in `after-make-frame-functions' too. >>Also, after scrolling it should be sufficient to consider the >>scrolled window only. > > > No: The scrolled window can use overlays that another window needs. Not if the other window displays another buffer. For the same buffer this can be easily handled by giving overlays a window property. An aside: Sometimes configuration, buffer text, and some window start position change within one and the same command. Did you check whether this cause line number updating run two, three times after the command?