all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 15902-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#15902: 24.3.50; Auto-save file not deleted when quitting Emacs (and saying "don't	save")
Date: Fri, 15 Nov 2013 13:19:54 +0100	[thread overview]
Message-ID: <86r4ah3lhx.fsf@somewhere.org> (raw)
In-Reply-To: <83eh6hj34j.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Fri, 15 Nov 2013 13:50:04 +0200")

Eli Zaretskii wrote:
>> From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
>> Date: Fri, 15 Nov 2013 12:23:38 +0100
>> 
>> If I modify some file, then quit Emacs, I'm reminded that I have an unsaved
>> buffer:
>> 
>>     Modified buffers exist; exit anyway?
>> 
>> I answer "yes".
>> 
>> In a new Emacs session, when opening that same file, Emacs tells me I have to
>> recover it. Quite confusing!?
>> 
>> Cause: the Auto-save file (#file#) hasn't been deleted by Emacs after having
>> explicitly having said: "No, I don't want to keep those modifications to my
>> file, throw them away".
>
> No, you did NOT say that you want to throw away your modifications.
> You just said that you want to exit right away, even though you have
> modifications.  Emacs just makes you a service by keeping them, just
> in case of "oops".

I understand the question "do you want to exit anyway (while you have unsaved
things)" as "be cautious: you'll loose your modifications".

In a way, it's nice that Emacs does keep the file in case of, but what's
annoying is that you can't easily go on with the editing of your file, from
where you left it saved: you (have to) see the message "please recover your
file" (while the file wasn't damaged at the first place), and then decide what
to do.

And, from there, it's possible I'm not aware of the right way, but:

- I don't (always) know how to make the right choice: I see what I have, not
  what I'll get if I "recover" the file

- what I do, if I know I don't want to recover, is go to Dired, delete
  the #file#, kill the buffer containing file, and reopen the file. This time,
  no message, everything's as I expected. I can go on editing my file.

I can be convinced there is no real right or wrong way between the two
behaviors (the current, and the one I was asking for), but I instinctively
consider mine as being closer the what the user expected.

Anyway, if you say that the current way is the correct one, I'll still find
this weird, but you can safely close the bug.

Best regards,
  Seb

-- 
Sebastien Vauban





  parent reply	other threads:[~2013-11-15 12:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 11:23 bug#15902: 24.3.50; Auto-save file not deleted when quitting Emacs (and saying "don't save") Sebastien Vauban
2013-11-15 11:50 ` Eli Zaretskii
     [not found]   ` <83eh6hj34j.fsf-mXXj517/zsQ@public.gmane.org>
2013-11-15 12:19     ` Sebastien Vauban [this message]
2013-11-15 14:05       ` Stefan Monnier
     [not found]         ` <jwvhabd4vev.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2013-11-15 14:26           ` Sebastien Vauban
2013-11-16  1:18             ` Stefan Monnier
     [not found]             ` <mailman.6307.1384564761.10748.bug-gnu-emacs@gnu.org>
2013-11-27 10:27               ` Francesco Pizzolante
2013-11-16 20:15 ` Nicolas Richard
     [not found] ` <mailman.6383.1384633039.10748.bug-gnu-emacs@gnu.org>
2013-11-17 15:17   ` bug#15902: 24.3.50; ?Auto-save file not deleted when quitting Emacs (and saying "don't?save") Alan Mackenzie
2019-08-18 17:45 ` bug#15902: 24.3.50; Auto-save file not deleted when quitting Emacs (and saying "don't save") Stefan Kangas

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

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

  git send-email \
    --in-reply-to=86r4ah3lhx.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=15902-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.