On 4/28/16, Adam Porter wrote:
> Do you have any other posts talking about this? I'm interested in
> fixing this too. I've run into situations occasionally where undo-tree
> seems to try to operate on a region or a hidden/folded area, and it just
> kind of goes bonkers, and
Samuel Wales writes:
> thank you. for years i have been trying to advise undo-tree to deal
> with visibility properly. namely, to not try to undo or redo
> invisibly, but also not to leave too much stuff visible. maybe if i
> can get it to do canonical visibility except
thank you. for years i have been trying to advise undo-tree to deal
with visibility properly. namely, to not try to undo or redo
invisibly, but also not to leave too much stuff visible. maybe if i
can get it to do canonical visibility except in drawers (where it
should keep the drawer open if
Hi
Samuel Wales gmail.com> writes:
>
> can one tell whether point is in a drawer?
>
>
By coincidence just posted a patch request which contains the functionality
you desire. I use org-element-at-point and then test for drawer/property drawer:
(defun org-open-if-in-drawer ()
(let ((element
can one tell whether point is in a drawer?