Hello,

Thank you for your reply.
Mines are bellow.


Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes:

>> If I understand you correctly, you want the drawers shown by
>> org-agenda-follow-mode to be hidden rather than shown as you move across
>> agenda items, yet? If so, I'm not sure if there is an option to by
>> default have drawers hidden (I suppose you can alter the minor mode
>> yourself...), but calling SPC with C-u shows items but hides their
>> drawers.
>
> I use this piece of advice to get the desired folding behavior in
> `org-agenda-follow-mode':
>
> (advice-add 'org-agenda-do-tree-to-indirect-buffer :after
>    (defun my/org-agenda-collapse-indirect-buffer-tree (arg)
>      (with-current-buffer org-last-indirect-buffer
>        (org-ctrl-c-tab) (org-fold-show-entry 'hide-drawers))))

It's an interesting way to do it.

When I create a new Org file, create a heading and add a logbook entry,
the logbook drawer is collapsed.

But when org-agenda display a habit task, with indirect follow mode, it
expend the logbook drawer as well as the properties drawer.

I still search why this different behavior.


>> This is not the default behavior, I don't think. Have you made
>> customizations to display-buffer-alist?
>
> This used to be the default behavior, and it couldn't be customized as
> it didn't obey display-buffer-alist.  The window would always open below
> the current one.  In May this year it was changed (in commit
> db5478108c063d012432eba50e4ebb71a278c060) to follow
> display-buffer-alist.  Chances are Sébastien is using a version of Org
> mode that does not have this commit.

Is this new behavior on Org 9.7 ? I use 9.6.

Attachment: signature.asc
Description: PGP signature

Reply via email to