Re: [O] v3, with support for narrowing

2011-05-15 Thread Simon Guest
At Sat, 14 May 2011 15:48:10 -0700, Samuel Wales wrote: > What I meant was, if desired you can make the call to the word count > function be (funcall variable) to allow substitution of that function. > > (Actually I'm finding that using w3m to count exact words is pretty fast.) Hi Samuel, OK, I

Re: [O] v3, with support for narrowing

2011-05-14 Thread Samuel Wales
Hi Simon, On 2011-04-28, Simon Guest wrote: > I'm not that interested in higher fidelity counting. I'm especially > interested in speed. What I meant was, if desired you can make the call to the word count function be (funcall variable) to allow substitution of that function. (Actually I'm fin

Re: [O] v3, with support for narrowing

2011-04-29 Thread Simon Guest
At Fri, 29 Apr 2011 10:56:51 -0400, Nick Dokos wrote: > Indeed: it would require a bit of refactoring of Simon's code to provide the > function(s) to apply to each entry, and changes to the top level functions to > use the mapping API instead of looping explicitly. That sounds like a good idea. I

Re: [O] v3, with support for narrowing

2011-04-29 Thread Nick Dokos
Eric Abrahamsen wrote: > > The mapping API allows you to walk through the entries, filter the ones > > you want and apply a function on each remaining entry. So cribbing heavily > > from Simon's code, the following should count all the entries with tag > > "foo": > > Nice! Seems like the mappi

Re: [O] v3, with support for narrowing

2011-04-28 Thread Eric Abrahamsen
On Fri, Apr 29 2011, Nick Dokos wrote: > Eric Abrahamsen wrote: > >> On Fri, Apr 29 2011, Simon Guest wrote: >> >> > At Thu, 28 Apr 2011 15:47:07 -0700, >> > Samuel Wales wrote: >> >> Is it possible to make it so that you can show the overlays for just a >> >> subtree or region instead of the en

Re: [O] v3, with support for narrowing

2011-04-28 Thread Nick Dokos
Eric Abrahamsen wrote: > On Fri, Apr 29 2011, Simon Guest wrote: > > > At Thu, 28 Apr 2011 15:47:07 -0700, > > Samuel Wales wrote: > >> Is it possible to make it so that you can show the overlays for just a > >> subtree or region instead of the entire buffer? > > > > Hi Samuel, > > > > Good idea

Re: [O] v3, with support for narrowing

2011-04-28 Thread Eric Abrahamsen
On Fri, Apr 29 2011, Simon Guest wrote: > At Thu, 28 Apr 2011 15:47:07 -0700, > Samuel Wales wrote: >> Is it possible to make it so that you can show the overlays for just a >> subtree or region instead of the entire buffer? > > Hi Samuel, > > Good idea! So I just fixed it to handle narrowing pro

[O] v3, with support for narrowing

2011-04-28 Thread Simon Guest
At Thu, 28 Apr 2011 15:47:07 -0700, Samuel Wales wrote: > Is it possible to make it so that you can show the overlays for just a > subtree or region instead of the entire buffer? Hi Samuel, Good idea! So I just fixed it to handle narrowing properly, so narrow to your region or subtree of interes