From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Russell Newsgroups: gmane.emacs.help Subject: Re: Undo Date: 26 Sep 2003 14:38:10 -0400 Organization: Cisco Systems Inc. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064601990 24888 80.91.224.253 (26 Sep 2003 18:46:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2003 18:46:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 20:46:28 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 1A2xbo-0005Zx-00 for ; Fri, 26 Sep 2003 20:46:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2xbY-00005N-V6 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2003 14:46:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Cache-Post-Path: sj-nntpcache-5!unknown@161.44.79.155 X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 34 Original-Xref: shelby.stanford.edu gnu.emacs.help:116898 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:12824 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12824 bhiker@free.fr writes: > Sorry for this newbie's question about undo. > > I do not succeed to undo characters with emacs 21.3 under console. > > Here is what I get: > > * Under X, it may work: > C-_ is binded to the undo function (as returned by C-h c C-_) and works fine. > Besides it, at first try, M-x undo removes one character. > This character will appear again with the following M-x undo. > > * Under a console text-based environment: > C-_ is binded to DEL > > M-x undo behaves like under X: one character is deleted at the first try and > will appear again at the second try. > > So, how may I bind C-_ to the undo function for the console environment? > Thanks! I would love to answer your question, but so many other things you said baffled me that I don't think I can. When I do C-_ on emacs 21.3.1 I get many many many levels of undo. It keeps going back seemingly forever. This also works in the console with no modifications whatsoever. The problem is, I'm not even sure what a person could do if the wanted to do what you are describing. Do you have something strange in your .emacs file? John