Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-12 Thread Brandon W Maister
Yes indeed-- in my eagerness to make my first post to python-dev be well-received I completely forgot about git grep. brandon On Wed, Dec 12, 2012 at 9:20 AM, Xavier Morel wrote: > On 2012-12-12, at 15:12 , Ross Lagerwall wrote: > > > On Wed, Dec 12, 2012 at 01:27:21PM +0200, Petri Lehtinen wro

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-12 Thread Petri Lehtinen
Ross Lagerwall wrote: > On Wed, Dec 12, 2012 at 01:27:21PM +0200, Petri Lehtinen wrote: > > Brandon W Maister wrote: > > > (defconst git-tools-grep-command > > > "git ls-files -z | xargs -0 grep -In %s" > > > "The command used for grepping files using git. See `git-tools-grep'.") > > > > What'

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-12 Thread Xavier Morel
On 2012-12-12, at 15:12 , Ross Lagerwall wrote: > On Wed, Dec 12, 2012 at 01:27:21PM +0200, Petri Lehtinen wrote: >> Brandon W Maister wrote: >>> (defconst git-tools-grep-command >>> "git ls-files -z | xargs -0 grep -In %s" >>> "The command used for grepping files using git. See `git-tools-grep'

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-12 Thread Ross Lagerwall
On Wed, Dec 12, 2012 at 01:27:21PM +0200, Petri Lehtinen wrote: > Brandon W Maister wrote: > > (defconst git-tools-grep-command > > "git ls-files -z | xargs -0 grep -In %s" > > "The command used for grepping files using git. See `git-tools-grep'.") > > What's wrong with git grep? Or "hg grep"

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-12 Thread Petri Lehtinen
Brandon W Maister wrote: > (defconst git-tools-grep-command > "git ls-files -z | xargs -0 grep -In %s" > "The command used for grepping files using git. See `git-tools-grep'.") What's wrong with git grep? ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-10 Thread Barry Warsaw
On Dec 10, 2012, at 03:02 PM, Brandon W Maister wrote: >I also feel weird about adding a copyright to this, but how will other >people feel comfortable using it if I don't? Nice! I've been told that Emacs 23 is probably a minimum requirement because locate-dominating-file is missing in <= Emacs

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-10 Thread Brandon W Maister
> > P.S. Who wants to abuse Jono and Matthew's copyright again and provide a > git version? > Oh, I do! I also feel weird about adding a copyright to this, but how will other people feel comfortable using it if I don't? Also I put it in github, in case people want to fix it: https://github.com/

Re: [Python-Dev] Emacs users: hg-tools-grep

2012-12-09 Thread Georg Brandl
Am 08.12.2012 22:51, schrieb Barry Warsaw: > Hark fellow Emacsers. All you unenlightened heathens can stop reading now. > > A few years ago, my colleague Jono Lange wrote probably the best little chunk > of Emacs lisp ever. `M-x bzr-tools-grep` lets you easily search a Bazaar > repository for a

[Python-Dev] Emacs users: hg-tools-grep

2012-12-08 Thread Barry Warsaw
Hark fellow Emacsers. All you unenlightened heathens can stop reading now. A few years ago, my colleague Jono Lange wrote probably the best little chunk of Emacs lisp ever. `M-x bzr-tools-grep` lets you easily search a Bazaar repository for a case-sensitive string, providing you with a nice *gre