unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22539: 25.1.50; C-x o should switch to *Completions*
@ 2016-02-02 21:37 Helmut Eller
  2016-02-03  8:03 ` martin rudalics
  2016-02-03  9:32 ` Andreas Schwab
  0 siblings, 2 replies; 7+ messages in thread
From: Helmut Eller @ 2016-02-02 21:37 UTC (permalink / raw)
  To: 22539

After this

1) start Emacs with: emacs -Q -f find-file
2) press TAB two times so that the *Completions* buffer
   becomes visible
3) press C-x o

the window with the *scratch* buffer is selected.

It would be more convenient if C-x o in step 3 would switch to the
*Completions* buffer.



In GNU Emacs 25.1.50.3 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2016-01-29 built on ix
Repository revision: 487bd7aedf9bbbf0b939b653912253fbeb7d16b9
System Description:	Debian GNU/Linux 8.0 (jessie)

Configured using:
 'configure --with-jpeg=no --with-gif=no --with-tiff=no'

Configured features:
XPM PNG RSVG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix





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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-02 21:37 bug#22539: 25.1.50; C-x o should switch to *Completions* Helmut Eller
@ 2016-02-03  8:03 ` martin rudalics
  2016-02-03  8:24   ` Helmut Eller
  2016-02-03  9:32 ` Andreas Schwab
  1 sibling, 1 reply; 7+ messages in thread
From: martin rudalics @ 2016-02-03  8:03 UTC (permalink / raw)
  To: Helmut Eller, 22539

 > 1) start Emacs with: emacs -Q -f find-file
 > 2) press TAB two times so that the *Completions* buffer
 >     becomes visible
 > 3) press C-x o
 >
 > the window with the *scratch* buffer is selected.
 >
 > It would be more convenient if C-x o in step 3 would switch to the
 > *Completions* buffer.

The basic idea behind C-x o is that it cycles through all live windows
before returning to the initially selected one.  We could, in your
special case, have ‘other-window’ select ‘other-window-for-scrolling’.
But if we do so, we have to face the dilemma that the next C-x o gets us
immediately back to the minibuffer window.  This means that all other
windows would get excluded from repeated invocations of C-x o.

So I'm afraid that I cannot offer a practicable solution for this :-(

martin






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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-03  8:03 ` martin rudalics
@ 2016-02-03  8:24   ` Helmut Eller
  2016-02-03  9:08     ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Helmut Eller @ 2016-02-03  8:24 UTC (permalink / raw)
  To: martin rudalics; +Cc: 22539

On Wed, Feb 03 2016, martin rudalics wrote:

>> 1) start Emacs with: emacs -Q -f find-file
>> 2) press TAB two times so that the *Completions* buffer
>>     becomes visible
>> 3) press C-x o
>>
>> the window with the *scratch* buffer is selected.
>>
>> It would be more convenient if C-x o in step 3 would switch to the
>> *Completions* buffer.
>
> The basic idea behind C-x o is that it cycles through all live windows
> before returning to the initially selected one.  We could, in your
> special case, have ‘other-window’ select ‘other-window-for-scrolling’.
> But if we do so, we have to face the dilemma that the next C-x o gets us
> immediately back to the minibuffer window.  This means that all other
> windows would get excluded from repeated invocations of C-x o.
>
> So I'm afraid that I cannot offer a practicable solution for this :-(

No big deal.  I only noticed this because I had more than two windows
before doing a completion and in that case one has to type C-x o a lot
to to get to the *Completions* window.

A somewhat related question: Is there a command that cycles through the
windows in opposite direction as C-x o does?  I noticed that
<C-iso-lefttab> is not bound by default so I could use that.

Helmut





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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-03  8:24   ` Helmut Eller
@ 2016-02-03  9:08     ` martin rudalics
  2016-02-03  9:14       ` Helmut Eller
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2016-02-03  9:08 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 22539

 > A somewhat related question: Is there a command that cycles through the
 > windows in opposite direction as C-x o does?  I noticed that
 > <C-iso-lefttab> is not bound by default so I could use that.

There is no command that does (other-window -1).  You can obviously type
C-- C-x o to cycle backwards.

martin





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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-03  9:08     ` martin rudalics
@ 2016-02-03  9:14       ` Helmut Eller
  0 siblings, 0 replies; 7+ messages in thread
From: Helmut Eller @ 2016-02-03  9:14 UTC (permalink / raw)
  To: martin rudalics; +Cc: 22539

On Wed, Feb 03 2016, martin rudalics wrote:

>> A somewhat related question: Is there a command that cycles through the
>> windows in opposite direction as C-x o does?  I noticed that
>> <C-iso-lefttab> is not bound by default so I could use that.
>
> There is no command that does (other-window -1).  You can obviously type
> C-- C-x o to cycle backwards.

Aha. Thanks.

Helmut





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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-02 21:37 bug#22539: 25.1.50; C-x o should switch to *Completions* Helmut Eller
  2016-02-03  8:03 ` martin rudalics
@ 2016-02-03  9:32 ` Andreas Schwab
  2016-02-03 10:04   ` Helmut Eller
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2016-02-03  9:32 UTC (permalink / raw)
  To: Helmut Eller; +Cc: 22539

Helmut Eller <eller.helmut@gmail.com> writes:

> After this
>
> 1) start Emacs with: emacs -Q -f find-file
> 2) press TAB two times so that the *Completions* buffer
>    becomes visible
> 3) press C-x o
>
> the window with the *scratch* buffer is selected.
>
> It would be more convenient if C-x o in step 3 would switch to the
> *Completions* buffer.

That's what M-v (switch-to-completions) does.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





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

* bug#22539: 25.1.50; C-x o should switch to *Completions*
  2016-02-03  9:32 ` Andreas Schwab
@ 2016-02-03 10:04   ` Helmut Eller
  0 siblings, 0 replies; 7+ messages in thread
From: Helmut Eller @ 2016-02-03 10:04 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 22539

On Wed, Feb 03 2016, Andreas Schwab wrote:

>> It would be more convenient if C-x o in step 3 would switch to the
>> *Completions* buffer.
>
> That's what M-v (switch-to-completions) does.

Another one I didn't know.  Thanks.

Helmut





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

end of thread, other threads:[~2016-02-03 10:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 21:37 bug#22539: 25.1.50; C-x o should switch to *Completions* Helmut Eller
2016-02-03  8:03 ` martin rudalics
2016-02-03  8:24   ` Helmut Eller
2016-02-03  9:08     ` martin rudalics
2016-02-03  9:14       ` Helmut Eller
2016-02-03  9:32 ` Andreas Schwab
2016-02-03 10:04   ` Helmut Eller

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