* bug#26168: 25.1; ses.el ses-recalculate-all only recalculates current line
@ 2017-03-19 4:47 Kevin Ryde
2017-03-19 14:45 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2017-03-19 4:47 UTC (permalink / raw)
To: 26168
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
The rand.ses file below has two rows with formula (random 100) in each.
In the debian packaged emacs 25.1.1, C-c C-l `ses-recalculate-all'
recalculates and redisplays only the cell at point, whereas I expected
it to recalculate both (as it does for example in emacs 24).
[-- Attachment #2: rand.ses --]
[-- Type: application/octet-stream, Size: 330 bytes --]
54
86
\f
(ses-cell A1 54 (random 100) nil nil)
(ses-cell A2 86 (random 100) nil nil)
(ses-column-widths [7])
(ses-column-printers [nil])
(ses-default-printer "%.7g")
(ses-header-row 0)
( ;Global parameters (these are read first)
2 ;SES file-format
2 ;numrows
1 ;numcols
)
;; Local Variables:
;; mode: ses
;; End:
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#26168: 25.1; ses.el ses-recalculate-all only recalculates current line
2017-03-19 4:47 bug#26168: 25.1; ses.el ses-recalculate-all only recalculates current line Kevin Ryde
@ 2017-03-19 14:45 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2017-03-19 14:45 UTC (permalink / raw)
To: Kevin Ryde, Vincent Belaïche; +Cc: 26168
> From: Kevin Ryde <user42_kevin@yahoo.com.au>
> Date: Sun, 19 Mar 2017 15:47:58 +1100
>
> The rand.ses file below has two rows with formula (random 100) in each.
> In the debian packaged emacs 25.1.1, C-c C-l `ses-recalculate-all'
> recalculates and redisplays only the cell at point, whereas I expected
> it to recalculate both (as it does for example in emacs 24).
This seems to be caused by the fix for bug #21054, whose solution
forces a call to ses-set-curcell in ses-check-curcell, called by
ses-recalculate-cell, and that clobbers the value of ses--curcell
calculated by ses-recalculate-all as '(A1 . A2)'.
Vincent, could you please take a look?
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-19 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-19 4:47 bug#26168: 25.1; ses.el ses-recalculate-all only recalculates current line Kevin Ryde
2017-03-19 14:45 ` Eli Zaretskii
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).