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 21:10:55 +0100 Message-ID: <87tutyguk0.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40854"; 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 To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 21:13: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 1kcDXk-000AVe-8u for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 21:13:36 +0100 Original-Received: from localhost ([::1]:57918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcDXj-0003dS-AN for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 15:13:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcDVK-0002ng-4Z for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 15:11:06 -0500 Original-Received: from mout.web.de ([217.72.192.78]:49649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcDVF-0004wo-3u for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 15:11:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1604952656; bh=6i+ZpXHDMHBhcKEItY7KQQvc67J0snWs4rOugNaAf7g=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=BJpdrrV3kkKPJJu0PbN+KiAR79vEQEC1s+gMYcSllvzMAXQGlrFkA02alb+IRBa6U +JZh+/wKRV7IUr4tSvaiJt7eIQPc0NjcVz6lauHWph7NuzVR5X1sQPiYxGRRU+YpnX RcnLd2zM8ZRTO9NHKIZv8kNdQE+e50wO2CkcTkVc= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.215.213]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N3Gga-1kCGOz4Aeg-010NXs; Mon, 09 Nov 2020 21:10:56 +0100 In-Reply-To: (Christopher Dimech's message of "Fri, 6 Nov 2020 16:23:17 +0100") X-Provags-ID: V03:K1:3EcWTV8nCi6HbvTcQ+BcOjawXG3ViSO7ynUbdl5lqq8834Y+6yx qeQsY/OviWlkqBlZhU78dbmU9nWgOyS7GhlwAVOhXSKM/NvOaaqXgNGyi+gTJa2X4/eN6ux adGu4obIJ85MfdpSwOtZyg7E7btJioJqoYhsc0/kWWRU51cTVoL4E9puy71dk8nY3WaLMyu mPmuPv88x+f+uKheNBzIA== X-UI-Out-Filterresults: notjunk:1;V03:K0:BZlUxV/gMsI=:opOUaeECpeA5eaHY2sU5FW Dn2qjWdj8a2qonuqgfEglXCXafX5JPgHhQf1H6VHo0NmHWS3jb4YMCPiEAPEvxQVaoVxbvVE+ bKMTldTyV5iPtW38+lgVCQ6XLFWiDianVDBpeqAEMhyjwUSozgjM+8STW+DTy1rLTv1l5eP0+ zw5lLbXD0zHCTZAXOaFeDoyaogQiG8WnmvOdjGk+2ckzzEgYMcN/e7ZSPyBWmileyYwsVuWcc atPPIpAoZZHzjF98ZaiEriaq7s6rnK2JqY54E/QMZDsBaQzfDcP+N7f2i67zOtIC3BjOSmmVk XdwN9hStc/MhKLl2DiPA3OACi/49jUD1JPmA9T36gLkIHAfetyq4s+BLZ3TuaKlglnIfDm77O 9+a+Aqth9NKQm9yqpwQkcKGLSa2ynXDtkQYC31KvEASNdGQRqEpLT+336dwNy6CoGB8PZ8Vs1 PzAyEs/SolH9n34BfUl8pDda+BrB4hr7ax4zlNEh0++/Kd0d+mmACiRhln5JIO7n4QBFdAZZD C2/aQ71VCQt+atWu4Y7uMi2XVGSR9zY/Z2k4Uazkze2WSVol+bev3gdfFqVKu+nX7TcL1UvQI 4+54EWARPErPo3P354GDwdBDITIfsEbNJM/WodwMmjwGbHoG+d7TG9QvURWL4m5s+/DoYLCc8 C95uBxKpxRAnnweHjuEIoAXSTSgMY2OagF7VPBJA3lrP9uToH57GSfXfEKee7qhLZ/f2FNlXy 6nFkR8vI6C+c1Lyooz+c5FXpq80AekwOgZbPdJHXU/Z2RCgaDM6tAhDXH04CRfcBxxLx2Klu Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 15:10:56 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_H2=-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:125141 Archived-At: Christopher Dimech writes: > I have this code to cycle the Shift Select option for Org Mode. > > I am a little concerned that (nconc Shftsel Shftsel) will continually > append, rather than just cycle through the list. > > Looking for a better way to this job. What behavior do you want to get? Do you want to cycling to start always from the same point and cycle only for repeated commands invocations? Or do you want to have a state remembered by the command (I guess so)? Should this then really be a global or a per-buffer or per-window state? Regards, Michael.