Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1004161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:05:28+00:00 2026-05-16T08:05:28+00:00

This article says that Emacs has redo because you can reverse direction while undoing,

  • 0

This article says that “Emacs has redo because you can reverse direction while undoing, thereby undoing the undo”.

What does this mean? How can a user ‘redo’ with Emacs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:05:29+00:00Added an answer on May 16, 2026 at 8:05 am

    Short version: by undoing the undo. If you undo, and then do a non-editing command such as C-f, then the next undo will undo the undo, resulting in a redo.

    Longer version:

    You can think of undo as operating on a stack of operations. If you perform some command (even a navigation command such as C-f) after a sequence of undo operations, all the undos are pushed on to the operation stack. So the next undo undoes the last command. Suppose you do have an operation sequence that looks like this:

    1. Insert “foo”
    2. Insert “bar”
    3. Insert “I love spam”

    Now, you undo. It undoes the last action, resulting in the following list:

    1. Insert “foo”
    2. Insert “bar”

    If you do something other than undo at this point – say, C-f, the operation stack looks like this:

    1. Insert “foo”
    2. Insert “bar”
    3. Insert “I love spam”
    4. Undo insert “I love spam”

    Now, when you undo, the first thing that is undone is the undo. Resulting in your original stack (and document state):

    1. Insert “foo”
    2. Insert “bar”
    3. Insert “I love spam”

    If you do a modifying command to break the undo sequence, that command is added after the undo and is thus the first thing to be undone afterwards. Suppose you backspaced over “bar” instead of hitting C-f. Then you would have had

    1. Insert “foo”
    2. Insert “bar”
    3. Insert “I love spam”
    4. Undo insert “I love spam”
    5. Delete “bar”

    This adding/re-adding happens ad infinitum. It takes a little getting used to, but it really does give Emacs a highly flexible and powerful undo/redo mechanism.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read this [useful article] that says I can create a library of inline
So I have read this article C# Overloads which says that you can use
I just stumbled on this article on MSDN that says a path can be
This article says: Every prime number can be expressed as 30k±1 , 30k±7 ,
This article on MSDN states that you can use as many try catch blocks
This article says If an object has a finalizer, it is not immediately removed
This article says that you need to use resizable MemoryStreams when working with the
In this article its says that references allow you to reduce the amount of
In this MSDN article , it says that In the .NET Framework version 2.0,
I've been going through this excellent article http://msdn.microsoft.com/en-us/library/ms972976.aspx that says ViewState is not responsible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.