From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cheong Yiu Fung" Subject: Make org-babel-next-src-block respect ARCHIVE tag Date: Tue, 03 Dec 2019 16:57:40 +0800 Message-ID: <54a801a0-2dbb-4078-b5b2-251de182d9f4@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic40W-0005CZ-E5 for emacs-orgmode@gnu.org; Tue, 03 Dec 2019 03:58:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ic40S-0006r0-EO for emacs-orgmode@gnu.org; Tue, 03 Dec 2019 03:58:06 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45155) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ic40R-0006mz-Eo for emacs-orgmode@gnu.org; Tue, 03 Dec 2019 03:58:04 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E176822651 for ; Tue, 3 Dec 2019 03:58:01 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emacs-orgmode Hi, When navigating using `org-babel-next-src-block`(C-c C-v C-n), if the next source block is in an archived subtree, Org mode would expand it and move cursor to it. Is this an expected behavior / desired feature? It seems more natural to skip source blocks that are under an archived subtree. * Heading #+BEGIN_SRC R message("Press C-c C-v C-n here") #+END_SRC * Heading :ARCHIVE: #+BEGIN_SRC R message("cursor moved to this block") #+END_SRC * Heading #+BEGIN_SRC R message("or should it jump to here instead?") #+END_SRC -- Yiufung