From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gnuist006@gmail.com Newsgroups: gmane.emacs.help Subject: tricky - undo function - planning info Date: Sun, 7 Jun 2015 13:42:53 -0700 (PDT) Message-ID: <27847c65-cbde-47aa-976b-30e2721a3c83@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433709919 21017 80.91.229.3 (7 Jun 2015 20:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2015 20:45:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 22:45:18 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1hRV-000873-BH for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 22:45:17 +0200 Original-Received: from localhost ([::1]:55183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1hRU-00043I-Qy for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 16:45:16 -0400 X-Received: by 10.50.4.34 with SMTP id h2mr13320078igh.8.1433709773564; Sun, 07 Jun 2015 13:42:53 -0700 (PDT) X-Received: by 10.182.28.6 with SMTP id x6mr67056obg.37.1433709773502; Sun, 07 Jun 2015 13:42:53 -0700 (PDT) Original-Path: usenet.stanford.edu!h15no1753614igd.0!news-out.google.com!kd3ni3636igb.0!nntp.google.com!h15no1753611igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.82.93.197; posting-account=REkl4woAAABFXaU7nL79XtGpnmNCQ415 Original-NNTP-Posting-Host: 108.82.93.197 User-Agent: G2/1.0 Injection-Date: Sun, 07 Jun 2015 20:42:53 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:212533 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104818 Archived-At: 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 ma= ny steps of undo are really needed. This is really a very basic need and sh= ould 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 ex= ample, something from the interpreter needs to be accessed about each funct= ion executed to indicate its number of elementary steps and this data store= d 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