[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] Re: [PATCH] Show hidden drawers when org-cycle on headlines

From: stardiviner
Subject: Re: [SOLVED] Re: [PATCH] Show hidden drawers when org-cycle on headlines
Date: Sun, 19 Apr 2020 19:31:53 +0800
User-agent: mu4e 1.4; emacs 28.0.50

Hash: SHA256

Nicolas Goaziou <address@hidden> writes:

> Hello,
> stardiviner <address@hidden> writes:
>> I thought intuitively that property drawers "mostly expanded" and regular
>> drawers like :LOGBOOK: drawer "mostly folded".
> There is no such thing as ":LOGBOOK:" drawers. There are property
> drawers, and regular drawers. "LOGBOOK" belongs to the latter.
>>> Another (better?) option would be: "don't mess with folding state" for
>>> regular drawers and blocks, i.e., what is open stays open, what is
>>> closed stays closed. But that's more difficult to achieve. Any taker?
>> This indeed will be more difficult. I agree. It's not worth to be more
>> complicated.
> I think it is worth it, because it is a sane way to handle different
> needs.

That's will be great.

>>> In any case, I think property drawers need to be "mostly folded".
>> In my opinion, this design is decided by the usage of properties drawers and
>> other regular drawers. For now, I only used this two drawers.
> Property drawers are _internal_ to Org, which means the contents are to
> be hidden. You can use property drawers, but think of them as
> a database. Seeing the guts of a database is hardly useful. However, Org
> provides tooling to read and write it, and even display it (e.g., Org
> Colview) without having to expand them.

Yes, I use it as a very tiny database. :)

> You may want to expand them to edit them, or simply retrieve
> information, it is all text after all, but that's not the intended use
> case, so there is no incentive to expand them automatically.

Sure. I have already got the new added functions. I can define a custom advice
on my own Emacs init file.

Thanks, Nicolas.

- -- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]