From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bhiker@free.fr Newsgroups: gmane.emacs.help Subject: Undo Date: Fri, 26 Sep 2003 20:01:07 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1064599267.3f747ee3e282d@imp1-a.free.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1064599449 19141 80.91.224.253 (26 Sep 2003 18:04:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2003 18:04:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 20:04:07 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 1A2wwp-0002s6-00 for ; Fri, 26 Sep 2003 20:04:07 +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 1A2wwD-0001es-UX for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2003 14:03:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A2wvx-0001cQ-WC for help-gnu-emacs@gnu.org; Fri, 26 Sep 2003 14:03:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A2wuH-0000cP-HK for help-gnu-emacs@gnu.org; Fri, 26 Sep 2003 14:01:31 -0400 Original-Received: from [213.228.0.176] (helo=postfix4-2.free.fr) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2wtz-0000NE-5P for help-gnu-emacs@gnu.org; Fri, 26 Sep 2003 14:01:11 -0400 Original-Received: from imp1-a.free.fr (imp1-a.free.fr [213.228.0.79]) by postfix4-2.free.fr (Postfix) with ESMTP id 35209C13E for ; Fri, 26 Sep 2003 20:01:08 +0200 (CEST) Original-Received: by imp1-a.free.fr (Postfix, from userid 33) id 1D8D6100E8; Fri, 26 Sep 2003 20:01:08 +0200 (MEST) Original-Received: from nas-cbv-5-62-147-145-64.dial.proxad.net (nas-cbv-5-62-147-145-64.dial.proxad.net [62.147.145.64]) by imp1-a.free.fr (IMP) with HTTP for ; Fri, 26 Sep 2003 20:01:07 +0200 Original-To: help-gnu-emacs@gnu.org User-Agent: Internet Messaging Program (IMP) 3.2.1 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:12823 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12823 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!