I should add that this code uses lexical-let which was introduced in emacs 24.1.
So if that's unacceptable, then that could be a big time saver as you review this feature for eligibility. Thank you, Erica Envoyé depuis Proton Mail pour Android -------- Message d'origine -------- Le 28/03/2025 21:22, Erica Qi via a écrit : > Hello, > > I apologize in advance for the size of this patch. Its actually > more than a year old now, I'm just now getting it together to give > to you here. The documentation is fresh and extensive. > I've been sure to follow along with browser changes > as the time went by. > > It started with adding Album Artist and Genre to the browser. > That led to refactoring the node-tree to make it easier to use. > It is now defined by data instead of a function. > I also fixed a lot doc strings because I hate doc string warnings. > > That led to frustration with filtering and searching, album artist and > genre were also missing there. > FIlters and searches didn't work together at all, Nor could they do > anything more than a single thing at a time. Narrowing a search > was impossible without writing more code, for a specific function > to do that exact filter or search. > > I wrote the Filter system and refactored the browser to use it. > The old browser system still works but is deprecated. Except in > the case that someone has code that uses it, there is no reason > to use it. > > There is a very thin layer of code which preserves the Brower's API > but uses the filter system to do all the work. > > The new system is tremendously more powerful and much easier > to extend and use. > > Here is the introductory paragraph from The filter system chapter in > the documentation. I'll let the documentation and the code speak for itself. > > I will say that its actually fun to use, and when I look at the code, I am > sometimes stunned by the beauty of it. > > The filter system allows you to filter the metadata cache in order search > and narrow your track data. It is based on a very powerful interactive > system consistenting of filter and cache stacks which allow > the creation and manipulation of complex filters and results caches. > I hope you like it. > Erica > > Envoyé avec la messagerie sécurisée [Proton > Mail.](https://proton.me/mail/home)