emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Paul Stansell <paulstansell@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Bug: spreadsheet [7.7]
Date: Sun, 02 Oct 2011 12:35:09 -0400	[thread overview]
Message-ID: <8033.1317573309@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Paul Stansell <paulstansell@gmail.com> of "Sun, 02 Oct 2011 15:14:38 BST." <CAMJKaZy0NvyQ-z0BTsJ=k_MM57R=REAmwcSvFtyCSpD0Vz6dww@mail.gmail.com>

Paul Stansell <paulstansell@gmail.com> 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	other threads:[~2011-10-02 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02 14:14 Bug: spreadsheet [7.7] Paul Stansell
2011-10-02 16:35 ` Nick Dokos [this message]
2011-10-16 11:39   ` Carsten Dominik
2011-10-16 14:40     ` Christian Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8033.1317573309@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=paulstansell@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).