From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Cycle Org Shift Select Date: Mon, 09 Nov 2020 22:08:58 +0100 Message-ID: <87zh3qfdat.fsf@web.de> References: <87pn4mgufa.fsf@web.de> <87h7pygtll.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10732"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Help Gnu Emacs mailing list To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 22:09:36 2020 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 1kcEPw-0002gy-7s for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 22:09:36 +0100 Original-Received: from localhost ([::1]:38932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcEPv-0006e7-AP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 16:09:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcEPQ-0006dx-6C for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 16:09:04 -0500 Original-Received: from mout.web.de ([212.227.17.12]:56685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcEPO-0003RB-72 for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 16:09:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1604956139; bh=C8/WQVpmn1NTLs42pLa7WKr4eC4XIiU7HTQGerI6QNs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=hF5GSn+89bsmS/j/MSmZQclwsPCDEfEInaSmS5px+Ueo4JRvrkZBM1CMzFHbtaUMw Rmypr9VhYMrMbJYqU3g1xvswY/13e6kAQC1YmvDKwkV5+1b9WAQUKNVB6h9acUHBeK dlYqm9JWA442BWOI/tKVHovHnjdcXzUmBYzadYAY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.215.213]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LvjrE-1kF27K3w4q-017WDM; Mon, 09 Nov 2020 22:08:59 +0100 In-Reply-To: (Noam Postavsky's message of "Mon, 9 Nov 2020 15:37:02 -0500") X-Provags-ID: V03:K1:Ke6FTghhD7mozlptHpPg2Ymt5kauCRsPVblS/SUz9S5V6jJTG/A QfnP+lwtOhIglP/8Nze5UWfpn1PLD4Im69TmryzxCFwKMwSs5osbWNgl4PC/zX0EIZeCu94 F0puo2DI1rl9c3cMiZd60AtTkYAQRWy/N5yHbY853l1CKDDaxCyshkkQjsZ529MrhpasHnF DS+yR/MfEI08fJUTm65rg== X-UI-Out-Filterresults: notjunk:1;V03:K0:lgeOpKehnZc=:cFg2p1i7UgNbThptFIqEzT dE7C7GXvBPEQfZX/uLndZCxW1+e6X/DFpnBbus8vcXOtT/o6Djy8XPTSop2cj1mBcJ/rwfsBt w+x0UsiXZ6S9MAYURKkNEbNstRSrRGT+BaYoimjKTh7MBtngcTRTUd4zoo5ebS/s28OpzhIvx YfRw8v0vBsXJxqVP58cGnjo2MBE7QQw9rfSp5DK2wPJoSKAwNR1FBCyAmTigL+7Jqghzo80o8 gY5j+9qw2LYdPQUs5k6E53vmmhygZjvOhaODqaZIyDllDbJgEoB37ROXq+bZybHa3H9V2zNJk DSm/DPmfUUbV6U4sAvcqM4gSJ/HmAdiSe/P/HQS//XWzqLN4VYQfURruXt2K8HKB0W9YvirKR BhkYwFtyaqC4PEMJ1RW2JpZs7FjGHjVNjjapvzD0+Hv+NAXqscn1JaMUjhRf3bmKDBLZqqmFM AhSUl47p7K8CBHtJXFe2+COMexWekSG1PTT4uuLC1pKT1UOnHL0fWRPLdU/A7BzmJRO5/TFgW EBND1EGr4h8uhVx5JoRmzly8M0o3PuELvwYNFZPukvSoLm/Bj2Gxur+ViAwLJTmHfydOC3OSY z50acdhXS0SlxySSqbxqA9nkcmE6mmHlmZW4fj4QVD+0V4hQuRT/ou0cbHLva3aclYjc7Scsx ZPxgRGLDmx/ZxoyKfLTdpnCGQ85DZwz/seQY7OQ6yq4x4zo+5OVo6sQ3NSuQutcpTXGVeFljl Xd25p83UKzBkSI37oe+J/d97/YI1eUIjYx2w+TD/gZmme4WsphiugMrDjCoZcPYvD0TwbVRP Received-SPF: pass client-ip=212.227.17.12; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 15:46:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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:125151 Archived-At: Noam Postavsky writes: > If you are uncomfortable with the circular syntax [...] In my case it was not me but a code walker that had been uncomfortable... > then using '(nil t > always nil) instead, as in my first post, is effectively the same > (i.e., you don't really need a circular list here anyway). I don't > understand your comments about local variables or closures though. > > https://lists.gnu.org/archive/html/help-gnu-emacs/2020-11/msg00298.html I suggested to use a variable or a closure to remember the state of cycling instead of self-modifying code. Michael.