From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: Use of return in dolist Date: Thu, 02 Jan 2025 11:28:09 +1100 Message-ID: <86wmfe6ova.fsf@gmail.com> References: <868qrv889h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32771"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 01:29:01 2025 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 1tT95A-0008PC-QM for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 01:29:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tT94Y-0002qr-OE; Wed, 01 Jan 2025 19:28:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tT94W-0002qb-DL for help-gnu-emacs@gnu.org; Wed, 01 Jan 2025 19:28:20 -0500 Original-Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tT94U-00018J-8m for help-gnu-emacs@gnu.org; Wed, 01 Jan 2025 19:28:19 -0500 Original-Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2f4409fc8fdso12607993a91.1 for ; Wed, 01 Jan 2025 16:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735777696; x=1736382496; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=IbXk86Vi6ke4Yoanj9Ka+Z1WMKTTkmT/2DOcVh0fff8=; b=fn5NH9MBzkXp2pf+ddIAiCEz8foV8u1xKTFJmLyT33WyDguFE/LVY3NvPsXacDPahY PKGdmXh9RRNMmcBoH8c4DyEgL1cu2pEgltZJjFCI0CDN2caS94Xfg1BnGRyZpZ9/DKjG jGJYXFDe9Oqmxx4/GMC3mZeYi1EMNyuGfu9WpgLlSTEIk3zAWPBbqnV6RHV+65jDOoKn efNDazr9zDv9+uCPBEERyOO7GcyulK4DoqW7yvwg1N6fUhw3jmGYAIltJ5d5FY/zsBQa +mkpI2RNj6/TDGNIIfNld14Hc7X7GfyslpdaZeQRE/2pSmzO25uCbIHE0mmCimuCm6R3 M7fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735777696; x=1736382496; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IbXk86Vi6ke4Yoanj9Ka+Z1WMKTTkmT/2DOcVh0fff8=; b=XYxF5U8BZqRrMy/+L9e1BUVbZOiRHnCPxKeWTWy+dpefN1O8wfeXP01/5qv+Hg+zS9 Z1IiK4lip82FRdQgypWdzW7pgJZSADNYh0qbwnr87OyvjyLaFx859nfeKHtGcbkN8Tyr 47b6dLlgkh7OmUOF5RzFuZGI/LBqo5Xnk966V0Wh7eaBdQ4IIgwSyPft6d2z8l/QZCuY GFmDG/Oqm/QOVR/BADu/9w5v7YkBR997O6h9m5sEG8P7HJ6JHR8wH/zF4z8z91AFK928 IejXvyy/sT6QCOA+S2XpTOFlkG1iK2iwgzVuujlZy3OPgTT23kDCS0oTdlW5VBKS+oSE SPnQ== X-Gm-Message-State: AOJu0YwzNvrsIKQiYCMoWR0kbnMYPMgwJ69e78IzfmkH/JVH0QZC5lCV I22V6+uhdH7u5VxHIQAYyETmV/C/rvFqZEDZJr/NxtIhnpRfLrdaq8J26A== X-Gm-Gg: ASbGncufhQv3CCUvjQVthmMTg7BB7cYeQtXucnb3XcG2Vp8ghR87bvl2mlBZ4ep65Tc 4GKaHT73z7TZOBfhVrP24zr7Atv4Eu+mq4vh3+TXJWtBbwHncA/yTqRSrB9k0RdtlO9vuKKVwQp YetBc2B5xjtWYa8x1qAa4UiLfe3YAyprEoCfPFZzxJvna9LeEht/wGXKInX6TrwlH91CCKACKB1 vJQx0nd1YJNIVC1Rl9lzpdABcYu64VyneVAaCj5j7ais1KwAoxG4C3aI5RTunyq2Onvtd88f04d XUNa9if+n6ERLlNU9C4mujNzeP7qgXJU0g== X-Google-Smtp-Source: AGHT+IHOWHX9tjoQCLbep9u3IT9LWIlJTCN8cfESd/r1T3Bh0KI6U+AfVFcE3RimwGzeOaP5CsFTiw== X-Received: by 2002:a17:90a:d646:b0:2ef:7be8:e987 with SMTP id 98e67ed59e1d1-2f4437bbc56mr70795765a91.12.1735777696117; Wed, 01 Jan 2025 16:28:16 -0800 (PST) Original-Received: from LAPTOP-ACR66VVN (193-116-212-210.tpgi.com.au. [193.116.212.210]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc96e94dsm216899565ad.67.2025.01.01.16.28.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2025 16:28:15 -0800 (PST) In-Reply-To: (Heime's message of "Wed, 01 Jan 2025 23:09:35 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=joel.reicher@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149099 Archived-At: Heime writes: > On Wednesday, January 1st, 2025 at 4:31 PM, Joel Reicher > wrote: > >> Heime via Users list for the GNU Emacs text editor >> help-gnu-emacs@gnu.org writes: >> >>> I want to understand what return does? I is supposed to exit >>> the dolist. But does return also return a value. Does in also >>> exit the function or not? >> >> What does the documentation or definition for it say? > > I cannot do C-h f return That would suggest the function doesn't exist at all. Doesn't the code give an error? Is it your code, and if so why did you write "(return)"? Regards, - Joel