Skip to main content
fix one missing character for formatting
Source Link

This is a bit of a followup on https://emacs.stackexchange.com/a/27680/46612 and cycle through completions while showing completions buffer

I have set the completions format to vertical:

  • start emacs -Q
  • M-x set-variable completions-format vertical

Now when I use find-file:

  • C-x C-f
  • <TAB> <TAB>

I get a directory list sorted vertically.

Click on a completion to select it. In this buffer, type RET to select the completion near point. 6 possible completions: ../ AB ./ B A CC 

but when I use M-<down> to select one of them, the selection still moves horizontally. ie the order of suggestions is

  • ../
  • `ABAB
  • ./
  • B
  • A
  • CC

This seems rather odd and counter-intuitive to me. (with the completions-format left at its default value, the selection still moves horizontally (kind of … the down key always goes right, regardless of setting), but that means suggestions get selected ../, ./, A, AB, B, CC, which I prefer.)

Is there a way to make minibuffer-next-completion (my understanding of what M-<down> calls) respect the original sorting of selections and move vertically with the vertical format?

This is a bit of a followup on https://emacs.stackexchange.com/a/27680/46612 and cycle through completions while showing completions buffer

I have set the completions format to vertical:

  • start emacs -Q
  • M-x set-variable completions-format vertical

Now when I use find-file:

  • C-x C-f
  • <TAB> <TAB>

I get a directory list sorted vertically.

Click on a completion to select it. In this buffer, type RET to select the completion near point. 6 possible completions: ../ AB ./ B A CC 

but when I use M-<down> to select one of them, the selection still moves horizontally. ie the order of suggestions is

  • ../
  • `AB
  • ./
  • B
  • A
  • CC

This seems rather odd and counter-intuitive to me. (with the completions-format left at its default value, the selection still moves horizontally (kind of … the down key always goes right, regardless of setting), but that means suggestions get selected ../, ./, A, AB, B, CC, which I prefer.)

Is there a way to make minibuffer-next-completion (my understanding of what M-<down> calls) respect the original sorting of selections and move vertically with the vertical format?

This is a bit of a followup on https://emacs.stackexchange.com/a/27680/46612 and cycle through completions while showing completions buffer

I have set the completions format to vertical:

  • start emacs -Q
  • M-x set-variable completions-format vertical

Now when I use find-file:

  • C-x C-f
  • <TAB> <TAB>

I get a directory list sorted vertically.

Click on a completion to select it. In this buffer, type RET to select the completion near point. 6 possible completions: ../ AB ./ B A CC 

but when I use M-<down> to select one of them, the selection still moves horizontally. ie the order of suggestions is

  • ../
  • AB
  • ./
  • B
  • A
  • CC

This seems rather odd and counter-intuitive to me. (with the completions-format left at its default value, the selection still moves horizontally (kind of … the down key always goes right, regardless of setting), but that means suggestions get selected ../, ./, A, AB, B, CC, which I prefer.)

Is there a way to make minibuffer-next-completion (my understanding of what M-<down> calls) respect the original sorting of selections and move vertically with the vertical format?

Source Link

make minibuffer-next-completion go downwards when completions format is vertical

This is a bit of a followup on https://emacs.stackexchange.com/a/27680/46612 and cycle through completions while showing completions buffer

I have set the completions format to vertical:

  • start emacs -Q
  • M-x set-variable completions-format vertical

Now when I use find-file:

  • C-x C-f
  • <TAB> <TAB>

I get a directory list sorted vertically.

Click on a completion to select it. In this buffer, type RET to select the completion near point. 6 possible completions: ../ AB ./ B A CC 

but when I use M-<down> to select one of them, the selection still moves horizontally. ie the order of suggestions is

  • ../
  • `AB
  • ./
  • B
  • A
  • CC

This seems rather odd and counter-intuitive to me. (with the completions-format left at its default value, the selection still moves horizontally (kind of … the down key always goes right, regardless of setting), but that means suggestions get selected ../, ./, A, AB, B, CC, which I prefer.)

Is there a way to make minibuffer-next-completion (my understanding of what M-<down> calls) respect the original sorting of selections and move vertically with the vertical format?