From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: undo custom delete Date: 4 Oct 2005 10:29:01 -0700 Organization: http://groups.google.com Message-ID: <1128446941.952911.272060@g49g2000cwa.googlegroups.com> References: <1128441829.624442.144850@o13g2000cwo.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 1128447272 9812 80.91.229.2 (4 Oct 2005 17:34:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2005 17:34:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 19:34:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMqcQ-0006Hs-Lm for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2005 19:30:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMqcQ-00062M-0J for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2005 13:30:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 198.74.20.118 Original-X-Trace: posting.google.com 1128446948 16530 127.0.0.1 (4 Oct 2005 17:29:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 4 Oct 2005 17:29:08 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 bucket.wellsfargo.com:80 (squid/2.5.STABLE5) Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=198.74.20.118; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu gnu.emacs.help:134337 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:29911 Archived-At: > undo... normally if you type a word in emacs and then delete it, one > letter at a time (using the normal delete command), one utterance of > "C-x u" will return the whole word. However, with this custom command, > the letters are returned one at a time. I, for one, was unable to recreate either symptom you describe. After using backward-delete-char-untabify in the normal way, on my machine, the undo key returned each character I deleted one at a time. In situations where fancy-backspace deleted more than one character in a single keystroke, undo returned all the deleted characters in a single invocation. So it seems to work as I would expect already. Perhaps what you are calling "(using the normal delete command)" uses some other command besides backward-delete-char-untabify. If so, perhaps replacing backward-delete-char-untabify with your "normal delete command" will yield the results you expect.