![]() "If the ` minibuffer-complete-cycle' option is set, then instead of ( defadvice minibuffer-complete (around cycle ( &optional count) activate compile) "If non-nil, the overlay used to highlight the *Completions* buffer.") (overlay-put overlay 'face 'minibuffer-complete-cycle) "The text property used to identify completions.") ( defvar mcc-completion-end nil point in the *Completions* buffer "If non-nil, the end of the selected completion.") ( defvar mcc-completion-begin nil point in the *Completions* buffer "If non-nil, the beginning of the selected completion.") "Face for highlighting the selected completion in the *Completions* buffer." :group 'minibuffer-complete-cycle) If ` auto', ` minibuffer-complete' selects the first completion immediately." :type '(choice (const t) (const auto) (const nil)) "*If non-nil, ` minibuffer-complete' cycles through the possible completions. ( defcustom minibuffer-complete-cycle nil "Cycle through the *Completions* buffer." :group 'completion) ( require ' custom) defgroup, defcustom, defface Make the slash key settle the curent path component if appropriate. Bind to minibuffer-complete-backward rather than M-TAB. ![]() Fix a bug when the minibuffer is like "~/dir1/~/". Change log : Version 0814 Akinori MUSHA Support for Emacs 24. This extension allows you to see the completion window while cycling, and to cycle backward with. Emacs 24 introduced ` completion-cycle-threshold' which achieves a similar goal. The technique of deleting the minibuffer contents, then (for file name completion) inserting the directory component of the initial input, and then inserting the completion string itself is based on cycle-mini.el (1.03) by Joe Reiss. You can also customize the ` minibuffer-complete-cycle' face, which is used to highlight the selected completion, with `M-x customize-face' or any of the `M-x set-face-' commands. Besides t, the special value ` auto' enables the feature and also causes the first completion to be selected immediately. This feature is enabled by loading this file and setting the ` minibuffer-complete-cycle' option to t with `M-x customize-variable' or `M-x set-variable' it is disabled by unsetting the option (to nil). As before, the window displaying the possible completions is scrolled if necessary. This library advises the ` minibuffer-complete' command so that subsequent invocations instead select each of the possible completions in turn, inserting it into the minibuffer and highlighting it in the *Completions* buffer. ![]() Subsequent invocations of this command cause the window displaying the *Completions* buffer to scroll, if necessary. You should have received a copy of the GNU General Public License along with this program if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Commentary : The ` minibuffer-complete' command, bound by default to TAB in the minibuffer completion keymaps, displays the list of possible completions when no additional characters can be completed. See the GNU General Public License for more details. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Download minibuffer-complete-cycle.el - Cycle through the *Completions* buffer Copyright © 1997,1998,2000,2003,2006 Kevin Rodgers Copyright © 2013 Akinori MUSHA Author: Akinori MUSHA Kevin Rodgers Maintainer: Akinori MUSHA URL: https :///knu/minibuffer-complete-cycle Created: Version: 0814 Keywords: completion X-Original-Version: $Revision: 1.24 $ X-Original-RCS: $Id: minibuffer-complete-cycle.el,v 1.24 5 16:49:03 onc04664 Exp $ This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |