Coder Social home page Coder Social logo

full-ack's People

Contributors

andialbrecht avatar nschum avatar oylenshpeegul avatar tekai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

full-ack's Issues

ack-create-marker calls ack-visible-distance with nil returned from previous-single-property-change

None of my ack searches appear to be working . Turning on debug-on-error show the error posted below. (I'm assuming entering "nginx" without the quotation marks should return anything referencing nginx and that there isn't any weird emacs regex code being used.)

This occurs when setting directory explicitly and when letting ack guess. I'm running Emacs 23.1.50 on OS X.

  Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  get-text-property(nil invisible)
  (if (get-text-property beg (quote invisible)) (progn (setq beg ...)))
  (when (get-text-property beg (quote invisible)) (setq beg (next-single-property-change beg ...)))
  (let ((offset 0) next) (when (get-text-property beg ...) (setq beg ...)) (while (and beg ...) (if ... ... ...)) offset)
  ack-visible-distance(nil 80)
  (let ((file ...) (line ...) (offset ...) buffer) (if force (or ... ...) (and file line ...)) (when buffer (with-current-buffer buffer ...)))
  ack-create-marker(80 85)
  (cons (ack-create-marker (match-beginning 2) (match-end 2)) (quote (ack-match t mouse-face highlight follow-link t)))
  (cons (quote ack-marker) (cons (ack-create-marker ... ...) (quote ...)))
  (cons (quote ack-match) (cons (quote ack-marker) (cons ... ...)))
  (cons (quote face) (cons (quote ack-match) (cons ... ...)))

Don't include color codes in buffer

When I try to copy filenames from the results buffer, the color codes are at least partially still there, so I end up with lines such as:

[0m
�[1;33m

Since (I think) these are all replaced by overlays, could the raw codes be removed?

problems with aquamacs

On Aquamacs 2.2, I get

With full-ack 2.1 :
error in process filter: ack-visible-distance: Wrong type argument: number-or-marker-p, nil
error in process filter: Wrong type argument: number-or-marker-p, nil
finished with 0 matches

With full-ack 2.2 :

error in process filter: if: Args out of range: 0, 0
error in process filter: Args out of range: 0, 0
Ack finished with 0 matches

Context cannot be set to 0

When ack gets the option --context, it correctly identifies that no argument was given, and defaults to 2. However, when it gets the option --context=0, it cannot see that it was not given, because Perl considers the value 0 to be falseish.

The same problem occurs in full-ack.el. I've fixed it in my local copy, but I'm useless at git, so I have my .emacs checked into svn. Hopefully this diff is helpful, nonetheless:

--- full-ack.el       (revision 1084)
+++ full-ack.el       (working copy)
@@ -364,7 +364,8 @@
       (push "-i" arguments))
     (unless regexp
       (push "--literal" arguments))
-    (push (format "--context=%d" ack-context) arguments)
+    (when (not (eq ack-context 0))
+      (push (format "--context=%d" ack-context) arguments))
     arguments))

 (defun ack-run (directory regexp &rest arguments)

Getting nowhere with Windows 7

I'm a happy full-ack user at home with OS X, but at work I have to use Windows.

I have ack.pl (1.96) in c:\bin which is in my path. I have full-ack (0.2.3) installed in GNU Emacs 23.3.1.

When I run full-ack (M-x ack) I get an ack buffer but nothing else.

Next release?

Hi,

I would like to package full-ack for Gentoo.

Could you please tag a new release? The latest one seems to be a bit outdated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.