unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sergey Organov <sorganov@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to revert buffer from "Save file?" prompt?
Date: Tue, 08 Jun 2021 20:56:50 +0300	[thread overview]
Message-ID: <87h7i8b5p9.fsf@osv.gnss.ru> (raw)
In-Reply-To: <m2r1hcl5gi.fsf@athena.moeding.net> ("Stefan Möding"'s message of "Tue, 08 Jun 2021 17:51:57 +0200")

Stefan Möding <s.moeding@gmail.com> writes:

> Sergey Organov <sorganov@gmail.com> writes:
>
>> Yes, and that's exactly the problem. It will ask me again and again
>> every time I compile. Annoying as hell.
>
> Is the problem about trying to compile a file visited in one buffer and
> being asked about changed files in some other buffers?

Not exactly, compile is just an indicator of a usability problem, and it
asks about changes in some (other) buffers, yes.

>
> Maybe setting the variable `compilation-ask-about-save' to nil will help
> to stop `compile' from asking every time.

No, this is not an option, I do want to be asked about unsaved changes,
I just want not only to be able to save them, but discard them as well.

Thanks,
-- Sergey Organov



  reply	other threads:[~2021-06-08 17:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07 14:24 How to revert buffer from "Save file?" prompt? Sergey Organov
2021-06-07 14:28 ` Eli Zaretskii
2021-06-08 15:18   ` Sergey Organov
2021-06-08 15:41     ` Eli Zaretskii
2021-06-08 17:15       ` Sergey Organov
2021-06-10 17:14       ` Sergey Organov
2021-06-08 15:51     ` Stefan Möding
2021-06-08 17:56       ` Sergey Organov [this message]
2021-06-07 15:23 ` Óscar Fuentes
2021-06-07 15:42   ` Sergey Organov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7i8b5p9.fsf@osv.gnss.ru \
    --to=sorganov@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).