From: Friedrich Dominicus <frido@q-software-solutions.com>
Subject: Re: Is there any way to tell M-x tetris to save scores outside of /tmp?
Date: 23 Apr 2003 07:40:29 +0200 [thread overview]
Message-ID: <87k7dl3h6a.fsf@fbigm.here> (raw)
In-Reply-To: mailman.5100.1051069205.21513.help-gnu-emacs@gnu.org
"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
next parent reply other threads:[~2003-04-23 5:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5100.1051069205.21513.help-gnu-emacs@gnu.org>
2003-04-23 5:40 ` Friedrich Dominicus [this message]
[not found] ` <b882vr$6kc$1@news1.wdf.sap-ag.de>
2003-04-24 16:41 ` Is there any way to tell M-x tetris to save scores outside of /tmp? Kai Großjohann
[not found] ` <b8b0op$uu$1@news1.wdf.sap-ag.de>
2003-04-25 14:08 ` Kai Großjohann
[not found] ` <b8bgcm$bd5$2@news1.wdf.sap-ag.de>
2003-04-25 14:51 ` RedHat 9 has no tetris.el (was: Is there any way to tell M-x tetris to save scores outside of /tmp?) David Kastrup
[not found] ` <b8bjee$edj$1@news1.wdf.sap-ag.de>
2003-04-25 23:00 ` RedHat 9 has no tetris.el Daniel R. Anderson
2003-04-25 14:33 ` Is there any way to tell M-x tetris to save scores outside of /tmp? Jesper Harder
2003-04-23 3:35 Daniel R. Anderson
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k7dl3h6a.fsf@fbigm.here \
--to=frido@q-software-solutions.com \
/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.
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).