From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21359: 24.5; [PATCH] Fix apple spawning behaviour Date: Tue, 23 Feb 2016 20:26:18 +1100 Message-ID: <874mczwzet.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456219642 21804 80.91.229.3 (23 Feb 2016 09:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 09:27:22 +0000 (UTC) Cc: 21359@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 10:27:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aY9FN-0000Vh-7t for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 10:27:09 +0100 Original-Received: from localhost ([::1]:55212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9FM-0008W3-Lo for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 04:27:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9FI-0008Vr-U8 for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:27:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY9FG-0002EQ-68 for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:27:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9FG-0002EM-2D for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aY9FF-00048k-Uf for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2016 09:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21359 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21359-submit@debbugs.gnu.org id=B21359.145621961015838 (code B ref 21359); Tue, 23 Feb 2016 09:27:01 +0000 Original-Received: (at 21359) by debbugs.gnu.org; 23 Feb 2016 09:26:50 +0000 Original-Received: from localhost ([127.0.0.1]:39073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9F3-00047O-W8 for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:26:50 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58911) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9F2-00047G-BE for 21359@debbugs.gnu.org; Tue, 23 Feb 2016 04:26:48 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY9Ee-0000ki-6Q; Tue, 23 Feb 2016 10:26:24 +0100 In-Reply-To: (Vasilij Schneidermann's message of "Thu, 27 Aug 2015 08:49:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aY9Ee-0000ki-6Q MailScanner-NULL-Check: 1456824385.32242@XoH9Lqnzjf5llc+ylbiCLg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113543 Archived-At: Vasilij Schneidermann writes: > The attached patch introduces a new function, `snake-set-dot` which is > called at game initialization and upon collision with an apple. The > code responsible for placing apples in periodic intervals got snipped > out, together with the now unnecessary `snake-cycle` variable > responsible for tracking at which position the apple emission cycle is. Looks good; applying to the Emacs trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no