From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chris Moore" Newsgroups: gmane.emacs.devel Subject: Re: Tetris trademark Date: Sat, 27 Jan 2007 23:37:42 +0100 Message-ID: References: <20070127133918.8298430197@Psilocybe.Update.UU.SE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169937479 7456 80.91.229.12 (27 Jan 2007 22:37:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2007 22:37:59 +0000 (UTC) Cc: coldwell@redhat.com, rms@gnu.org, emacs-devel@gnu.org To: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 27 23:37:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HAwBI-0006zX-TU for ged-emacs-devel@m.gmane.org; Sat, 27 Jan 2007 23:37:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAwBI-0005sY-Ib for ged-emacs-devel@m.gmane.org; Sat, 27 Jan 2007 17:37:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAwB8-0005sT-At for emacs-devel@gnu.org; Sat, 27 Jan 2007 17:37:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAwB6-0005sH-0h for emacs-devel@gnu.org; Sat, 27 Jan 2007 17:37:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAwB5-0005sE-Sv for emacs-devel@gnu.org; Sat, 27 Jan 2007 17:37:43 -0500 Original-Received: from wx-out-0506.google.com ([66.249.82.230]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HAwB5-0005tC-Dz for emacs-devel@gnu.org; Sat, 27 Jan 2007 17:37:43 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s17so1321024wxc for ; Sat, 27 Jan 2007 14:37:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gsv2nydOIrG2CNHUGriLIQ4opPSRRxP4YZ7g10W4cAhq3CBL/LSA1boGvoFUTt9uh7j9q/tpQkq8VxkMP1jff7dTHu4836uXfrZpaUXcCIT9e1WHCuCIVSHMZRFaVetaoo9PXTvgOXAgZeHaKAZHzv/7brhYkimUBxiKtC3KJ/Y= Original-Received: by 10.90.105.19 with SMTP id d19mr5102149agc.1169937462884; Sat, 27 Jan 2007 14:37:42 -0800 (PST) Original-Received: by 10.90.55.16 with HTTP; Sat, 27 Jan 2007 14:37:42 -0800 (PST) In-Reply-To: <20070127133918.8298430197@Psilocybe.Update.UU.SE> Content-Disposition: inline X-Google-Sender-Auth: 5132666ea2e4e439 X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65543 Archived-At: On 1/27/07, Alfred M. Szmidt wrote: > 63 ams Alfred M. Szmidt Sat Jan 27 14:33:01 2007 > -614138055 ams Alfred M. Szmidt Sat Jan 27 14:33:01 2007 I just managed to get a NUL character in my highscore table: 0039^@ Sat Jan 27 23:20:41 2007 00388 Sat Jan 27 23:20:41 2007 00170 Sat Jan 27 22:33:48 2007 00165 Sat Jan 27 22:33:43 2007 00096 Sat Jan 27 22:31:38 2007 00090 Sat Jan 27 22:30:35 2007 and an error message: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) aref(nil 0) (put-text-property (1- (point)) (point) (quote face) (aref gamegrid-face- (if (eq gamegrid-display-mode (quote glyph)) (add-text-properties (1- ... gamegrid-set-face(0) (let ((buffer-read-only nil)) (goto-char (gamegrid-cell-offset x y)) (del (save-excursion (let (...) (goto-char ...) (delete-char 1) (insert-char c gamegrid-set-cell(3 1 0) (if (/= c tetris-blank) (gamegrid-set-cell px py tetris-blank)) (let ((c ...) (px ...) (py ...)) (if (/= c tetris-blank) (gamegrid-set-ce (while (<= x --cl-var--) (let (... ... ...) (if ... ...)) (setq x (+ x 1) (let* ((x 0) (--cl-var-- ...)) (while (<= x --cl-var--) (let ... ...) (se (catch (quote --cl-block-nil--) (let* (... ...) (while ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ... ... nil))) (block nil (let* (... ...) (while ... ... ...) nil)) (loop for x from 0 to (1- (tetris-shape-width)) do (let (... ... ...) (if (while (<= y --cl-var--) (loop for x from 0 to (1- ...) do (let ... ...)) (let* ((y 0) (--cl-var-- ...)) (while (<= y --cl-var--) (loop for x from (catch (quote --cl-block-nil--) (let* (... ...) (while ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ... ... nil))) (block nil (let* (... ...) (while ... ... ...) nil)) (loop for y from 0 to (1- (tetris-shape-height)) do (loop for x from 0 to tetris-erase-shape() (let ((hit nil)) (tetris-erase-shape) (while (not hit) (setq tetris-pos-y tetris-move-bottom() call-interactively(tetris-move-bottom) This happened after 2 scores had already been added into the highscore table for that game. I'm wondering if the timer isn't being stopped properly and/or quickly enough. The score is being written using a (format "%05d ...") call, so that NUL must have been written over the score at a later point. The value of buffer-file-name in the above backtrace is "c:/Documents and Settings/chris/Local Settings/Temp/tetris-scores" so it looks like the code is trying to manupulate the high score table as if it was a tetris board. I didn't mention it before, so: In GNU Emacs 22.0.92.1 (i386-mingw-nt5.1.2600) of 2007-01-21 on LENNART-69DE564 X server distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: CSY locale-coding-system: cp1250 default-enable-multibyte-characters: t