[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42829: save-some-buffers should learn to "just let go"
From: |
Juri Linkov |
Subject: |
bug#42829: save-some-buffers should learn to "just let go" |
Date: |
Thu, 13 Aug 2020 02:39:51 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> C-x s says
>
> Save file ...documentation.txt? (y, n, !, ., q, C-r, d or C-h)
>
> C-h then says
>
> 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.
>
> Problem is: C-r won't "let go of the user".
>
> He can't just visit the buffer (to say undo his changes there.)
> He is still trapped at the prompt. No C-x o won't free him temporarily.
This means that map-y-or-n-p (used by save-some-buffers) should be rewritten
to rely on read-char-from-minibuffer.