• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/

Lines Matching +defs:file +defs:regexp

10 ;; This file is part of GNU Emacs.
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
105 ;; If you find that the file you are after is not in a buffer, you can
106 ;; press C-x C-f to immediately drop into find-file.
232 ;; There is provision for regexp matching within iswitchb, enabled
233 ;; through `iswitchb-regexp'. This allows you to type `c$' for
235 ;; mechanism is currently offered when regexp searching.
291 with a space, for which the regexp is `^ '. See the source file for
293 :type '(repeat (choice regexp function))
358 (defcustom iswitchb-regexp nil
359 "*Non-nil means that `iswitchb' will do regexp matching.
360 Value can be toggled within `iswitchb' using `iswitchb-toggle-regexp'."
430 (defface iswitchb-invalid-regexp
433 "Iswitchb face for indicating invalid regexp. "
488 (define-key map "\C-t" 'iswitchb-toggle-regexp)
489 (define-key map "\C-x\C-f" 'iswitchb-find-file)
538 (defvar iswitchb-invalid-regexp)
558 (define-key map "\C-t" 'iswitchb-toggle-regexp)
559 (define-key map "\C-x\C-f" 'iswitchb-find-file)
588 \\[iswitchb-toggle-regexp] Toggle regexp searching.
591 \\[iswitchb-find-file] Exit iswitchb and drop into `find-file'.
597 iswitchb-invalid-regexp
605 (call-interactively 'find-file))
606 (iswitchb-invalid-regexp
607 (message "Won't make invalid regexp named buffer"))
671 ;; that file now and act as though that buffer had been selected.
675 (find-file-noselect (cdr virt))
709 (not iswitchb-regexp) ;; testing
723 (iswitchb-invalid-regexp
754 (defun iswitchb-toggle-regexp ()
755 "Toggle the value of `iswitchb-regexp'."
757 (setq iswitchb-regexp (not iswitchb-regexp))
790 (defun iswitchb-find-file ()
791 "Drop into `find-file' from buffer switching."
907 (iswitchb-get-matched-buffers iswitchb-text iswitchb-regexp
911 (defun iswitchb-get-matched-buffers (regexp
918 (if (null string-format) (setq regexp (regexp-quote regexp)))
919 (setq iswitchb-invalid-regexp nil)
923 (when (and (string-match regexp name)
926 (invalid-regexp
927 (setq iswitchb-invalid-regexp t)
971 (if iswitchb-regexp
973 (regexp-quote subs)))
1285 (if iswitchb-invalid-regexp
1286 'iswitchb-invalid-regexp
1294 ;; the file which the user might thought was still open.
1300 (if (and (setq name (file-name-nondirectory (car head)))
1301 (string-match (if iswitchb-regexp
1303 (regexp-quote iswitchb-text)) name)
1304 (null (get-file-buffer (car head)))
1307 (file-exists-p (car head)))
1325 (iswitchb-invalid-regexp
1329 (if (if (not iswitchb-regexp)