Hi Tamas, On Aug 3, 6:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Here's a demontstration for the option (anything-filtered-candidate- > transformers) added today. > > I didn't want to stuff into anything.el, so I post it here. Maybe it > should go to anything-config.el. > > It's a candidate sorter which places those candidates first in the > list of matches which you selected before. The more frequently you use > an item the closer it is to top of the list, so you can select > frequent selections more easily. In addition if the current pattern > matches one of the previous ones used to select an item then those > items are put at the very beginning of the list, so you can have a > sort of automatic bookmarks if you use the same pattern to select the > same item again and again. > > So it's an adaptive candidate sorter which learns which candidates you > select frequently and makes them more accessible for you. > > It's only a quick implementation. It surely could be improved. It's > not extensively tested, but it seems to work well.
Conceptually, this sounds like a great idea (it's also something that Quicksilver does), but it doesn't seem to work for me. I downloaded the latest anything.el, created an empty "~/.anything_adaptive_history" file and evaluated your code snippets. I then call up anything and select a file. At this point, I would have thought my selection would be recorded in the history file. However, after my first selection, I don't get anything written into the history file and I subsequently lose the files in "Current Directory" and "File Name History" categories when I call up anything again. I haven't spent any time looking at the code, but perhaps I missed out some step? - Bill _______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
