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 7772399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:52:53+00:00 2026-06-01T16:52:53+00:00

Must be stupid question but for some time using Emacs I have no idea

  • 0

Must be stupid question but for some time using Emacs I have no idea how can I to not apply my changes…

When I quit C x C c it tells me :

  • Type SPC or `y’ to save the current buffer;
  • DEL or `n’ to skip the current buffer;
  • RET or `q’ to give up on the save (skip all remaining buffers);
  • C-g to quit (cancel the whole command);
  • ! to save all remaining buffers;
  • C-r to view this buffer;
  • d to view changes in this buffer;
  • or . (period) to save the current buffer and exit.

So here is some chances to not save changes : n or q but there is always saving buffer of current stage 🙁

I mean for example when I break some file by adding random text there and I don’t want to save changes I want to start edit next time not-saved (not broken) file but Emacs is always opening saved buffer 🙁 How to solve it?

  • 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-06-01T16:52:55+00:00Added an answer on June 1, 2026 at 4:52 pm

    Your phrasing of the question is very confusing. I think you want to add
    revert to the list of options offered? This code adds , for revert
    and % to mark buffer as not modified:

    (when (boundp 'save-some-buffers-action-alist)
      (setq save-some-buffers-action-alist
            (cons
             (list
              ?%
              #'(lambda (buf)
                  (with-current-buffer buf
                    (set-buffer-modified-p nil))
                  nil)
              "mark buffer unmodified.")
             (cons
              (list
               ?, 
               #'(lambda (buf)
                   (with-current-buffer buf
                     (revert-buffer t))
                   nil)
               "revert buffer.")
              save-some-buffers-action-alist))))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I feel stupid asking this question, but I can not find a clear answer
This must be a very stupid newbie question, but I have spent my whole
This must be a very stupid question, but I just can't get it to
This must be a stupid question, but nevertheless I find it curious: Say I
This must be a very stupid question, but how does one recode with Xuggler?
I'm really sorry. This must seem like an incredibly stupid question, but unless I
OK, this is going to be a stupid question but anyway I have nowhere
This must be a really stupid question, but I'm still very green when it
this is a really stupid question but I have a deadline and I'm very
This might be a very stupid question, but I have to ask it anyway.

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.