emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [FR] Expand functionality of org-hide-block-startup to add property drawer support
@ 2021-11-20 19:16 Kristoffer
  0 siblings, 0 replies; only message in thread
From: Kristoffer @ 2021-11-20 19:16 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-22  5:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 19:16 [FR] Expand functionality of org-hide-block-startup to add property drawer support Kristoffer

Code repositories for project(s) associated with this 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).