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: 22 Mar 2002 16:12:46 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5x7ko43ac1.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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016809955 17833 127.0.0.1 (22 Mar 2002 15:12:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2002 15:12:35 +0000 (UTC) Cc: 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 16oQiY-0004dW-00 for ; Fri, 22 Mar 2002 16:12:34 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16oQpH-0007XQ-00 for ; Fri, 22 Mar 2002 16:19:31 +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 16oQiE-0001CC-00; Fri, 22 Mar 2002 10:12:14 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16oQhq-0001Aw-00 for ; Fri, 22 Mar 2002 10:11:50 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 9AB487C04C; Fri, 22 Mar 2002 15:11:49 +0000 (GMT) Original-To: emacs-devel@gnu.org In-Reply-To: <5xbsdg3av0.fsf@kfs2.cua.dk> Original-Lines: 18 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:2131 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2131 I wrote: > > 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, i.e. the > following change would seem to be sufficient (not tested). I added "extern int update_mode_lines;" to make it compile. I then took Tak's table.el and removed the explicit calls to (set-buffer-modified-p (buffer-modified-p)) in the point-enter and point-left hooks. And it works! The Table menu appears and disappears as I move in and out of the cells. -- Kim F. Storm http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel