unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* save-some-buffers "^R" needs simpler alternative
@ 2006-03-22 20:31 Dan Jacobson
  2006-03-22 23:41 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2006-03-22 20:31 UTC (permalink / raw)


Using save-some-buffers, if the user types "?" (which should be listed
along with C-h), he sees:
^R to display the current buffer;

Which is fact unmentioned recursive edit mode, not just "displaying"!
Furthermore, if that was a gnus draft, he will be in even weirder
states.

I would add an additional choice to just go to that buffer and forget
about continuing save-some-buffers.

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

* Re: save-some-buffers "^R" needs simpler alternative
  2006-03-22 20:31 save-some-buffers "^R" needs simpler alternative Dan Jacobson
@ 2006-03-22 23:41 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2006-03-22 23:41 UTC (permalink / raw)


Dan Jacobson wrote:
> Using save-some-buffers, if the user types "?" (which should be listed
> along with C-h),

Why?  `y', `n', and `q' also have alternative bindings that aren't 
listed.  See the multiple bindings for act, skip, and exit in
query-replace-map (which is used by map-y-or-n-p, which is called by
save-some-buffers).

> he sees:
> ^R to display the current buffer;

Does anyone know whether Emacs 22 displays `^R' or `C-r'?

> Which is fact unmentioned recursive edit mode, not just "displaying"!

Indeed!  perform-replace (which is called by query-replace) displays:

C-r to enter recursive edit (C-M-c to get out again)

Emacs 22 uses save-some-buffers-action-alist, which says "view this
file".  I think "view this file in recursive edit (C-M-c to return)"
would be better.

> Furthermore, if that was a gnus draft, he will be in even weirder
> states.

No comment.

> I would add an additional choice to just go to that buffer and forget
> about continuing save-some-buffers.

`C-r C-M-c' is close, but it restores the original window configuration. :-)

-- 
Kevin Rodgers

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

end of thread, other threads:[~2006-03-22 23:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 20:31 save-some-buffers "^R" needs simpler alternative Dan Jacobson
2006-03-22 23:41 ` Kevin Rodgers

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