GNU bug report logs -
#21359
24.5; [PATCH] Fix apple spawning behaviour
Previous Next
Reported by: Vasilij Schneidermann <v.schneidermann <at> gmail.com>
Date: Thu, 27 Aug 2015 06:50:01 UTC
Severity: wishlist
Tags: fixed, patch
Found in version 24.5
Fixed in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21359 in the body.
You can then email your comments to 21359 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21359
; Package
emacs
.
(Thu, 27 Aug 2015 06:50:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vasilij Schneidermann <v.schneidermann <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 27 Aug 2015 06:50:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Classic renditions of Snake initially place an apple at a random
position, then spawn it anew if and only if it has been eaten by the
snake. M-x snake behaves differently, it does spawn apples in regular
time intervals at former positions of the snake's tail. To put it
bluntly, this makes it look as if the snake is leaking apples.
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.
In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2)
of 2015-04-20 on bitzer.hoetzel.info
Windowing system distributor `The X.Org Foundation', version 11.0.11702000
System Description: Arch Linux
Configured using:
`configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 71052 7148)
(symbols 48 17559 0)
(miscs 40 41 113)
(strings 32 9062 4671)
(string-bytes 1 249099)
(vectors 16 8907)
(vector-slots 8 383084 18361)
(floats 8 63 83)
(intervals 56 180 10)
(buffers 960 11)
(heap 1024 37966 926))
[Message part 2 (text/html, inline)]
[snake.patch (text/x-diff, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21359
; Package
emacs
.
(Fri, 04 Dec 2015 21:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
I was made aware of <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6749>
which covers roughly the same ground, but didn't make it through because
the author forgot about following up.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21359
; Package
emacs
.
(Tue, 23 Feb 2016 09:26:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 21359 <at> debbugs.gnu.org (full text, mbox):
Vasilij Schneidermann <v.schneidermann <at> gmail.com> writes:
> I was made aware of <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6749>
> which covers roughly the same ground, but didn't make it through because
> the author forgot about following up.
I've now closed that report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21359
; Package
emacs
.
(Tue, 23 Feb 2016 09:27:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 21359 <at> debbugs.gnu.org (full text, mbox):
Vasilij Schneidermann <v.schneidermann <at> gmail.com> 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
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 23 Feb 2016 09:30:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 25.2, send any further explanations to
21359 <at> debbugs.gnu.org and Vasilij Schneidermann <v.schneidermann <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 23 Feb 2016 09:30:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Mar 2016 11:24:04 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:08 GMT)
Full text and
rfc822 format available.
bug Marked as fixed in versions 26.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:08 GMT)
Full text and
rfc822 format available.
bug No longer marked as fixed in versions 25.2.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:08 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Jan 2017 12:24:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 173 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.