From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SMIpKwkO017GEQAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 01:53:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qG75JgkO016ATAAAbx9fmQ (envelope-from ) for ; Sun, 31 May 2020 01:53:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B8EA29402D1 for ; Sun, 31 May 2020 01:53:12 +0000 (UTC) Received: from localhost ([::1]:39332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfD9y-0003T4-6N for larch@yhetil.org; Sat, 30 May 2020 21:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfD9Q-0003Sv-BJ for emacs-orgmode@gnu.org; Sat, 30 May 2020 21:52:36 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jfD9O-0002bh-S8 for emacs-orgmode@gnu.org; Sat, 30 May 2020 21:52:36 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590889949; cv=none; d=zohomail.com; s=zohoarc; b=VTTwdeYZFMdG4tZ2hd/fjuy4OhKXjxxtGLabMJukFe4Y4Ba3+N70gz5/vJVnIncRndnajJTmlTDxTr7oYLR2yrk90uaYnI3k4/6rz7K7UYCLJIvgBNL+D8G0FqAuzoYmfOvRdt8zOsYphML7BtBVv1YdbNiorV731CFh6yRGMMA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590889949; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=N7ozCoMTyruXszw5qfXHozRYf0QT4HImR/YTQdPfBz8=; b=c6veaCdx5c0uZX7gOK8UNdKHD/m+Dzwe+pR0IXB6DibcLsq6TvTzPcvAC0zzpfg54fByPaA6EnzjJrY2J9NuLhFuDWpaEswuNHNo3I6yNLcXbKC934taLmFVRqNklghczg5qwveSHjY3TDip07tZvu8KdrlzTKvbmwev3cMn6yY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=nivekuil.com; spf=pass smtp.mailfrom=kevin@nivekuil.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590889949; s=mail; d=nivekuil.com; i=kevin@nivekuil.com; h=References:From:To:Cc:Subject:Message-ID:In-reply-to:Date:MIME-Version:Content-Type; bh=N7ozCoMTyruXszw5qfXHozRYf0QT4HImR/YTQdPfBz8=; b=bAkp87g9XlEg90VNwm7qUAi2DQEvPPdOon9kgRgWicIqylU4XdcpAQ5dAkl4tPzM fpCgb+WmTsUtGg+2B+i3oIV76H0SFu5SC305bqNPCHUgw5Bv2sNjNu99dULpM3nMcW7 wQ2rzopFbOJZbMtCxTCkuDQ7YCd6wJqf3TQZSV08= Received: from machina (71.212.158.154 [71.212.158.154]) by mx.zohomail.com with SMTPS id 1590889948031193.6287379850661; Sat, 30 May 2020 18:52:28 -0700 (PDT) References: <874krxpmgu.fsf@nivekuil.com> <87v9kdmmjt.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.5.1; emacs 27.0.91 From: Kevin Liu To: Nicolas Goaziou Subject: Re: nondeterministic org-test-with-temp-text? Message-ID: <87mu5o27z2.fsf@nivekuil.com> In-reply-to: <87v9kdmmjt.fsf@nicolasgoaziou.fr> Date: Sat, 30 May 2020 18:52:27 -0700 MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: none client-ip=136.143.188.51; envelope-from=kevin@nivekuil.com; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 21:52:31 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, T_DKIM_INVALID=0.01, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none (invalid DKIM record) header.d=nivekuil.com header.s=mail header.b=bAkp87g9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: qEX0T9k7nsK+ On 30 May 2020 09:09, Nicolas Goaziou wrote: > You cannot call `org-cycle' consecutively without care, because it > checks `last-command' and `this-command'. You need to fake their values > before calling `org-cycle' again. Good to know, thanks. Relatedly, would you be willing to take a look at the bug at hand with (org-next-visible-headline)? I think the recent rewrite has changed its behavior in a way outlined by my test cases. Specifically, not always landing on a headline will break speed keys.