Looking for class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Looking for class

Damien Cassou-2
I've just tried to use to spotter to get the code of the #class method. I typed 'class' and Spotter showed a lot of methods but the method I was looking for was not in the top. In the Emacs equivalent of Spotter (helm), closest and exact matches are shown first. I guess helm uses a notion of distance to order results. In helm, I could have typed "class$" to get only methods ending with "class".
--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

Reply | Threaded
Open this post in threaded view
|

Re: Looking for class

Tudor Girba-2
Again, as I said, we have a problem with finding a performant solution for order. If anyone would like to have a look, it would be useful.

Cheers,
Doru


> On Feb 20, 2016, at 9:46 PM, Damien Cassou <[hidden email]> wrote:
>
> I've just tried to use to spotter to get the code of the #class method. I typed 'class' and Spotter showed a lot of methods but the method I was looking for was not in the top. In the Emacs equivalent of Spotter (helm), closest and exact matches are shown first. I guess helm uses a notion of distance to order results. In helm, I could have typed "class$" to get only methods ending with "class".
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>

--
www.tudorgirba.com
www.feenk.com

"Presenting is storytelling."


Reply | Threaded
Open this post in threaded view
|

Re: Looking for class

Stephan Eggermont-3
On 20-02-16 21:53, Tudor Girba wrote:
> Again, as I said, we have a problem with finding a performant solution for order. If anyone would like to have a look, it would be useful.

Do you have a block of code to profile? I'm not sure I understand how to
setup a spotter.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: Looking for class

Eliot Miranda-2
In reply to this post by Tudor Girba-2
Hi Doru

> On Feb 20, 2016, at 12:53 PM, Tudor Girba <[hidden email]> wrote:
>
> Again, as I said, we have a problem with finding a performant solution for order. If anyone would like to have a look, it would be useful.

What does one need other than exact matches come first followed by sorted inexact matches? Works very well with find class dialogs at least.  As one types more the relevant results float to the top.

> Cheers,
> Doru
>
>
>> On Feb 20, 2016, at 9:46 PM, Damien Cassou <[hidden email]> wrote:
>>
>> I've just tried to use to spotter to get the code of the #class method. I typed 'class' and Spotter showed a lot of methods but the method I was looking for was not in the top. In the Emacs equivalent of Spotter (helm), closest and exact matches are shown first. I guess helm uses a notion of distance to order results. In helm, I could have typed "class$" to get only methods ending with "class".
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Presenting is storytelling."
>
>