* Difficult to get out the completions window
@ 2006-06-16 21:26 Lennart Borgman
2006-06-16 22:28 ` Nick Roberts
2006-06-17 17:57 ` Richard Stallman
0 siblings, 2 replies; 5+ messages in thread
From: Lennart Borgman @ 2006-06-16 21:26 UTC (permalink / raw)
It is quite difficult to close the completion window once you have
entered it (with M-v for example). I suggest the following behaviour
when focus is in the completion window:
1) On C-g close the completion window and move back to the minibuffer.
This is what happens if you type ESC ESC ESC which runs
delete-completion-window.
2) If the completion window is closed with C-x 0 then move back to the
minibuffer.
BTW nothing is said in the Emacs manual "(emacs) Completion Commands"
about how to get out of the completion window.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Difficult to get out the completions window
2006-06-16 21:26 Difficult to get out the completions window Lennart Borgman
@ 2006-06-16 22:28 ` Nick Roberts
2006-06-16 23:22 ` Lennart Borgman
2006-06-17 17:57 ` Richard Stallman
1 sibling, 1 reply; 5+ messages in thread
From: Nick Roberts @ 2006-06-16 22:28 UTC (permalink / raw)
Cc: Emacs Devel
Lennart Borgman writes:
> It is quite difficult to close the completion window once you have
> entered it (with M-v for example). I suggest the following behaviour
> when focus is in the completion window:
>
> 1) On C-g close the completion window and move back to the minibuffer.
> This is what happens if you type ESC ESC ESC which runs
> delete-completion-window.
>
> 2) If the completion window is closed with C-x 0 then move back to the
> minibuffer.
These are global bindings, I don't think that they should be locally rebound.
> BTW nothing is said in the Emacs manual "(emacs) Completion Commands"
> about how to get out of the completion window.
You need to go back to the minibuffer before typing C-g, but that's the case
for any command which prompts in the minibuffer if you switch windows, even
without completion.
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Difficult to get out the completions window
2006-06-16 22:28 ` Nick Roberts
@ 2006-06-16 23:22 ` Lennart Borgman
2006-06-17 0:09 ` Nick Roberts
0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman @ 2006-06-16 23:22 UTC (permalink / raw)
Cc: Emacs Devel
Nick Roberts wrote:
> Lennart Borgman writes:
> > It is quite difficult to close the completion window once you have
> > entered it (with M-v for example). I suggest the following behaviour
> > when focus is in the completion window:
> >
> > 1) On C-g close the completion window and move back to the minibuffer.
> > This is what happens if you type ESC ESC ESC which runs
> > delete-completion-window.
> >
> > 2) If the completion window is closed with C-x 0 then move back to the
> > minibuffer.
>
> These are global bindings, I don't think that they should be locally rebound.
>
The binding of ESC ESC ESC to delete-completion-window is local here I
suppose. Binding C-x 0 and C-G to delete-completion-window too would not
be to surprising in my opinion, but instead helpful.
> > BTW nothing is said in the Emacs manual "(emacs) Completion Commands"
> > about how to get out of the completion window.
>
> You need to go back to the minibuffer before typing C-g, but that's the case
> for any command which prompts in the minibuffer if you switch windows, even
> without completion.
>
Yes, but how do you do that from the keyboard? (Without using ESC ESC
ESC which is special here, but BTW not mentioned in the manual.)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Difficult to get out the completions window
2006-06-16 23:22 ` Lennart Borgman
@ 2006-06-17 0:09 ` Nick Roberts
0 siblings, 0 replies; 5+ messages in thread
From: Nick Roberts @ 2006-06-17 0:09 UTC (permalink / raw)
Cc: Emacs Devel
> The binding of ESC ESC ESC to delete-completion-window is local here I
> suppose. Binding C-x 0 and C-G to delete-completion-window too would not
> be to surprising in my opinion, but instead helpful.
I've not used ESC ESC ESC but I think normal practice is to create new local
bindings rather than override existing global ones.
> > > BTW nothing is said in the Emacs manual "(emacs) Completion Commands"
> > > about how to get out of the completion window.
> >
> > You need to go back to the minibuffer before typing C-g, but that's the
> > case for any command which prompts in the minibuffer if you switch
> > windows, even without completion.
> >
> Yes, but how do you do that from the keyboard?
`C-x o', which is described in the tutorial.
> (Without using ESC ESC
> ESC which is special here, but BTW not mentioned in the manual.)
I the manual size is a problem then I don't think everything should be
mentioned, and this seems a pretty obscure command.
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Difficult to get out the completions window
2006-06-16 21:26 Difficult to get out the completions window Lennart Borgman
2006-06-16 22:28 ` Nick Roberts
@ 2006-06-17 17:57 ` Richard Stallman
1 sibling, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2006-06-17 17:57 UTC (permalink / raw)
Cc: emacs-devel
1) On C-g close the completion window and move back to the minibuffer.
This is what happens if you type ESC ESC ESC which runs
delete-completion-window.
C-g should not delete windows. That would be too drastic.
2) If the completion window is closed with C-x 0 then move back to the
minibuffer.
It would be ok to have a local command remapping in that buffer.
Does someone want to do it?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-17 17:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 21:26 Difficult to get out the completions window Lennart Borgman
2006-06-16 22:28 ` Nick Roberts
2006-06-16 23:22 ` Lennart Borgman
2006-06-17 0:09 ` Nick Roberts
2006-06-17 17:57 ` Richard Stallman
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.