From: "Cheong Yiu Fung" <mail@yiufung.net>
To: Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Make org-babel-next-src-block respect ARCHIVE tag
Date: Tue, 03 Dec 2019 16:57:40 +0800 [thread overview]
Message-ID: <54a801a0-2dbb-4078-b5b2-251de182d9f4@www.fastmail.com> (raw)
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
reply other threads:[~2019-12-03 8:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54a801a0-2dbb-4078-b5b2-251de182d9f4@www.fastmail.com \
--to=mail@yiufung.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).