emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: spreadsheet [7.7]


From: Nick Dokos
Subject: Re: [O] Bug: spreadsheet [7.7]
Date: Sun, 02 Oct 2011 12:35:09 -0400

Paul Stansell <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]