In GNU Emacs 22.0.50.34 (i686-pc-linux-gnu, GTK+ Version 2.8.13) of 2006-03-15 on escpc40 X server distributor `The X.Org Foundation', version 11.0.60900000 configured using `configure '--with-gtk''
When running on a terminal the *Completions* buffer isn't scrolled when there are more completions than fit in the window and TAB is hit at an Eshell prompt multiple times. This seems to be because the: (event-matches-key-specifier-p event 'tab) test in pcomplete-show-completions returns nil on a terminal. (Actually, event-matches-key-specifier-p in just an alias for eq in GNU Emacs.) The attached patch fixes this for me, but may not be the best fix. Thanks, Matt
--- pcomplete.el 07 Feb 2006 07:59:09 +0000 1.23 +++ pcomplete.el 17 Mar 2006 08:41:55 +0000 @@ -978,7 +978,9 @@ (set-window-configuration pcomplete-last-window-config) (setq pcomplete-last-window-config nil) (throw 'done nil)) - ((event-matches-key-specifier-p event 'tab) + ((or (event-matches-key-specifier-p event 'tab) + ;; Needed on a terminal + (event-matches-key-specifier-p event 9)) (save-selected-window (select-window (get-buffer-window "*Completions*")) (if (pos-visible-in-window-p (point-max))
_______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug