Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!hao!oddjob!gargoyle!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!uiucdcsm!grunwald From: grunwald@uiucdcsm.UUCP Newsgroups: comp.emacs Subject: (treat-as-single-undo) Message-ID: <4300001@uiucdcsm> Date: Tue, 1-Sep-87 11:36:00 EDT Article-I.D.: uiucdcsm.4300001 Posted: Tue Sep 1 11:36:00 1987 Date-Received: Fri, 4-Sep-87 00:46:50 EDT Lines: 16 Nf-ID: #N:uiucdcsm:4300001:000:652 Nf-From: uiucdcsm.cs.uiuc.edu!grunwald Sep 1 10:36:00 1987 This pertains to Gnuemacs. Often, I would like to 'chunk' a large group of changes as a single 'undo' action. E.g. if I replace-regexp several lines, I'd like to be able to 'undo' the lot of them, not each one. I've read the docs concerning undo-boundry, but the problem is that I can't over-ride the undo-boundries created by other functions. While it might be possible to bind a null function to the undo-boundry label, this doesn't work for built-in commands. Does anyone have a command similar to what I've described? Any clues on how to do it? Would disabling undo at the beginning of the 'group' and enabling at the end of the 'group' do it?