From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: spreadsheet [7.7] Date: Sun, 16 Oct 2011 13:39:48 +0200 Message-ID: References: <8033.1317573309@alphaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFP4S-0004Dl-S3 for emacs-orgmode@gnu.org; Sun, 16 Oct 2011 07:40:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFP4R-00040q-Rn for emacs-orgmode@gnu.org; Sun, 16 Oct 2011 07:40:00 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:48095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFP4R-00040k-Jg for emacs-orgmode@gnu.org; Sun, 16 Oct 2011 07:39:59 -0400 Received: by wyg34 with SMTP id 34so1258076wyg.0 for ; Sun, 16 Oct 2011 04:39:58 -0700 (PDT) In-Reply-To: <8033.1317573309@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Paul Stansell On 2.10.2011, at 18:35, Nick Dokos wrote: > 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. I have made a brute force solution for this issue, pressing C-c C-c on a #+ line will remove these overlays first. Not nice, but it helps with this problem. - Carsten