From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: spreadsheet [7.7] Date: Sun, 02 Oct 2011 12:35:09 -0400 Message-ID: <8033.1317573309@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAP0U-0002fg-Cg for emacs-orgmode@gnu.org; Sun, 02 Oct 2011 12:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAP0T-00042S-BH for emacs-orgmode@gnu.org; Sun, 02 Oct 2011 12:35:14 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:41488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAP0T-00042K-6H for emacs-orgmode@gnu.org; Sun, 02 Oct 2011 12:35:13 -0400 In-Reply-To: Message from Paul Stansell of "Sun, 02 Oct 2011 15:14:38 BST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paul Stansell Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Paul Stansell wrote: > To reproduce the bug do the following: > > Edit this file with emacs orgmode. > > Place the cursor in the small table below and type C-c } to toggle on the > display a labelled grid giving the cell references. > > Change the c=1 in the CONSTANTS line to c=2 and refresh this line with C-c > C-c. > > Put the cursor on the TBLFM line and refresh this line with C-c C-c. > > An "I*1" appears above the table which should not appear and can't be > removed with the usual emacs commands. > > > |---| > | 1 | > |---| > #+TBLFM: $1=$c > #+CONSTANTS: c=1 > Yup: I can reproduce it too. Toggling the table coordinates inserts overlays and apparently something is out of sync and that particular overlay does not get deleted appropriately. You can check that there is an overlay there by placing the cursor right after it and evaluating (overlay-at (point)) which should return a list of overlays at point. Assuming that you get a non-nil result with just that one overlay in the list, you can delete it with (delete-overlay (car (overlay-at (point)))) Haven't figured out why it gets left over though. Nick