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: Fri, 28 Dec 2007 21:22:02 +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 1198873888 13638 80.91.229.12 (28 Dec 2007 20:31:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 20:31:28 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 21:31:41 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 1J8Lrp-0002zf-Fi for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 21:31:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8LrU-0005jp-8o for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 15:31:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8LrQ-0005jS-Ux for emacs-devel@gnu.org; Fri, 28 Dec 2007 15:31:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8LrM-0005ic-Tv for emacs-devel@gnu.org; Fri, 28 Dec 2007 15:31:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8LrM-0005iZ-RV for emacs-devel@gnu.org; Fri, 28 Dec 2007 15:31:12 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J8LrM-00074w-8M for emacs-devel@gnu.org; Fri, 28 Dec 2007 15:31:12 -0500 Original-Received: (qmail invoked by alias); 28 Dec 2007 20:31:10 -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; 28 Dec 2007 21:31:10 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX18rVX9ixTorza3UL2hiWCrSapoWJl44BiJ04wkX7o E9iLG040Z641Mh Original-Received: by mt-computer.local (Postfix, from userid 502) id C52E74F7BB6; Fri, 28 Dec 2007 21:22:02 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Fri, 28 Dec 2007 08:55:16 -0500") 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:85561 Archived-At: Richard Stallman writes: > The problem with the new hook is that it will trigger on ALL editing > commands, as well as scrolling. The only thing that won't trigger it > is cursor motion. That's already an improvement over the current situation, which is to trigger after EVERY command by default. This in itself seems to be fast enough for many users already, and the new hook makes it faster still. > Isn't that going to be painful? 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 other issues: For example, I currently delay updates of line numbers (for 0 seconds) to give Emacs a chance for updates after M-x goto-line and possibly other cases after which the display seems not to be up-to-date in post-command-hook. This delay is noticable (if you know that it exists), and I hope the new hook makes it unnecessary.