From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: table.el 1.6.1 Date: Mon, 25 Mar 2002 16:59:09 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200203252159.g2PLx9k14452@rum.cs.yale.edu> References: <20020319.212249.60850794.Takaaki.Ota@am.sony.com> <200203210138.g2L1cum14295@rum.cs.yale.edu> <20020320.213722.110254553.Takaaki.Ota@am.sony.com> <200203221226.g2MCQZa01737@aztec.santafe.edu> <5xbsdg3av0.fsf@kfs2.cua.dk> <200203231614.g2NGExP02322@aztec.santafe.edu> <5xy9gj5hva.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017094174 18367 127.0.0.1 (25 Mar 2002 22:09:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 22:09:34 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org, Takaaki.Ota@am.sony.com Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pcek-0004m8-00 for ; Mon, 25 Mar 2002 23:09:34 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16pcmw-0008Kp-00 for ; Mon, 25 Mar 2002 23:18:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pcW1-0005OD-00; Mon, 25 Mar 2002 17:00:33 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pcUm-0005IC-00; Mon, 25 Mar 2002 16:59:16 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g2PLx9k14452; Mon, 25 Mar 2002 16:59:09 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2201 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2201 > Richard Stallman writes: > > > I think it would be simpler to do an update whenever point moves in or > > out of an interval -- it may be a little wasteful, but we already have > > all the necessary information to do that in set_point_both, > > > > It is very wasteful and not much simpler. This would update the menu > > bar due to changes in point within a function. The right way would > > only look at point when it is time to read a command. > > Considering that simply turning on column-number-mode causes > a mode-line/menu-bar/tool-bar update after every command, this > is at least an order of magnitude less wasteful than doing that. That's not true. Doing it once per command might be OK. But doing it once per point-motion is a lot more work because a single command might do many point motions. I.e. it should not be done from set_point_both but from the main command loop (after each command, check if the text properties under point have changed). Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel