• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/eshell/

Lines Matching defs:matching

45 ;;   !ls<C-c SPC>  ; expand any matching history input at point
54 ;; C-c M-r ; using current input, find a matching command thus, with
104 "*If non-nil, don't add input matching the last on the input ring.
173 ([(meta ?r)] . eshell-previous-matching-input)
174 ([(meta ?s)] . eshell-next-matching-input)
175 ([(meta ?p)] . eshell-previous-matching-input-from-input)
176 ([(meta ?n)] . eshell-next-matching-input-from-input)
177 ([up] . eshell-previous-matching-input-from-input)
178 ([down] . eshell-next-matching-input-from-input))
189 (defvar eshell-matching-input-from-input-string "")
239 (define-key eshell-mode-map [up] 'eshell-previous-matching-input-from-input)
240 (define-key eshell-mode-map [down] 'eshell-next-matching-input-from-input)
243 (define-key eshell-mode-map [(meta ?r)] 'eshell-previous-matching-input)
244 (define-key eshell-mode-map [(meta ?s)] 'eshell-next-matching-input)
246 'eshell-previous-matching-input-from-input)
248 'eshell-next-matching-input-from-input)
252 'eshell-previous-matching-input-from-input)
254 'eshell-next-matching-input-from-input)
260 'eshell-previous-matching-input-from-input)
262 'eshell-next-matching-input-from-input)))
679 (eshell-previous-matching-input-string-position
788 (eshell-previous-matching-input "." arg))
795 (defun eshell-previous-matching-input-string (regexp arg)
796 "Return the string matching REGEXP ARG places along the input ring.
798 (let* ((pos (eshell-previous-matching-input-string-position regexp arg)))
801 (defun eshell-previous-matching-input-string-position
803 "Return the index matching REGEXP ARG places along the input ring.
831 (defun eshell-previous-matching-input (regexp arg)
836 (interactive (eshell-regexp-arg "Previous input matching (regexp): "))
838 (let ((pos (eshell-previous-matching-input-string-position regexp arg)))
849 (defun eshell-next-matching-input (regexp arg)
854 (interactive (eshell-regexp-arg "Next input matching (regexp): "))
855 (eshell-previous-matching-input regexp (- arg)))
857 (defun eshell-previous-matching-input-from-input (arg)
863 (if (not (memq last-command '(eshell-previous-matching-input-from-input
864 eshell-next-matching-input-from-input)))
866 (setq eshell-matching-input-from-input-string
870 (eshell-previous-matching-input
871 (concat "^" (regexp-quote eshell-matching-input-from-input-string))
874 (defun eshell-next-matching-input-from-input (arg)
880 (eshell-previous-matching-input-from-input (- arg)))