unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: larsi@gnus.org
Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org,
	lennart.borgman@gmail.com, jasonr@f2s.com
Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify
Date: Thu, 27 Jan 2022 22:07:46 +0200	[thread overview]
Message-ID: <835yq5djsd.fsf@gnu.org> (raw)
In-Reply-To: <837daldkb5.fsf@gnu.org> (message from Eli Zaretskii on Thu, 27 Jan 2022 21:56:30 +0200)

> Date: Thu, 27 Jan 2022 21:56:30 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com,
>  jasonr@f2s.com
> 
> > > Personally I only see a need for a dialog with 3 buttons. "Close
> > > without saving" "Save All" and "Cancel"
> > >
> > > Anything more complicated and the user can Cancel, resolve the
> > > situation and attempt to exit again.
> > 
> > (I'm going through old bug reports that unfortunately weren't resolved
> > at the time.)
> > 
> > Good idea.  Now done in Emacs 29.
> 
> This now pops the dialog when you click File->Quit immediately after
> entering "emacs -Q".  But there's no buffer that needs saving at that
> point.

Also, if you try this:

  emacs -Q
  C-x C-f /some/non-existent/file RET

then insert some text and click File->Quit, then selecting "Close
without saving" will still pop up an additional dialog asking whether
to exit although modified buffers exist.  But "Close without saving"
was supposed to have already answered that question.





  reply	other threads:[~2022-01-27 20:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 23:05 bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Jason A. Spiro
2009-11-19 23:38 ` Lennart Borgman
2009-11-20  3:59   ` Jason Rumney
2009-11-20  4:31     ` Stefan Monnier
2022-01-27 18:55     ` Lars Ingebrigtsen
2022-01-27 19:56       ` Eli Zaretskii
2022-01-27 20:07         ` Eli Zaretskii [this message]
2022-01-27 21:27         ` Lars Ingebrigtsen
2022-01-28  7:06           ` Eli Zaretskii
2022-01-28 13:52             ` Lars Ingebrigtsen
2009-11-20  9:31 ` Juri Linkov
2009-11-20  9:55 ` Jan Djärv

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=835yq5djsd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=4980@debbugs.gnu.org \
    --cc=jasonr@f2s.com \
    --cc=jasonspiro4@gmail.com \
    --cc=larsi@gnus.org \
    --cc=lennart.borgman@gmail.com \
    /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.
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).