From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: undo-tree and Org visibility Date: Wed, 27 Feb 2013 23:35:37 +0100 Message-ID: <87d2vlo05i.fsf@bzg.ath.cx> References: <878v69r7sn.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApbo-0007ma-Bt for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:36:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UApbT-0003V9-Dq for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:36:14 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:62027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApbS-0003Jr-67 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:35:59 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so952125wgd.16 for ; Wed, 27 Feb 2013 14:35:40 -0800 (PST) In-Reply-To: (Samuel Wales's message of "Wed, 27 Feb 2013 10:58:15 -0700") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Samuel, Samuel Wales writes: > Correct me if I'm wrong, but M-x show-all is equivalent to my > defadvice (even worse because it shows more). Cycling will work > initially, but that will change as soon as some changes in body text > forces revealing that entry. What I suggest is a less convoluted version of your advice, where you would call `show-all' as a "before" advice for undo-tree-undo. Maybe Toby (the author of undo-tree) is reading the thread and has been thinking about interactions between undo-tree and the visibility state of the buffer. -- Bastien