From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Newsgroups: gmane.emacs.help Subject: Re: Virtual pet for Emacs Date: Wed, 04 May 2022 13:34:22 +0200 Message-ID: References: <267f98227b970b1385d062302c708dd4@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24631"; mail-complaints-to="usenet@ciao.gmane.io" To: vidak@riseup.net, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 04 14:16:32 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmDvk-0006FA-02 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 May 2022 14:16:32 +0200 Original-Received: from localhost ([::1]:51684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmDvi-00057y-Lq for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 May 2022 08:16:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDHB-0003nl-HI for help-gnu-emacs@gnu.org; Wed, 04 May 2022 07:34:37 -0400 Original-Received: from mr85p00im-ztdg06011901.me.com ([17.58.23.198]:39554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDH9-0003EK-SI for help-gnu-emacs@gnu.org; Wed, 04 May 2022 07:34:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1651664067; bh=I+WTenyAL0k2KCMIZmkd6TIpJ45Tuxoz5X5zi0sGAoI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=AoO6oB4tdUZJ9R/1Zoxzc47CMlXTcCcFempa3rZxLK4rJSSDrohisG2sAJQlW/d55 fErCN79X0MwiJPfX4gpjgtqHHh8IWOtWRIzmRHvpMsIdse3RIEF4seEMoMRHHMmXje LxyLsfKOGR5s6co9K7P/+AeGHrb9qRXG5+iqiCdmCf2haLsyoz2QKjSURJ3oqjpEGG I84y3JkTsDKe1iaxvNP0h/a9nb6J2Hymdm7IH49RdxOiCM5HnUIQ9jTLYTJfr9bvf2 nBhJH2gpaIvsCp4jNlHcrocYsav3U3wMu3c7l6vocAUk9XtGSh/GnlC6mMF/trIxKU SNEegH8JIXxbQ== Original-Received: from Workstation.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011901.me.com (Postfix) with ESMTPSA id B7A359000AD; Wed, 4 May 2022 11:34:26 +0000 (UTC) In-Reply-To: <267f98227b970b1385d062302c708dd4@riseup.net> X-Proofpoint-GUID: _ZYfHPRjlq4w_dTlVO0aNTbqJWYByC27 X-Proofpoint-ORIG-GUID: _ZYfHPRjlq4w_dTlVO0aNTbqJWYByC27 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 bulkscore=0 clxscore=1011 suspectscore=0 phishscore=0 mlxlogscore=739 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205040075 Received-SPF: pass client-ip=17.58.23.198; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137116 Archived-At: vidak@riseup.net writes: > Hello!=20 Howdy! > I am making a virtual pet simulation game for Emacs. I wanted to try the pet today, but when I run =E2=80=98uwu-mode=E2=80=99, I= get: Error running timer =E2=80=98uwu-animation-loop=E2=80=99: (void-function re= turn) I tracked the problem down to: (defun points-to-evolution (total-points) (dolist (points +pet-evolution-tree+) (if (> (car points) total-points) (return ;; <------------------- HERE (nth 1 (assoc (car points) +pet-evolution-tree+)))))) My Emacs (v29 from Git) does not define "return". Any ideas what to do? Rudy --=20 "Genius is 1% inspiration and 99% perspiration." -- Thomas Alva Edison, 1932 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia