From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Shug Boabby" Newsgroups: gmane.emacs.help Subject: Re: undo custom delete Date: 5 Oct 2005 02:08:49 -0700 Organization: http://groups.google.com Message-ID: <1128503329.733223.304600@g14g2000cwa.googlegroups.com> References: <1128441829.624442.144850@o13g2000cwo.googlegroups.com> <1128446941.952911.272060@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1128504820 26765 80.91.229.2 (5 Oct 2005 09:33:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 09:33:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 11:33:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EN5dc-0003a2-Ao for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 11:32:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EN5da-0002uG-Pp for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 05:32:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 82.41.24.222 Original-X-Trace: posting.google.com 1128503334 26755 127.0.0.1 (5 Oct 2005 09:08:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 5 Oct 2005 09:08:54 +0000 (UTC) In-Reply-To: <1128446941.952911.272060@g49g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/412.7 (KHTML, like Gecko) Safari/412.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=82.41.24.222; posting-account=jQz-EQ0AAABiniXWq8YyRVQ60t_LIYwt Original-Xref: shelby.stanford.edu gnu.emacs.help:134355 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29929 Archived-At: > I, for one, was unable to recreate either symptom you describe. err... sorry, i don't know what i was thinking; for some reason i had imagined that the normal delete returned whole words instead of character at a time. i guess i should have checked this explicitly before posting. i must have been thinking about undo after you type a whole word. but this does raise another question... is there a way to undo deletion of a complete word in the same way that undo would undo the typing of a complete word? surely it must be do-able, the logic being something recursive like "if (last action was delete char) and (char not whitespace), then (undo last action) and (repeat this loop), else (break)". sorry for not checking!