From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: whether in drawer? Date: Thu, 28 Apr 2016 09:52:30 -0500 Message-ID: <87wpnh3hw1.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnJA-00044c-5a for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 10:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avnJ6-0006WR-Bp for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 10:52:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:60911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnJ6-0006WD-5o for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 10:52:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1avnJ4-0007E1-R4 for emacs-orgmode@gnu.org; Thu, 28 Apr 2016 16:52:43 +0200 Received: from 172-0-42-27.lightspeed.ltrkar.sbcglobal.net ([172.0.42.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2016 16:52:42 +0200 Received: from adam by 172-0-42-27.lightspeed.ltrkar.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2016 16:52:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 in drawers (where it > should keep the drawer open if point is in it) it will work properly. 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 I end up having to revert the buffer. It would be nice to fix this.