all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* an unknown but finite number of C-g's to get back to top level
@ 2007-11-21  9:40 jidanni
  2007-11-22 23:54 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2007-11-21  9:40 UTC (permalink / raw)
  To: bug-gnu-emacs

I am pleased to find a real bug:
C-\ runs the command toggle-input-method.
By accident, please type C-\ C-\ C-\ C-\ C-\ C-\ C-\
You are prompted for Input method:
You hit C-g, but the prompt just pops back up again.
Unless you realize that you hit several C-\'s and not just one,
you get the impression that emacs is now broken, especially after a
couple more C-g's.

Maybe one C-g should put us back at 'top level', in cases like these.

Or maybe after each C-g, instead of saying "Quit", say "Quit layer 7"
or some count indicator. Yes, that would be better than sometimes
blowing lots of input when going to top-level.




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

* Re: an unknown but finite number of C-g's to get back to top level
  2007-11-21  9:40 an unknown but finite number of C-g's to get back to top level jidanni
@ 2007-11-22 23:54 ` Juri Linkov
  0 siblings, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2007-11-22 23:54 UTC (permalink / raw)
  To: jidanni; +Cc: bug-gnu-emacs

> I am pleased to find a real bug:
> C-\ runs the command toggle-input-method.
> By accident, please type C-\ C-\ C-\ C-\ C-\ C-\ C-\
> You are prompted for Input method:
> You hit C-g, but the prompt just pops back up again.
> Unless you realize that you hit several C-\'s and not just one,
> you get the impression that emacs is now broken, especially after a
> couple more C-g's.
>
> Maybe one C-g should put us back at 'top level', in cases like these.
>
> Or maybe after each C-g, instead of saying "Quit", say "Quit layer 7"
> or some count indicator. Yes, that would be better than sometimes
> blowing lots of input when going to top-level.

Emacs CVS now has a new mode `minibuffer-depth-indicate-mode' that
displays the current minibuffer depth as a string "[#]" at the beginning
of the minibuffer.

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

* Re: an unknown but finite number of C-g's to get back to top level
       [not found] <E1Iv1mf-0003mg-Cs@fencepost.gnu.org>
@ 2007-11-28 19:47 ` jidanni
  0 siblings, 0 replies; 3+ messages in thread
From: jidanni @ 2007-11-28 19:47 UTC (permalink / raw)
  To: bug-gnu-emacs

r> This should make repeated C-\ give an error and stay in the minibuffer.
r> Do you find that behavior good and clear?
r> --- mule-cmds.el	21 Nov 2007 16:21:33 -0500
I trust that you fixed it. Thanks.
JL>Emacs CVS now has a new mode `minibuffer-depth-indicate-mode'
Sounds like it should be on by default so that anytime one gets in
deep (more than 1) water, it shows up. Thanks.




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

end of thread, other threads:[~2007-11-28 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21  9:40 an unknown but finite number of C-g's to get back to top level jidanni
2007-11-22 23:54 ` Juri Linkov
     [not found] <E1Iv1mf-0003mg-Cs@fencepost.gnu.org>
2007-11-28 19:47 ` jidanni

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.