From: stardiviner <numbchild@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Show hidden drawers when org-cycle on headlines
Date: Tue, 14 Apr 2020 00:28:41 +0800 [thread overview]
Message-ID: <87a73f9wp2.fsf@gmail.com> (raw)
In-Reply-To: <87r1wryfks.fsf@nicolasgoaziou.fr>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> stardiviner <numbchild@gmail.com> writes:
>
>> I try to record into under headline. For example, I use "org-contacts.el" which
>> record people personalized info. I want to see all properties drawer under a
>> headline when I press [Tab] (org-cycle) to expand it. It's more intuitive.
>>
>> I agree your opinion. I wonder is it possible to define a buffer local variable
>> so that user can control this behavior. WDYT?
>
> I think that drawers and headlines are unrelated, and `org-cycle' should
> not handle drawers, even through a variable.
I see. I will add a custom hook config in my personal init.
>
> However, using `org-show-all' function, you could write a function that
> expands properties drawers, and add it to `org-cycle-hook'.
Yes, my patch added a similar function like `org-show-all' which I borrowed code
from it to `org-cycle-hook'.
- --
[ 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-----
iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl6UkzkUHG51bWJjaGls
ZEBnbWFpbC5jb20ACgkQG13xyVromsNlUAf9HntaeOxyVKZDEEe19yc9tK60Nn2v
JuzO9mEuFcwwrZQb0hYMADRGcjla5CJ5eQN0HZ9RHlwCQyqLGdqTVa5/Qt+nZvYm
HiP4vefHKAGIUGg+FUJh2Q0rFruRS34S05H/bWzPh4/gtno0KafR0YhqkVLp+Z7U
gPud1yacH6c1ANlMTyBKgVfJND/kntvfXStSNnciNwHX1CgpttrNt7KJC7BJ8poa
HoR6AfPqQK0M1IxUV0rTxpFElVSFYaHq5L+V//9alqRzsqaOLSvcK/HDCRhV8Tak
jl+EuC9HmkDX8PEnPlsp/GjXSZHbuTuYr5tX4A2ncYEN0SvxG7RoqSSTYg==
=L8iO
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2020-04-14 4:35 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-11 8:43 [PATCH] Show hidden drawers when org-cycle on headlines stardiviner
2020-04-11 16:05 ` Nicolas Goaziou
2020-04-13 3:29 ` stardiviner
2020-04-13 8:06 ` Nicolas Goaziou
2020-04-13 16:28 ` stardiviner [this message]
2020-04-13 9:12 ` Ihor Radchenko
2020-04-13 16:31 ` [SOLVED] " stardiviner
2020-04-13 16:58 ` Ihor Radchenko
2020-04-13 20:00 ` Nicolas Goaziou
2020-04-13 23:19 ` Tim Cross
2020-04-14 3:18 ` Ihor Radchenko
2020-04-14 12:58 ` Nicolas Goaziou
2020-04-14 13:57 ` Ihor Radchenko
2020-04-14 5:21 ` stardiviner
2020-04-14 12:55 ` Nicolas Goaziou
2020-04-15 1:13 ` stardiviner
2020-04-18 17:48 ` Nicolas Goaziou
2020-04-19 9:10 ` stardiviner
2020-04-19 10:31 ` Nicolas Goaziou
2020-04-19 11:31 ` stardiviner
2020-04-13 20:52 ` Samuel Wales
2020-04-15 1:26 ` [SOLUTION] " stardiviner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a73f9wp2.fsf@gmail.com \
--to=numbchild@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.