unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42829: save-some-buffers should learn to "just let go"
@ 2020-08-12 14:44 積丹尼 Dan Jacobson
  2020-08-12 23:39 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-08-12 14:44 UTC (permalink / raw)
  To: 42829

emacs-version "26.3". (maybe fixed already?)

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.

Therefore there needs to be an additional choice:

"v to just visit that file and quit saving the rest of the files if any"





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#42829: save-some-buffers should learn to "just let go"
  2020-08-12 14:44 bug#42829: save-some-buffers should learn to "just let go" 積丹尼 Dan Jacobson
@ 2020-08-12 23:39 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2020-08-12 23:39 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 42829

> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-12 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 14:44 bug#42829: save-some-buffers should learn to "just let go" 積丹尼 Dan Jacobson
2020-08-12 23:39 ` Juri Linkov

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).