unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tricky - undo function - planning info
@ 2015-06-07 20:42 gnuist006
  2015-06-07 22:15 ` Emanuel Berg
  2015-06-08  2:35 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: gnuist006 @ 2015-06-07 20:42 UTC (permalink / raw)
  To: help-gnu-emacs

Hi All.

Normally M-x undo would undo each step. A function may comprise one or more steps. When a function is applied, and then undone, it is not clear how many steps of undo are really needed. This is really a very basic need and should have been addressed - and solved decades ago. I am looking for a good plan of what to do to achieve this functionality and basic facility. For example, something from the interpreter needs to be accessed about each function executed to indicate its number of elementary steps and this data stored elsewhere so an undo-function can be applied without any bugs.

Then again, maybe it is already implemented and undocumented, or there is a simple solution.

Bolega


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-08  2:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-07 20:42 tricky - undo function - planning info gnuist006
2015-06-07 22:15 ` Emanuel Berg
2015-06-07 23:06   ` Bob Proulx
2015-06-08  2:35 ` Stefan Monnier

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).