unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#381: save-some-buffers recursive editing entrapment
@ 2008-06-09 23:38 jidanni
  2008-06-10  2:17 ` Stefan Monnier
  2008-06-11  1:50 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2008-06-09 23:38 UTC (permalink / raw)
  To: bug-gnu-emacs

Let's examine the trouble one can get into with
   C-x s runs the command save-some-buffers

   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;
Yeah, that will get one entangled into both recursive editing and view
mode, try it while you are entering the reply for this message.
   d to view changes in this buffer;
Beep: "Buffer *mail* has no associated file on disc" (so don't ask in
this case); plus now we are recursive editing.
   or . (period) to save the current buffer and exit.

Make you a deal: please just add a further choice:
   g go to the current buffer (i.e., that buffer listed)
with no side effects, no marriage vows. Just put us in that buffer and
that's that.

4 out of 5 users won't know how to climb out of recursive editing, now
that there is no message about it, except for brackets in the
modeline. And even if there was a message, it would get overwritten by
the view mode message. And, recursive editing messes up gnus for me.
So my new g proposal will not tangle up the user with recursive editing.







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

* bug#381: save-some-buffers recursive editing entrapment
  2008-06-09 23:38 bug#381: save-some-buffers recursive editing entrapment jidanni
@ 2008-06-10  2:17 ` Stefan Monnier
  2008-06-11  1:50 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-06-10  2:17 UTC (permalink / raw)
  To: jidanni; +Cc: bug-gnu-emacs, 381

> Let's examine the trouble one can get into with
>    C-x s runs the command save-some-buffers

>    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;
> Yeah, that will get one entangled into both recursive editing and view
> mode, try it while you are entering the reply for this message.
>    d to view changes in this buffer;
> Beep: "Buffer *mail* has no associated file on disc" (so don't ask in
> this case); plus now we are recursive editing.
>    or . (period) to save the current buffer and exit.

> Make you a deal: please just add a further choice:
>    g go to the current buffer (i.e., that buffer listed)
> with no side effects, no marriage vows. Just put us in that buffer and
> that's that.

> 4 out of 5 users won't know how to climb out of recursive editing, now
> that there is no message about it, except for brackets in the
> modeline. And even if there was a message, it would get overwritten by
> the view mode message. And, recursive editing messes up gnus for me.
> So my new g proposal will not tangle up the user with recursive editing.

Indeed, the recursive edit is a bit problematic (and the `d' may not
always be applicable).  Thanks.  We'll see what we can do about it.


        Stefan








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

* bug#381: save-some-buffers recursive editing entrapment
  2008-06-09 23:38 bug#381: save-some-buffers recursive editing entrapment jidanni
  2008-06-10  2:17 ` Stefan Monnier
@ 2008-06-11  1:50 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-06-11  1:50 UTC (permalink / raw)
  To: 381

>    C-r to view this buffer;
> Yeah, that will get one entangled into both recursive editing and view
> mode, try it while you are entering the reply for this message.

I've changed it so that recursive-edit is only used if you've set
enable-recursive-minibuffers.  Otherwise, the buffer is displayed and
you have to use scroll-other-window to navigate through it.

>    d to view changes in this buffer;
> Beep: "Buffer *mail* has no associated file on disc" (so don't ask in
> this case); plus now we are recursive editing.

Same here.  It still offers the option for non-file buffers, tho.


        Stefan






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

end of thread, other threads:[~2008-06-11  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09 23:38 bug#381: save-some-buffers recursive editing entrapment jidanni
2008-06-10  2:17 ` Stefan Monnier
2008-06-11  1:50 ` Stefan Monnier

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