Subject: bug#26168: 25.1; ses.el ses-recalculate-all only recalculates current line

From: Eli Zaretskii <[email-masked]>
Date: Sun, 19 Mar 2017 16:45:06 +0200

> From: Kevin Ryde <[email-masked]>
> 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.