bug#81630: 32.0.50; completions-format 'vertical scrolls the completion window on TAB tapping
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> @@ -1765,7 +1765,11 @@ completion--in-region-1 > (with-selected-window window (scroll-down)))) > ;; Normal tab > (t > - (if (pos-visible-in-window-p (point-max) window) > + (if (pos-visible-in-window-p > + (if (eq completions-format 'vertical) > + (1- (point-max)) ; Vertical format has final newline. > + (point-max)) > + window) > ;; If end is in view, scroll up to the end. > (set-window-start window (point-min) nil) > ;; Else scroll down one screen. Rather than test `completions-format`, we should test if the last char is a LF. === Stefan