Bastien <b...@altern.org> writes: > Hi Suvayu, > > suvayu ali <fatkasuvayu+li...@gmail.com> writes: > >> I think this might be the right time to ask for a feature request, >> unfold a tree if someone tries to edit it. This will prevent many >> "mishaps". > > Good idea. There is `post-self-insert-hook' but there is no > `pre-self-insert-hook' that would check whether the point is in > an invisible area of the buffer, and send a warning about this.
In org-self-insert-command check for visibility at point and take the required action. > Any idea on how to implement this? --