all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to speed up ido?
@ 2009-01-17  9:37 senny
  2009-01-17 11:13 ` Andreas Politz
  0 siblings, 1 reply; 8+ messages in thread
From: senny @ 2009-01-17  9:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hey there

I wrote a function to open any file in my project using ido. The
Problem is, that the project has a lot of files and a deeply nested
directory structure. When i then complete the file name in ido using
fuzzy-matching it is extremely slow and unusable. Is there a way to
increase the speed of ido? or should i take another approach to this
problem? I am currently using the method "ido-completing-read".

regards,
Senny


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
  2009-01-17  9:37 How to speed up ido? senny
@ 2009-01-17 11:13 ` Andreas Politz
  2009-01-17 12:48   ` Seweryn Kokot
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andreas Politz @ 2009-01-17 11:13 UTC (permalink / raw)
  To: help-gnu-emacs

senny wrote:
> Hey there
> 
> I wrote a function to open any file in my project using ido. The
> Problem is, that the project has a lot of files and a deeply nested
> directory structure. When i then complete the file name in ido using
> fuzzy-matching it is extremely slow and unusable. Is there a way to
> increase the speed of ido? or should i take another approach to this
> problem? I am currently using the method "ido-completing-read".
> 
> regards,
> Senny


A while ago I wrote a mode called ido-hacks. As the name
suggests it contains a couple of more or less dirty
modifications to ido, among them :

* faster display of prospect (streamlined one loop)
* caching of already computed flex-matches
* use ido for every completing-read call

If you're interested I could mail/post it and you could maybe
extract the optimization parts (It's one advice and one redefinition.)
Btw, I am using it all the time.

-ap


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
  2009-01-17 11:13 ` Andreas Politz
@ 2009-01-17 12:48   ` Seweryn Kokot
  2009-01-17 15:04   ` William Xu
       [not found]   ` <mailman.5113.1232196142.26697.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Seweryn Kokot @ 2009-01-17 12:48 UTC (permalink / raw)
  To: help-gnu-emacs

Andreas Politz <politza@fh-trier.de> writes:

> senny wrote:
>> Hey there
>>
>> I wrote a function to open any file in my project using ido. The
>> Problem is, that the project has a lot of files and a deeply nested
>> directory structure. When i then complete the file name in ido using
>> fuzzy-matching it is extremely slow and unusable. Is there a way to
>> increase the speed of ido? or should i take another approach to this
>> problem? I am currently using the method "ido-completing-read".
>>
>> regards,
>> Senny
>
>
> A while ago I wrote a mode called ido-hacks. As the name
> suggests it contains a couple of more or less dirty
> modifications to ido, among them :
>
> * faster display of prospect (streamlined one loop)
> * caching of already computed flex-matches
> * use ido for every completing-read call
>
> If you're interested I could mail/post it and you could maybe
> extract the optimization parts (It's one advice and one redefinition.)
> Btw, I am using it all the time.
>
> -ap

Could you please send it here? I think there are more people
interested in it!

Thanks in advance.
-- 
regards,
Seweryn





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
       [not found]       ` <1232197823.618527@arno.fh-trier.de>
@ 2009-01-17 14:18         ` senny
  2009-01-17 17:26           ` Seweryn Kokot
  2009-01-18 11:06         ` Andreas Politz
  1 sibling, 1 reply; 8+ messages in thread
From: senny @ 2009-01-17 14:18 UTC (permalink / raw)
  To: help-gnu-emacs

On 17 Jan., 14:09, Andreas Politz <poli...@fh-trier.de> wrote:
> Andreas Politz wrote:
> > Seweryn Kokot wrote:
> >> Andreas Politz <poli...@fh-trier.de> writes:
>
> >>> senny wrote:
> >>>> Hey there
>
> >>>> I wrote a function to open any file in my project using ido. The
> >>>> Problem is, that the project has a lot of files and a deeply nested
> >>>> directory structure. When i then complete the file name in ido using
> >>>> fuzzy-matching it is extremely slow and unusable. Is there a way to
> >>>> increase the speed of ido? or should i take another approach to this
> >>>> problem? I am currently using the method "ido-completing-read".
>
> >>>> regards,
> >>>> Senny
>
> >>> A while ago I wrote a mode called ido-hacks. As the name
> >>> suggests it contains a couple of more or less dirty
> >>> modifications to ido, among them :
>
> >>> * faster display of prospect (streamlined one loop)
> >>> * caching of already computed flex-matches
> >>> * use ido for every completing-read call
>
> >>> If you're interested I could mail/post it and you could maybe
> >>> extract the optimization parts (It's one advice and one redefinition.)
> >>> Btw, I am using it all the time.
>
> >>> -ap
>
> >> Could you please send it here? I think there are more people
> >> interested in it!
>
> >> Thanks in advance.
>
> > I attached it to this mail. Compiling is suggested. Load and enable it
> > like this:
>
> > (ido-mode 1)
> > (ido-hacks-mode 1)
>
> > -ap
>
> I have send the wrong version....
>
> -ap
>
>  ido-hacks.el.gz
> 4KAnzeigenHerunterladen

Thanks a lot. Im gonna try your modifications as soon as possible.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
  2009-01-17 11:13 ` Andreas Politz
  2009-01-17 12:48   ` Seweryn Kokot
@ 2009-01-17 15:04   ` William Xu
       [not found]   ` <mailman.5113.1232196142.26697.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: William Xu @ 2009-01-17 15:04 UTC (permalink / raw)
  To: help-gnu-emacs

Andreas Politz <politza@fh-trier.de> writes:

> * use ido for every completing-read call

How do you accomplish this? I have to redefine or advice many
functions to achieve that.

-- 
William

http://xwl.appspot.com





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
  2009-01-17 14:18         ` senny
@ 2009-01-17 17:26           ` Seweryn Kokot
  0 siblings, 0 replies; 8+ messages in thread
From: Seweryn Kokot @ 2009-01-17 17:26 UTC (permalink / raw)
  To: help-gnu-emacs

senny <yves.senn@gmail.com> writes:

> On 17 Jan., 14:09, Andreas Politz <poli...@fh-trier.de> wrote:
>> Andreas Politz wrote:
>> > Seweryn Kokot wrote:
>> >> Andreas Politz <poli...@fh-trier.de> writes:
>>
>> >>> senny wrote:
>> >>>> Hey there
>>
>> >>>> I wrote a function to open any file in my project using ido. The
>> >>>> Problem is, that the project has a lot of files and a deeply nested
>> >>>> directory structure. When i then complete the file name in ido using
>> >>>> fuzzy-matching it is extremely slow and unusable. Is there a way to
>> >>>> increase the speed of ido? or should i take another approach to this
>> >>>> problem? I am currently using the method "ido-completing-read".
>>
>> >>>> regards,
>> >>>> Senny
>>
>> >>> A while ago I wrote a mode called ido-hacks. As the name
>> >>> suggests it contains a couple of more or less dirty
>> >>> modifications to ido, among them :
>>
>> >>> * faster display of prospect (streamlined one loop)
>> >>> * caching of already computed flex-matches
>> >>> * use ido for every completing-read call
>>
>> >>> If you're interested I could mail/post it and you could maybe
>> >>> extract the optimization parts (It's one advice and one redefinition.)
>> >>> Btw, I am using it all the time.
>>
>> >>> -ap
>>
>> >> Could you please send it here? I think there are more people
>> >> interested in it!
>>
>> >> Thanks in advance.
>>
>> > I attached it to this mail. Compiling is suggested. Load and enable it
>> > like this:
>>
>> > (ido-mode 1)
>> > (ido-hacks-mode 1)
>>
>> > -ap
>>
>> I have send the wrong version....
>>
>> -ap
>>
>>  ido-hacks.el.gz
>> 4KAnzeigenHerunterladen
>
> Thanks a lot. Im gonna try your modifications as soon as possible.

It seems that posts from Andreas didn't arrived to emacs help group

http://news.gmane.org/gmane.emacs.help
http://lists.gnu.org/archive/html/help-gnu-emacs/2009-01/threads.html

Any idea what is wrong?

-- 
regards,
Seweryn





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
       [not found]       ` <1232197823.618527@arno.fh-trier.de>
  2009-01-17 14:18         ` senny
@ 2009-01-18 11:06         ` Andreas Politz
  2009-02-17 14:13           ` David Combs
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Politz @ 2009-01-18 11:06 UTC (permalink / raw)
  To: help-gnu-emacs

Andreas Politz wrote:
> Andreas Politz wrote:
>> Seweryn Kokot wrote:
>>> Andreas Politz <politza@fh-trier.de> writes:
>>>
>>>> senny wrote:
>>>>> Hey there
>>>>>
>>>>> I wrote a function to open any file in my project using ido. The
>>>>> Problem is, that the project has a lot of files and a deeply nested
>>>>> directory structure. When i then complete the file name in ido using
>>>>> fuzzy-matching it is extremely slow and unusable. Is there a way to
>>>>> increase the speed of ido? or should i take another approach to this
>>>>> problem? I am currently using the method "ido-completing-read".
>>>>>
>>>>> regards,
>>>>> Senny
>>>>
>>>> A while ago I wrote a mode called ido-hacks. As the name
>>>> suggests it contains a couple of more or less dirty
>>>> modifications to ido, among them :
>>>>
>>>> * faster display of prospect (streamlined one loop)
>>>> * caching of already computed flex-matches
>>>> * use ido for every completing-read call
>>>>
>>>> If you're interested I could mail/post it and you could maybe
>>>> extract the optimization parts (It's one advice and one redefinition.)
>>>> Btw, I am using it all the time.
>>>>
>>>> -ap
>>>
>>> Could you please send it here? I think there are more people
>>> interested in it!
>>>
>>> Thanks in advance.
>>
>> I attached it to this mail. Compiling is suggested. Load and enable it 
>> like this:
>>
>> (ido-mode 1)
>> (ido-hacks-mode 1)
>>
>>
>> -ap
> 
> I have send the wrong version....
> 
> -ap

Since noone seems to be able to receive the attached file, I have put it
on the web :

http://www0.fh-trier.de/~politza/emacs/ido-hacks.el.gz

-ap


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to speed up ido?
  2009-01-18 11:06         ` Andreas Politz
@ 2009-02-17 14:13           ` David Combs
  0 siblings, 0 replies; 8+ messages in thread
From: David Combs @ 2009-02-17 14:13 UTC (permalink / raw)
  To: help-gnu-emacs


Then why not add it to the e-wiki?

David




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-17 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-17  9:37 How to speed up ido? senny
2009-01-17 11:13 ` Andreas Politz
2009-01-17 12:48   ` Seweryn Kokot
2009-01-17 15:04   ` William Xu
     [not found]   ` <mailman.5113.1232196142.26697.help-gnu-emacs@gnu.org>
     [not found]     ` <1232197162.491902@arno.fh-trier.de>
     [not found]       ` <1232197823.618527@arno.fh-trier.de>
2009-01-17 14:18         ` senny
2009-01-17 17:26           ` Seweryn Kokot
2009-01-18 11:06         ` Andreas Politz
2009-02-17 14:13           ` David Combs

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.