* Is there any way to tell M-x tetris to save scores outside of /tmp?
@ 2003-04-23 3:35 Daniel R. Anderson
0 siblings, 0 replies; 5+ messages in thread
From: Daniel R. Anderson @ 2003-04-23 3:35 UTC (permalink / raw)
Hi,
Every once in a while I use M-x tetris to help me let off some steam,
but scores are stored in /tmp and /tmp is emtied every reboot. Is there
any way to specify another file, so that scores stick around longer then
1 reboot? (Granted, the time between reboots may be several weeks, but
it's still dissapointing to boot up and see no tetris scores. )
-Dan Anderson
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.5100.1051069205.21513.help-gnu-emacs@gnu.org>]
* Re: Is there any way to tell M-x tetris to save scores outside of /tmp?
[not found] <mailman.5100.1051069205.21513.help-gnu-emacs@gnu.org>
@ 2003-04-23 5:40 ` Friedrich Dominicus
[not found] ` <b882vr$6kc$1@news1.wdf.sap-ag.de>
0 siblings, 1 reply; 5+ messages in thread
From: Friedrich Dominicus @ 2003-04-23 5:40 UTC (permalink / raw)
"Daniel R. Anderson" <dan@mathjunkies.com> writes:
> Hi,
>
> Every once in a while I use M-x tetris to help me let off some steam,
> but scores are stored in /tmp and /tmp is emtied every reboot. Is there
> any way to specify another file, so that scores stick around longer then
> 1 reboot? (Granted, the time between reboots may be several weeks, but
> it's still dissapointing to boot up and see no tetris scores. )
Well as I understand you use Emacs regularly. And you do not know how
to find a special file on it?
Ok this is what I've done
C-h a tetris
a window with this name comes up
moved the cursor on it typed F5 which runs
find-symbol-at-point here. Tetris is a functions so
find-function-at-point would have been fine too
a buffer with tetris.el has been opened.
run C-s score
type it again and found this:
(defvar tetris-score-file "/tmp/tetris-scores"
;; anybody with a well-connected server want to host this?
;(defvar tetris-score-file "/anonymous@ftp.pgt.com:/pub/cgw/tetris-scores"
"File for holding high scores")
Well, how much easier could one find things?
The answer is
(setq tetrix-score-file "path_which_persists")
Regards
Friedrich
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-25 14:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-23 3:35 Is there any way to tell M-x tetris to save scores outside of /tmp? Daniel R. Anderson
[not found] <mailman.5100.1051069205.21513.help-gnu-emacs@gnu.org>
2003-04-23 5:40 ` Friedrich Dominicus
[not found] ` <b882vr$6kc$1@news1.wdf.sap-ag.de>
2003-04-24 16:41 ` Kai Großjohann
[not found] ` <b8b0op$uu$1@news1.wdf.sap-ag.de>
2003-04-25 14:08 ` Kai Großjohann
2003-04-25 14:33 ` Jesper Harder
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.