GNU bug report logs - #5852
23.1; Incorrect references in ses-mode

Previous Next

Package: emacs;

Reported by: Göran Uddeborg <goeran <at> uddeborg.se>

Date: Wed, 7 Apr 2010 16:26:01 UTC

Severity: normal

Fixed in version 30.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vincent Belaïche <vincent.belaiche <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Stefan Kangas <stefan <at> marxist.se>, Lars Ingebrigtsen <larsi <at> gnus.org>, 5852 <at> debbugs.gnu.org, Göran Uddeborg <goeran <at> uddeborg.se>
Subject: bug#5852: 23.1; Incorrect references in ses-mode
Date: Mon, 2 Aug 2021 23:02:16 +0200
Thank you for the feedback, I am afraid I will need to work again at
it, in order to create a systematic bug reporduction.

[...]

> > One more thing is the following : in SES the cursor-intangile property
> > is the symbol corresponding to the cell object (which under the hood
> > is a vector), not the cell object itself. This means that the property
> > has to change when there are row/column insertion / deletion, which
> > also inherently change the buffer, because of symbol relocation. I
> > think this might be some bad design choice, and pointing directly at
> > the cell object would have saved some troubles (and probably would
> > also create a bunch of other problems, so do not take my statement for
> > sure).
>
> Indeed, pointing directly at the cell's vector would probably be better
> (at least from the point of view of insertions/deletions but), but if
> so, each cell would probably need to contain its own name (or its
> coordinates).
>
>
>         Stefan
>
What you wrote confirms my gut feeling. I came to this conclusion as I
was thinking how to implement functions such as row transposition.

FYI, AFAIK, the cell already contains the corresponding symbol, and the
(row, col) coordinates can be derived from the symbol through the
ses-cell symbol property.
  V.




This bug report was last modified 1 year and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.