all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "undo" really can replace "redo"
@ 2004-02-23  5:21 niDapeng
  2004-02-23  5:43 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: niDapeng @ 2004-02-23  5:21 UTC (permalink / raw)


I know Emacs use "killing-ring" concept to cicle undo, and 'redo' operation is implicitly done under this cicle. But, is it really good way? 
When I set killing-ring size enough large, the "redo" is turing very boring when I miss the correct position of ring. 
For instance, if my current killing-ring size is 200, I try to undo last the 40th step operation, but, unfortunately, I undo 41 times. At this case, I have 2 choices, one is keep undoing until the cycle is back(so boring, and I have to very careful to prevent next mistake). Another way, is I manually to mend the 41th operation(maybe type some text again). 

Hi, Emacs gurus, my "redo" concept is correctly? I have to be familiar such operation? Certainly, I know there is redo.el available for this. But why emacs doesn't take "redo" as default package?


Thanks
Dapeng



----------------------------------------------
ÍæÓÎÏ·Ó®ÊýÂëÏà»ú¡¢MP3¡¢UÅÌ 
http://mail.21cn.com/huodong/0310/ 
ÖÐÃÀÈÕº«¸ßÖÐÉúÐÔµ÷²é:ÈÕÅ®ÉúÐÔ¹ÛÄî×·Å 
http://news.21cn.com/huahua/ 
¹ã¶«ADSLÓû§ÓÐ×ÅÊý£¬21CNÉÌÎñÓÊÃâ·ÑÁì 
http://mail.21cn.com/vip 
Ï£À°Ç°×ÜÀíÓëÃÀÑÞ¿Õ½ãÄÖ³öÌÒÉ«ÐÔ³óÎÅ(ͼ) 
http://news.21cn.com/social/ 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "undo" really can replace "redo"
  2004-02-23  5:21 "undo" really can replace "redo" niDapeng
@ 2004-02-23  5:43 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2004-02-23  5:43 UTC (permalink / raw)


> Date: Mon, 23 Feb 2004 13:21:36 +0800 (CST)
> From: "niDapeng"<steveneo@21cn.com>
> 
> I know Emacs use "killing-ring" concept to cicle undo, and 'redo' operation is implicitly done under this cicle.

No, Emacs has a special "M-x undo" command (bound to "C-x u" and "C-_").

> For instance, if my current killing-ring size is 200, I try to undo last the 40th step operation, but, unfortunately, I undo 41 times. At this case, I have 2 choices, one is keep undoing until the cycle is back(so boring, and I have to very careful to prevent next mistake). Another way, is I manually to mend the 41th operation(maybe type some text again). 

Try "Edit->Select and Paste" from the menu bar, it gives you random
access to the kill ring.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "undo" really can replace "redo"
       [not found] <mailman.310.1077513862.340.help-gnu-emacs@gnu.org>
@ 2004-02-24 16:57 ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2004-02-24 16:57 UTC (permalink / raw)


> For instance, if my current killing-ring size is 200, I try to undo last
> the 40th step operation, but, unfortunately, I undo 41 times. At this
> case, I have 2 choices, one is keep undoing until the cycle is back(so
> boring, and I have to very careful to prevent next mistake). Another way,
> is I manually to mend the 41th operation(maybe type some text again). 

No, you just need to stop the undo sequence and start it again:
I.e. do C-f (or any other non-undo command) to stop the undo sequence,
and then do undo again: it will undo your recent undos (i.e. it will redo).


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-24 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  5:21 "undo" really can replace "redo" niDapeng
2004-02-23  5:43 ` Eli Zaretskii
     [not found] <mailman.310.1077513862.340.help-gnu-emacs@gnu.org>
2004-02-24 16:57 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.