-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

stardiviner <numbch...@gmail.com> writes:

> I think the hidden drawers info is useful for users, this should be
> shown when org-cycle on headlines.
>
> Here is the patch.

I found another solution:

Add file-local variable to eval to the Contacts.org file:

#+begin_src org
# Local Variables:
# eval: (let ((current-prefix-arg '(64))) (call-interactively 'org-cycle))
# End:
#+end_src

This is just a workaround. Not very close to my requirement which expand drawers
when press Tab on a single headline. Because this situation only need in
org-contacts or similar things. So I use file-local variables to do it. Maybe I
can define buffer local keybindings to do it better.

- -- 
[ 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
      
-----BEGIN PGP SIGNATURE-----

iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl6WYtQUHG51bWJjaGls
ZEBnbWFpbC5jb20ACgkQG13xyVromsPN1Qf+KK2RBmwTrFrvmb16EMEWlUQ3MyRG
jwNu59lfvWHYe9tp3a8UeXvAht5pFfSNF5CNsf4ueh1FSyUd5RSsF/L7QFovqMVb
wAmT+mYEP/OacKPxfRHdIWjUz7ZlsFj34vK8362D3PQcsXheNCjiMPnzOte86xH/
ZRhcd5+U4gk+0ySa1tj/CBBTWfBgn2tNTVrBoqPlBuG6aWOnMlor+v4rx5nLgfaa
ZOOnhqS4M223rzMKL5V4M+UcY/+lD9giGYr8g97degbrJqVpRD7FYJ2T5A1atbDc
WCE3dA7i0rxBhit/r2ytvPEMj7Kp/VJla+VddvEvCf2xrIAYye0Uj8hfqw==
=wGia
-----END PGP SIGNATURE-----

Reply via email to