[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/iswitchb.el
From: |
Pavel Janík |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/iswitchb.el |
Date: |
Sat, 13 Apr 2002 08:59:56 -0400 |
Index: emacs/lisp/iswitchb.el
diff -c emacs/lisp/iswitchb.el:1.37 emacs/lisp/iswitchb.el:1.38
*** emacs/lisp/iswitchb.el:1.37 Mon Dec 10 15:41:18 2001
--- emacs/lisp/iswitchb.el Sat Apr 13 08:59:56 2002
***************
*** 182,188 ****
;; Using iswitchb for other completion tasks.
! ;; Kin Cho (address@hidden sent the following suggestion to use
;; iswitchb for other completion tasks.
;;
;; (defun my-icompleting-read (prompt choices)
--- 182,188 ----
;; Using iswitchb for other completion tasks.
! ;; Kin Cho (address@hidden) sent the following suggestion to use
;; iswitchb for other completion tasks.
;;
;; (defun my-icompleting-read (prompt choices)
***************
*** 197,202 ****
--- 197,217 ----
;; example:
;; (my-icompleting-read "Which fruit? " '
;; ("apple" "pineapple" "pear" "bananas" "oranges") )
+
+ ;; Kin Cho also suggested the following defun. Once you have a subset of
+ ;; matching buffers matching your current prompt, you can then press
+ ;; e.g. C-o to restrict matching to those buffers and clearing the prompt:
+ ;; (defun iswitchb-exclude-nonmatching()
+ ;; "Make iswitchb work on only the currently matching names."
+ ;; (interactive)
+ ;; (setq iswitchb-buflist iswitchb-matches)
+ ;; (setq iswitchb-rescan t)
+ ;; (delete-minibuffer-contents))
+ ;;
+ ;; (add-hook 'iswitchb-define-mode-map-hook
+ ;; '(lambda () (define-key
+ ;; iswitchb-mode-map "\C-o"
+ ;; 'iswitchb-exclude-nonmatching)))
;; Other lisp packages extend iswitchb behaviour to other tasks. See
;; ido.el (by Kim Storm) and mcomplete.el (Yuji Minejima).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/iswitchb.el,
Pavel Janík <=