First, with the term “list” being ambiguous, I want to add a second term, “cons” which may help disambiguate the query as I know lists in Emacs are composed of cons cells. To do this, put the point over the ‘text query’ prior and press e to edit it. You can modify all the properties of the prior, but we’re only interested in its query term so we press q to edit the query term. Enter the text “list cons” RET e to have it search both.
Next, since we’re concerned about internals, let’s add another prior
matching only ‘.c’ files. To do this, we press P
(p-search-add-prior
) and then h (for “name heading”).
Enter the text ‘.c’, then RET and c to create the
prior. You should notice the results now becoming only C files.
Lastly, you know that something so fundamental like the lists in Emacs lisp probably has the big names working on it. Let’s create another prior for boosting the scores of files written by Richard Stallman. Press P, then g a (for “git author”), then select ‘Richard M. Stallman’ from the selections. Wait for this prior to run and let’s look at our final results.