From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: undo-tree and Org visibility Date: Wed, 27 Feb 2013 10:58:15 -0700 Message-ID: References: <878v69r7sn.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAlHD-0005Ro-Qv for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 12:59:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAlH1-0005kL-7q for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 12:58:42 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:63697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAlGz-0005iF-UN for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 12:58:35 -0500 Received: by mail-wi0-f182.google.com with SMTP id hi18so1041611wib.3 for ; Wed, 27 Feb 2013 09:58:15 -0800 (PST) In-Reply-To: <878v69r7sn.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, On 2/27/13, Bastien wrote: > My suggestion here is to use M-x show-all RET (or Org cycling) > before playing around with `undo-tree-undo' or `undo-tree-visualize'. > > You will then have a clear view of what is un-done, > without the need to worry about the visibility state. 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. Finally, this requires careful consideration of when to do undo and redo, and preparation beforehand, while I'd prefer those to be natural, quick operations that do not require setting visibility manually first. The "clear view" is only a clear view if you have all of the headlines showing. They will not show unless you have a very tall screen or very small fonts or a very small amount of body text. If you do not show the following headlines because the body text is too long, then you cannot easily tell that the operation was a move. Not saying anybody is interested, but I wanted to make the problem clear. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is no hope without action.