From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.help Subject: Undo manipulation Date: Thu, 14 Aug 2003 10:06:48 GMT Organization: Newt Software Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87adac7du0.fsf@olgas.newt.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060856205 20986 80.91.224.253 (14 Aug 2003 10:16:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2003 10:16:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 12:16:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nF9v-0006qp-00 for ; Thu, 14 Aug 2003 12:16:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nF9L-0002MF-8g for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2003 06:16:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr27.news.prodigy.com.POSTED!ad3e664c!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:967KMJDPv90UVM/5JlY4tHyeTdI= Original-Lines: 21 Original-NNTP-Posting-Host: 206.127.228.194 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr27.news.prodigy.com 1060855608 ST000 206.127.228.194 (Thu, 14 Aug 2003 06:06:48 EDT) Original-NNTP-Posting-Date: Thu, 14 Aug 2003 06:06:48 EDT X-UserInfo1: [[PAPDON_ZSMBRXXKROD]_\@VR]^@B@MCPWZKB]MPXHNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Original-Xref: shelby.stanford.edu gnu.emacs.help:115881 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:11800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11800 I don't want to add some manipulation to buffer-undo-list. For example, let's say I have: 1. blah 2. blah xyz 3. blah and I want an undo to hit #3, then #2 and then #1, leaving xyz alone. Are there normal ways to do this? Like inserting markers in buffer-undo-list to later remove desired elements. It just occurred to me that I could save buffer-undo-list into a temporory variable, do my thing, and then restore the variable. Thoughts? -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.