From: Kristoffer <kris.lolzby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [FR] Expand functionality of org-hide-block-startup to add property drawer support
Date: Sat, 20 Nov 2021 20:16:46 +0100 [thread overview]
Message-ID: <6f0ea152-1d57-b7b5-3a66-17e5577a7a64@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Hello,
I recently came across the /hideblocks /and /nohideblocks/ startup
variables for per-file configuration of org-hide-block-startup in the
manual at 2.8 Blocks. I got it to work by using a header argument, but I
think this would really benefit from being able to be set through a
property in a drawer as well. As far as I'm aware, that's already
possible, but if any other startup argument is specified it is overruled
even if not relevant.
I think it'd benefit from being able to overrule the header argument
like other properties in drawers can. Such that when you have the
startup argument set to something like /show2levels/ you can also use
/hideblocks/ per-heading rather than the entire file. Personally, I have
blocks I'd rather not hide by default, while others like example blocks
that I'm completely fine with doing so.
It's kind of late here, but I hope I came across somewhat coherently.
Regards,
Kristoffer
[-- Attachment #2: Type: text/html, Size: 1238 bytes --]
reply other threads:[~2021-11-22 5:20 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=6f0ea152-1d57-b7b5-3a66-17e5577a7a64@gmail.com \
--to=kris.lolzby@gmail.com \
--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).