emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ELPA-diffs] /srv/bzr/emacs/elpa r391: * ack: doc fix and release 1.01


From: Leo Liu
Subject: [ELPA-diffs] /srv/bzr/emacs/elpa r391: * ack: doc fix and release 1.01
Date: Sun, 21 Apr 2013 10:11:20 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 391
committer: Leo Liu <address@hidden>
branch nick: elpa
timestamp: Sun 2013-04-21 10:11:20 +0800
message:
  * ack: doc fix and release 1.01
  
  Support the silver search (ag)
  https://github.com/ggreer/the_silver_searcher which is an order of
  magnitude faster than ack.
modified:
  packages/ack/README
  packages/ack/ack-pkg.el
  packages/ack/ack.el
  packages/ack/pcmpl-ack.el
=== modified file 'packages/ack/README'
--- a/packages/ack/README       2013-01-12 17:47:50 +0000
+++ b/packages/ack/README       2013-04-21 02:11:20 +0000
@@ -1,9 +1,11 @@
-This package provides an Emacs interface to the command-line tool ack.
+This package provides an interface to ack http://beyondgrep.com -- a
+tool like grep, designed for programmers with large trees of
+heterogeneous source code. It builds on standard packages `compile.el'
+and `ansi-color.el' and lets you seamlessly run `ack' with its large
+set of options.
 
-From <http://betterthangrep.com/>: ack is a tool like grep, designed
-for programmers with large trees of heterogeneous source code.  ack is
-written purely in Perl, and takes advantage of the power of Perl's
-regular expressions.
+Ack-like tools such as the silver search (ag) and git/hg/bzr grep are
+well supported too.
 
 Usage:
 Type `M-x ack' and provide a pattern to search.
@@ -23,9 +25,8 @@
 Coloring is performed using the standard library ansi-color.el.
 
 Screenshots:
-http://i.imgur.com/mrk8k.png
-http://i.imgur.com/a72Ap.png
-http://i.imgur.com/U2vFz.png
+http://i.imgur.com/VwWyzAe.png
+http://i.imgur.com/rwjC4pa.png
 
 Bugs:
 https://github.com/leoliu/ack-el/issues

=== modified file 'packages/ack/ack-pkg.el'
--- a/packages/ack/ack-pkg.el   2013-04-20 03:43:51 +0000
+++ b/packages/ack/ack-pkg.el   2013-04-21 02:11:20 +0000
@@ -1,1 +1,1 @@
-(define-package "ack" "1.0" "Interface to ack, a source code search tool")
+(define-package "ack" "1.01" "Interface to ack-like source code search tools")

=== modified file 'packages/ack/ack.el'
--- a/packages/ack/ack.el       2013-04-20 03:43:51 +0000
+++ b/packages/ack/ack.el       2013-04-21 02:11:20 +0000
@@ -1,9 +1,9 @@
-;;; ack.el --- interface to ack            -*- lexical-binding: t; -*-
+;;; ack.el --- interface to ack-like tools   -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 2012-2013  Free Software Foundation, Inc.
 
 ;; Author: Leo Liu <address@hidden>
-;; Version: 1.0
+;; Version: 1.01
 ;; Keywords: tools, processes, convenience
 ;; Created: 2012-03-24
 ;; URL: https://github.com/leoliu/ack-el
@@ -23,11 +23,14 @@
 
 ;;; Commentary:
 
-;; This package provides an interface to ack http://betterthangrep.com
-;; -- a tool like grep, designed for programmers with large trees of
+;; This package provides an interface to ack http://beyondgrep.com --
+;; a tool like grep, designed for programmers with large trees of
 ;; heterogeneous source code. It builds on standard packages
-;; `compile.el' and `ansi-color.el' and let you seamlessly run `ack'
+;; `compile.el' and `ansi-color.el' and lets you seamlessly run `ack'
 ;; with its large set of options.
+;;
+;; Ack-like tools such as the silver search (ag) and git/hg/bzr grep
+;; are well supported too.
 
 ;;; Usage:
 
@@ -75,13 +78,15 @@
   ;; Note: on GNU/Linux ack may be renamed to ack-grep
   (concat (file-name-nondirectory (or (executable-find "ack-grep")
                                       (executable-find "ack")
+                                      (executable-find "ag")
                                       "ack")) " ")
-  "The default ack command for \\[ack].
+  "The default command for \\[ack].
 
 Note also options to ack can be specified in ACK_OPTIONS
-environment variable and ~/.ackrc, which you can disable by the
+environment variable and .ackrc, which you can disable by the
 --noenv switch."
   :type 'string
+  :safe 'stringp
   :group 'ack)
 
 (defcustom ack-buffer-name-function nil
@@ -260,7 +265,9 @@
   (interactive)
   (delete-minibuffer-contents)
   (let ((ack (or (car (split-string ack-command nil t)) "ack")))
-    (skeleton-insert `(nil ,ack " -g '(?i:" _ ")'"))))
+    (if (equal ack "ag")
+        (skeleton-insert `(nil ,ack " -ig '" _ "'"))
+      (skeleton-insert `(nil ,ack " -g '(?i:" _ ")'")))))
 
 ;; Work around bug http://debbugs.gnu.org/13811
 (defvar ack--project-root nil)          ; dynamically bound in `ack'

=== modified file 'packages/ack/pcmpl-ack.el'
--- a/packages/ack/pcmpl-ack.el 2013-04-20 03:43:51 +0000
+++ b/packages/ack/pcmpl-ack.el 2013-04-21 02:11:20 +0000
@@ -23,7 +23,7 @@
 ;;; Commentary:
 
 ;; Provide pcompletion support for the cli tool `ack' which can be
-;; downloaded from http://betterthangrep.com.
+;; downloaded from http://beyondgrep.com.
 ;;
 ;; Install:
 ;;   (autoload 'pcomplete/ack "pcmpl-ack")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]