emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: undo in org.el
Date: Mon, 12 Nov 2007 21:23:23 +0000	[thread overview]
Message-ID: <m3hcjrxino.fsf@cam.ac.uk> (raw)

Dear all,

[a suggestion]

I seem to recall some time ago there were some discussions about undo
changes. for example, if I archive a subtree and then undo, the archived
substree will be restored to its original .org file but is also archived
in the _archive.org file. i.e. the undo is incomplete.

We can use the following to make the archive action one atomic change.

,----[ (info "(elisp)Atomic Changes") ]
|    If you need something more sophisticated, such as to make changes in
| various buffers constitute one atomic group, you must directly call
| lower-level functions that `atomic-change-group' uses.
`----

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

             reply	other threads:[~2007-11-12 21:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 21:23 Leo [this message]
2007-11-13  9:03 ` undo in org.el Carsten Dominik
2007-11-13 11:44   ` Tim O'Callaghan
2007-11-13 15:28     ` Ed Hirgelt
2007-11-13 15:37     ` Carsten Dominik
2007-11-13 20:58       ` Leo
2007-11-13 22:12         ` Carsten Dominik
2007-11-15 11:45       ` Dr. Volker Zell
2007-11-15 11:55         ` Carsten Dominik
2007-11-13 22:50     ` Wes Nakamura
     [not found]       ` <E6B22961-FEA9-4D09-9743-64202CB7DB8D@science.uva.nl>
2007-11-14  8:08         ` Carsten Dominik
2007-11-14  8:13       ` Tassilo Horn
2007-11-14 15:02         ` William Henney
2007-11-14 19:46           ` Tassilo Horn
2007-11-14 22:37             ` William Henney
2007-11-14  9:02       ` Carsten Dominik
2007-11-13 12:15   ` Dr. Volker Zell
2007-11-13 12:19   ` Stefan Kamphausen

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=m3hcjrxino.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).