X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/8ab66eda091149415e46c9b04e3956c47041ae35..a7cbd1d6035d48ac0f739d77fdb51c9b463d72f5:/packages/ack/README.rst diff --git a/packages/ack/README.rst b/packages/ack/README.rst index 24d041327..f70234035 100644 --- a/packages/ack/README.rst +++ b/packages/ack/README.rst @@ -1,7 +1,7 @@ ========================================== Emacs Interface to command-line tool ack ========================================== - + From http://betterthangrep.com/ ack is a tool like grep, designed for programmers with large trees @@ -10,6 +10,8 @@ From http://betterthangrep.com/ ack is written purely in Perl, and takes advantage of the power of Perl's regular expressions. +This package is part of `GNU ELPA `_. + Feature requests and bug reports are welcome. Thanks. Features @@ -18,11 +20,19 @@ Features - Neither ``--nogroup`` nor ``--noheading`` is required - Handle colors using the standard library ``ansi-color.el`` - Completion for ack options while reading from the minibuffer +- Support ``git grep``, ``hg grep`` and ``bzr grep`` - Support both emacs 23 and 24 Screenshots ----------- +.. figure:: http://i.imgur.com/mrk8k.png + :width: 400 px + :target: http://i.imgur.com/mrk8k.png + :alt: ack-git-grep.png + + ``git --no-pager grep -n --color 'hg grep'`` + .. figure:: http://i.imgur.com/a72Ap.png :width: 400 px :target: http://i.imgur.com/a72Ap.png @@ -48,8 +58,8 @@ or:: (autoload 'ack "ack" nil t) -Completion -~~~~~~~~~~ +Completion (optional) +~~~~~~~~~~~~~~~~~~~~~ Place ``pcmpl-ack.el`` in the ``load-path`` and add:: @@ -70,8 +80,14 @@ While reading ack command and args from the minibuffer, the following key bindings may be useful: - ``M-I`` => insert a template for case-insensitive file name search +- ``M-G`` => insert a template for ``git grep``, ``hg grep`` or ``bzr grep`` - ``TAB`` => completion for ack options +Bugs +---- + +https://github.com/leoliu/ack-el/issues + Contributors ------------ Phillip Lord