From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: undoing... Date: Tue, 10 Apr 2007 21:00:30 +0200 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <87tzvo5a29.fsf@baldur.tsdh.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1176261017 28626 80.91.229.12 (11 Apr 2007 03:10:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 03:10:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 05:09:50 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HbM8h-0001pl-BJ for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 21:36:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbMCe-0007vg-Rv for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 15:40:32 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!syros.belnet.be!news.belnet.be!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: dslb-084-063-070-151.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1176231631 27189 84.63.70.151 (10 Apr 2007 19:00:31 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Tue, 10 Apr 2007 19:00:31 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWVlFmseNrkqmgzeif v9JYdoX7Ctb5AAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABqUlE QVQ4y8WTy3KkMAxFVQT2Iz/2QOAD3CZ7jNV7YNr//ysjmWcqlUWyGVU11dzjK9myAPwm4P8A963D /TCV06dDeURzkQug8fFm8OYAIT5afRI/DAfQNbzcvhnn/Ud1gD/wTl7rvFHvNc7Fo2GgFJTRe8dA ay/gCV121NAZJto50TlhB0VgQFD4QCwNTMWAZgRCUCOUaMTCMGYHjvBihwC2xYmIoh+It2BZgozR Qo6K6he3oc1g5oTYjRsp4c1ha6BgwG8BSUCZH4SkoApgZigbnEaRBG+rignUDNUQROLiBCwh8dpJ istayMcfQDgrXEN9wB47kM3BwsXNDfjjv7SEi3wBuVfY7UQ6xQeRoNzdhiZeThugh5x/A9gEosHn 3ub+xtCc40OH6ocg8jVXelssj8+TKO+G73a/kRtgk0ySzMk9VYwhSEKDcvcXCFPgIW1aZVYey3AB 3fZpSctqU/FMf68a5rkWfaqWNbV1vya6QN83tWVPpeq6mpcTPNaEKfVpndXcV+kCtufsaeYsrKa0 niDZVi02Wf6lpb05cthffufLTxyfi/wD4S56Bxo/ZasAAAAmelRYdENvbW1lbnQAAHjacy5KTSxJ TVEozyzJUAjJSFVw9/QNAABS5wcjkMtlcAAAABp6VFh0SlBFRy1Db2xvcnNwYWNlAAB42jMCAAAz ADMRFn5jAAAAJ3pUWHRKUEVHLVNhbXBsaW5nLWZhY3RvcnMAAHjaM6ow0jGsMARhABGDAulkDxti AAAAAElFTkSuQmCC User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) Cancel-Lock: sha1:gqJd5NWLy+VChpAMcP111LXmpsY= Original-Xref: shelby.stanford.edu gnu.emacs.help:146967 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:42572 Archived-At: Alberto Simões writes: Hi Alberto, > To undo anything in emacs, I type C-x u. If I want to undo a lot of > things, I type C-x u C-x u C-x u C-x u. Probably I can use the count > modifier, but that is just useful when you know how many steps you > want to undo. Isn't there any easier way? ,----[ C-h k C-x u ] | C-x u runs the command advertised-undo | which is an alias for `undo' in `simple.el'. | It is bound to C-x u. | (advertised-undo &optional ARG) | | Undo some previous changes. | Repeat this command to undo more changes. | A numeric argument serves as a repeat count. | | In Transient Mark mode when the mark is active, only undo changes | within the current region. Similarly, when not in Transient Mark | mode, just C-u as an argument limits undo to changes within the | current region. `---- ,----[ C-h k C-_ ] | C-_ runs the command undo | which is an interactive compiled Lisp function in `simple.el'. | It is bound to C-_, , C-/, . | (undo &optional ARG) | | Undo some previous changes. | Repeat this command to undo more changes. | A numeric argument serves as a repeat count. | | In Transient Mark mode when the mark is active, only undo changes | within the current region. Similarly, when not in Transient Mark | mode, just C-u as an argument limits undo to changes within the | current region. `---- You see, you can use C-_ as well, wich is moch more convenient to type. Bye, Tassilo -- People sometimes ask me if it is a sin in the Church of Emacs to use vi. Using a free version of vi is not a sin; it is a penance. So happy hacking. (Richard M. Stallman)