From: Daniel R. <dra...@gm...> - 2015-04-28 18:12:57
|
I started using notion again (awesomewm is awesome, but not awesome enough), and became interested again in impementing a feature I've wanted in notion and other incremental searches for a long time, which I call "rebasing queries." An incremental search query is "rebased" when the input is cleared, but the set of incremental results is retained. The user may now input more chars, searching among remaining results. Ideally would work something like this: I have shit tons of windows open, I want to attach a the chrome window with gmail. I enter `M-a chro` and completion window shows only browser windows. I now enter `M-a` again, which rebases the attach-query (since one is in progress), and then `gmai` and now only the gmail window is selected. I'd implement it myself, but I don't know the notion codebase or lua very well. I might be able to manage it if a more experienced notion developer could give me some pointers. For example, I don't understand how the query set is populated and modified in the first place (I think it's done in the C code, but not even sure about that). Peace Homies, --Daniel |