unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: REDO ?
@ 2007-04-23  9:44 A Soare
  2007-04-23 15:38 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: A Soare @ 2007-04-23  9:44 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs   Dev  [emacs-devel]

> 
> > What do you think about inserting a redo command for the next version ? (23)
> > For me it could be very useful.
> 
> Yes, it's pretty much on my todo list.  Note that we already have "redo",
> just not as a command.  The current way to do "redo" is to use the command
> "undo".  The only difference is that if the last modification was not an
> "undo" the undo command will not fail (as "redo" would) but will simply undo
> instead.  Also if the last command was an "undo", the undo command will keep
> undoing instead of doing a "redo" (i.e. undoing the last undo).
> 

Logically in this moment the redo should be done by a negative
argument. But:

a
b
c

C-/ => Undo!

a
b


Now it should be possible to apply a redo.

M-- M-1 C-/ => Undo!

But the text did not change to

a
b
c
.



> > Also, every time when we press undo or redo, to see (optionally) in the
> > minibuffer the current change in yank kill, and the previous, and
> > the next.
> 
> I do not understand.

This would be good if it possible to implement it. I meant to see
in the minibuffer after applying an undo or a redo the text after
applying next an undo and the text after applying next a redo...

Alin Soare.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: REDO ?
@ 2007-04-24  9:28 A Soare
  2007-04-24 13:32 ` Drew Adams
  0 siblings, 1 reply; 20+ messages in thread
From: A Soare @ 2007-04-24  9:28 UTC (permalink / raw)
  To: rms; +Cc: Emacs   Dev  [emacs-devel]

>     This would be good if it possible to implement it. I meant to see
>     in the minibuffer after applying an undo or a redo the text after
>     applying next an undo and the text after applying next a redo...

I will occupy myself of the problem to write a patch after the release so:

1 -> C-u as parameter to UNDO command will reverse the direction from undo to redo or from redo to undo.
2 -> The current undo/redo will be inserted in the buffer with WHITE.
3 -> The previous UNDO/REDO will be inserted with RED.
4 -> And the next UNDO/REDO will be inserted with BLUE.
5 -> When WHITE and BLUE text will be superposed it will be shown in BLUE CIEL, WHITE+RED in LIGHT RED , etcetera.
6 -> pressing another key than the key associated with UNDO will keep permanent the WHITE text and will take out the RED and BLUE text.

Alin Soare.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: REDO ?
@ 2007-04-23 15:46 A Soare
  2007-04-23 17:09 ` David Reitter
  0 siblings, 1 reply; 20+ messages in thread
From: A Soare @ 2007-04-23 15:46 UTC (permalink / raw)
  To: rms; +Cc: Emacs   Dev  [emacs-devel]

> I think it is a bad idea to have a separate redo command,
> simply because there is no room on the keyboard for a
> convenient one, and an inconvenient one won't do much good.
> 

Not different. Just the same, but to be possible to reverse the direction of the yank (using a parameter for example), even from the beginning of the action, not to be obliged first to apply an undo, etcetera.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* REDO ?
@ 2007-04-21 19:54 A Soare
  2007-04-23  1:57 ` Stefan Monnier
  0 siblings, 1 reply; 20+ messages in thread
From: A Soare @ 2007-04-21 19:54 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

What do you think aboubt inserting a redo command for the next version ? (23)

For me it could be very useful.

Also,  every time when we press undo or redo, to see (optionally) in the minibuffer the current change in yank kill, and the previous, and the next.


What do you think?

Alin Soare.

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

end of thread, other threads:[~2007-04-25  2:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23  9:44 REDO ? A Soare
2007-04-23 15:38 ` Stefan Monnier
2007-04-23 23:08 ` Richard Stallman
2007-04-23 23:54   ` Davis Herring
2007-04-23 23:08 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-04-24  9:28 A Soare
2007-04-24 13:32 ` Drew Adams
2007-04-23 15:46 A Soare
2007-04-23 17:09 ` David Reitter
2007-04-23 18:01   ` Stefan Monnier
2007-04-23 20:01     ` Ken Manheimer
2007-04-23 20:16       ` Davis Herring
2007-04-24 16:03   ` Richard Stallman
2007-04-24 16:21     ` David Reitter
2007-04-25  2:04       ` Richard Stallman
2007-04-21 19:54 A Soare
2007-04-23  1:57 ` Stefan Monnier
2007-04-23 14:21   ` Richard Stallman
2007-04-23 14:30     ` David Kastrup
2007-04-24 16:03       ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).