From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Exiting from mapc Date: Tue, 31 Dec 2024 19:35:21 +0000 Message-ID: <7cSjmNb9wbuuXOPxnBml1e6cPaldn8EPTGZ2LZdnm-ZjIANwQBYOYq9a-nJDcaCG8QKkb09TGeUjlQ6vLFyFVzOPZfJniDINxCNXT1TW6vQ=@protonmail.com> Reply-To: Heime 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="7267"; mail-complaints-to="usenet@ciao.gmane.io" To: Heime via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 31 20:36:12 2024 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 1tSi2G-0001h6-EV for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 31 Dec 2024 20:36:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSi1g-0002rL-1D; Tue, 31 Dec 2024 14:35:36 -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 1tSi1c-0002qv-RQ for help-gnu-emacs@gnu.org; Tue, 31 Dec 2024 14:35:32 -0500 Original-Received: from mail-10699.protonmail.ch ([79.135.106.99]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSi1a-0004wA-9H for help-gnu-emacs@gnu.org; Tue, 31 Dec 2024 14:35:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1735673726; x=1735932926; bh=7Es9rNIAuQ0gn8z1MorQZJSVoL5dYTUkWSsJ97gHcxQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=N8yAf/tvepiFhe/7EKSY7IF242gFLc6/ypWqJPjyUESeutuzDfteiNHdROs4eIRLl iuR2acCYLprzrWgpspHdX8O3w3CjcryPZBRyGEn3ezDX4mQr9YihH/QPoUddwZq2mY cvRvRmOG8U0/SDSAtajAEIRS+F7nNE0LBWcFcMk2gXGCB03Wm4b1ET2iRwLewg7Qzs KZckuOozgh8Ee3ZVMvuAsW0kvSmI0mf+ck9WBPzFwAhZuQOIQ8kYeGuz+Bpf0edJv8 hCWhM6KHWS0LWHiNqHhuOYR5cfDlpcQbTESFhxA0vAudyLiiv+J/0JeEL+UQJx2U4L xoFJwa9B7Htfw== Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 559fbf1090c8e8599b0961afef83fbd56069511e Received-SPF: pass client-ip=79.135.106.99; envelope-from=heimeborgia@protonmail.com; helo=mail-10699.protonmail.ch 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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:149077 Archived-At: How can I exit when encountering 'safg or 'nogo=20 (defun amazones-falkotr-kntlr (actm-seqr) (mapc (lambda (actm) ;; Evaluate conditions and executes corresponding actions ;; based on matching clauses. (cond ;; CASE ((eq actm 'safg) (message "SAFG amazones-falkotr-kntlr")) =09;; CASE ((eq actm 'armg) =09 (message "ARMG amazones-falkotr-kntlr") ;; Load falkotr.el from `load-path'. (add-to-list 'load-path (amazones-fpln-waypt "FLKTR" 'sec)) (require 'falkotr)) =09 ;; CASE ((eq actm 'nogo) (message "NOGO amazones-falkotr-kntlr")) ;; CASE ((eq actm 'go) (message "GO amazones-falkotr-kntlr") (falkotr-launch-kntlr '(armg go))) ;; CASE (t ;; Unrecognised symbol, log error with offending symbol. (message "NOGO amazones-falkotr-kntlr") (message " =E2=94=94=E2=94=80=E2=94=80 ACTM Unrecognised: %s" a= ctm)))) actm-seqr)) Sent with Proton Mail secure email.