Lines Matching +defs:tar +defs:mode
421 (defun eshell-shorthand-tar-command (command args)
422 "Rewrite `cp -v dir a.tar.gz' to `tar cvzf a.tar.gz dir'."
424 (tar-args
430 (setq tar-args (concat "u" tar-args))
431 (setq tar-args (concat "c" tar-args)))
433 (setq tar-args (concat "v" tar-args)))
435 (setq tar-args (concat "--remove-files -" tar-args)))
440 (format "tar %s %s" tar-args archive) args))))
453 (string-match eshell-tar-regexp (car (last args)))
458 (eshell-shorthand-tar-command ,command args)
619 ;; special front-end functions for compilation-mode buffers
636 (defun eshell-occur-mode-goto-occurrence ()
639 (let ((pos (occur-mode-find-occurrence)))
643 (defun eshell-occur-mode-mouse-goto (event)
644 "In Occur mode, go to the occurrence whose line you click on."
651 (setq pos (occur-mode-find-occurrence))))
666 (occur-mode)
687 (local-set-key [mouse-2] 'eshell-occur-mode-mouse-goto)
689 'eshell-occur-mode-goto-occurrence)
691 'eshell-occur-mode-goto-occurrence)
692 (local-set-key [return] 'eshell-occur-mode-goto-occurrence)
970 (when (fboundp 'diff-mode)
976 (diff-mode)