emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: undo and folding
Date: Mon, 24 Nov 2008 22:09:50 +0100	[thread overview]
Message-ID: <5B0DC101-F6EB-4678-9998-9B01C052332A@uva.nl> (raw)
In-Reply-To: <20524da70811241144qf6c40fcpe8245642975ff3c6@mail.gmail.com>

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

      parent reply	other threads:[~2008-11-24 21:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24 19:44 undo and folding Samuel Wales
2008-11-24 20:44 ` Tassilo Horn
2008-11-28 19:04   ` Samuel Wales
2008-11-28 19:20     ` Bernt Hansen
2008-11-28 19:27       ` Samuel Wales
2008-11-28 19:33         ` Samuel Wales
2008-11-24 21:09 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B0DC101-F6EB-4678-9998-9B01C052332A@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).