ack-and-a-half.el provides a simple compilation mode for the perl grep-a-like ack (http://petdance.com/ack/).
Add the following to your .emacs:
(add-to-list 'load-path "/path/to/ack-and-a-half") (autoload 'ack-and-a-half-same "ack-and-a-half" nil t) (autoload 'ack-and-a-half "ack-and-a-half" nil t) (autoload 'ack-and-a-half-find-file-same "ack-and-a-half" nil t) (autoload 'ack-and-a-half-find-file "ack-and-a-half" nil t) ;; Create shorter aliases (defalias 'ack 'ack-and-a-half) (defalias 'ack-same 'ack-and-a-half-same) (defalias 'ack-find-file 'ack-and-a-half-find-file) (defalias 'ack-find-file-same 'ack-and-a-half-find-file-same)
This will load the
ack-and-a-half functions, and create shorter
aliases for them.
Many thanks to the following people for their contributions:
- Gleb Peregud
- Kim van Wyk
- Ronaldo M. Ferraz