From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: undo and folding Date: Mon, 24 Nov 2008 22:09:50 +0100 Message-ID: <5B0DC101-F6EB-4678-9998-9B01C052332A@uva.nl> References: <20524da70811241144qf6c40fcpe8245642975ff3c6@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4ih0-0005l2-D0 for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 16:10:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4igx-0005i9-PN for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 16:10:00 -0500 Received: from [199.232.76.173] (port=41902 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4igx-0005hp-FB for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 16:09:59 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]:54916) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4igw-0001rg-UV for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 16:09:59 -0500 Received: by ug-out-1314.google.com with SMTP id 36so973831uga.17 for ; Mon, 24 Nov 2008 13:09:52 -0800 (PST) In-Reply-To: <20524da70811241144qf6c40fcpe8245642975ff3c6@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Not that I know. Maybe some advice around the undo function, to make at least point visible after an undo command? This is untested, and may be incomplete since it does not take into account the range in the buffer that was really affected by the undo. But it may already help: (defadvice undo (after org-undo-reveal activate) "Make point and context visible after an undo command in Org-mode." (and (org-mode-p) (org-reveal))) HTH - Carsten On Nov 24, 2008, at 8:44 PM, Samuel Wales wrote: > Very often, I will hit undo, only to find that all of the changes it > makes are hidden in a folded subtree. Combined with the lack of a > non-buggy true redo, this makes things very confusing. > > Is there a way to fix this? > > -- > Myalgic encephalomyelitis denialists are knowingly causing further > suffering and death by opposing biomedical research on this > fast-spreading serious disease. Do you care about the world? > http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode