[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: spreadsheet [7.7]
From: |
Carsten Dominik |
Subject: |
Re: [O] Bug: spreadsheet [7.7] |
Date: |
Sun, 16 Oct 2011 13:39:48 +0200 |
On 2.10.2011, at 18:35, Nick Dokos wrote:
> 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.
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