GNU bug report logs - #35056
26.1; Tetris score is no longer updated

Previous Next

Package: emacs;

Reported by: Tadeus Prastowo <tadeus.prastowo <at> unitn.it>

Date: Sat, 30 Mar 2019 22:23:02 UTC

Severity: normal

Found in version 26.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Tadeus Prastowo <tadeus.prastowo <at> unitn.it>
Cc: Glenn Morris <rgm <at> gnu.org>, 35056 <at> debbugs.gnu.org
Subject: bug#35056: 26.1; Tetris score is no longer updated due to commit 995be66f0f0d26d1a96cbb8dfb429c3941157771
Date: Sat, 30 Mar 2019 20:32:51 -0700
[Message part 1 (text/plain, inline)]
Apparently the problem is that there are two formats of Tetris game-score files. 
One format is used by play/gamegrid.el itself, the other is used by the 
update-game-score command. I didn't know that; I thought that the only reason to 
use update-game-score was to get setuid/setgid permissions, and that the file 
format didn't change.

To some extent the file-format problem is Just One Of Those Things: if up 
upgrade Emacs and it changes the file format, Emacs is not smart enough to deal 
with the format change and so it loses your old Tetris scores.

That being said, Emacs could try harder to use the update-game-score program if 
it's installed. Is it in your installation? If so, please try the attached 
patch. If not, please try redoing 'configure' so that update-game-score is built 
and installed, and then try the attached patch.

I suppose it would be possible to do more-serious hacking in gamegrid.el to deal 
with the incompatible file formats (convert formats back and forth, say), but 
that would be beyond my call of duty.

[0001-Use-update-game-score-more-often-with-Tetris.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 131 days ago.

Previous Next


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