From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: table.el 1.6.1 Date: 25 Mar 2002 23:26:01 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5x8z8gffnq.fsf@kfs2.cua.dk> 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> <200203252159.g2PLx9k14452@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017098323 23371 127.0.0.1 (25 Mar 2002 23:18:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 23:18:43 +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 16pdjf-00064q-00 for ; Tue, 26 Mar 2002 00:18:43 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16pdrt-0001VY-00 for ; Tue, 26 Mar 2002 00:27:13 +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 16pdjG-00041Z-00; Mon, 25 Mar 2002 18:18:18 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16pcto-0006vV-00; Mon, 25 Mar 2002 17:25:08 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 3DA057C04A; Mon, 25 Mar 2002 22:25:06 +0000 (GMT) Original-To: "Stefan Monnier" In-Reply-To: <200203252159.g2PLx9k14452@rum.cs.yale.edu> Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 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:2203 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2203 "Stefan Monnier" writes: > > 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). I don't follow... AFAIK, incrementing update_mode_lines causes the mode line to be updated on the next redisplay -- i.e. only once per command, no matter how many times you set it... -- Kim F. Storm http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel