From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 36971@debbugs.gnu.org
Subject: bug#36971: 27.0.50; gamegrid-add-score writes to /tmp, not gamegrid-user-score-file-directory
Date: Fri, 23 Aug 2019 06:42:11 +0200 [thread overview]
Message-ID: <87blwgh4rg.fsf@gnus.org> (raw)
In-Reply-To: <87blx0uk3y.fsf@turtle.gmx.de> (Sven Joachim's message of "Thu, 08 Aug 2019 10:39:13 +0200")
Sven Joachim <svenjoac@gmx.de> writes:
> I have just played a Tetris game (very nice with the bigger glyphs,
> thank you for that!), and Emacs wrote the score file to
> /tmp/tetris-scores, rather than /home/sven/.emacs.d/games/tetris-scores.
>
> ,----
> | gamegrid-user-score-file-directory is a variable defined in ‘gamegrid.el’.
> | Its value is "~/.emacs.d/games/"
> |
> | Documentation:
> | A directory for game scores which can’t be shared.
> | If Emacs was built without support for shared game scores, then this
> | directory will be used.
> `----
>
> This version of Emacs is built without support for shared game scores,
> AFAICT.
The code in question is a bit confusing -- there are many different
possibilities, like a shared directory and executables to manage that.
But I think that basically the logic is wrong: In a default environment
(no shared), it should write to gamegrid-user-score-file-directory, not
"/tmp", so I've changed that on the trunk now to be more in line with
documented behaviour.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-08-23 4:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 8:39 bug#36971: 27.0.50; gamegrid-add-score writes to /tmp, not gamegrid-user-score-file-directory Sven Joachim
2019-08-23 4:42 ` Lars Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blwgh4rg.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=36971@debbugs.gnu.org \
--cc=svenjoac@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.