[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [feature request] support content level in #+startup
From: |
Eric S Fraga |
Subject: |
Re: [O] [feature request] support content level in #+startup |
Date: |
Wed, 06 Mar 2019 10:29:14 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Wednesday, 6 Mar 2019 at 01:43, Zhang Haijun wrote:
> I want to show headlines whose level is less than 3(level 1 and 2). Can
> you support this? For example, support the following option:
>
> content:2 show headlines whose level is no larger than 2
If you eval (org-content 2), you will get what you want. You can create
a simple inline src block that will evaluated this for you by C-c C-c:
src_elisp{(org-content 2)}
or you can put this in your file local variables (which is what I do) so
that you get the opening view of the file as you want it.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.1-242-g7e98c5