unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.belaiche@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 5852@debbugs.gnu.org, "Lars Ingebrigtsen" <larsi@gnus.org>,
	"Stefan Kangas" <stefan@marxist.se>,
	"Göran Uddeborg" <goeran@uddeborg.se>
Subject: bug#5852: 23.1; Incorrect references in ses-mode
Date: Mon, 2 Aug 2021 23:02:16 +0200	[thread overview]
Message-ID: <CAPAOBV9wYvZJ0mCA0XLhvc7S+QR_mDFwMORr59oTbFvEMHj6bA@mail.gmail.com> (raw)
In-Reply-To: <jwv8s1nilza.fsf-monnier+emacs@gnu.org>

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.





  reply	other threads:[~2021-08-02 21:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 16:15 bug#5852: 23.1; Incorrect references in ses-mode Göran Uddeborg
2020-02-29  3:14 ` Stefan Kangas
2020-02-29 20:13   ` Vincent Belaïche
2021-07-18 13:36     ` Lars Ingebrigtsen
2021-07-24 21:46       ` Vincent Belaïche
2021-07-25  5:48         ` Vincent Belaïche
2021-07-25  5:56           ` Vincent Belaïche
2021-07-25  6:17             ` Vincent Belaïche
2021-07-25  6:18               ` Vincent Belaïche
2021-07-25  6:32                 ` Vincent Belaïche
2021-07-25  6:38                   ` Vincent Belaïche
2021-07-25  6:44                     ` Lars Ingebrigtsen
2021-07-25 17:27                       ` Vincent Belaïche
2021-07-30 21:01                         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-02 21:02                           ` Vincent Belaïche [this message]
2023-12-29 12:03                       ` Vincent Belaïche
2023-12-29 12:36                         ` Stefan Kangas
2023-12-29 14:19                           ` Eli Zaretskii
2023-12-29 15:19                             ` Vincent Belaïche
2023-12-29 22:01                         ` Göran Uddeborg
2024-01-14 13:17 ` Mattias Engdegård
2024-01-14 13:35   ` Mattias Engdegård

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAPAOBV9wYvZJ0mCA0XLhvc7S+QR_mDFwMORr59oTbFvEMHj6bA@mail.gmail.com \
    --to=vincent.belaiche@gmail.com \
    --cc=5852@debbugs.gnu.org \
    --cc=goeran@uddeborg.se \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefan@marxist.se \
    /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.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).