-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show all possible candidates after filtering #14
Comments
Pierre Neidhardt <[email protected]> writes:
By default, helm-system-packages-candidate-limit is 1000.
Let's consider we have more than 1000 packages in the database.
If we disable the display of, say, uninstalled packages (M-N by
default), it leaves room for more packages of the other categories to
be displayed.
Sadly, the list won't be displayed unless a pattern is entered.
This issue makes it impossible to list all packages of specific categories.
The problem essentially lies in that Helm System Packages makes use of
buffers and not lists. I'm not sure how to solve
that. @thierryvolpiatto?
You make normally this limitation with :requires-pattern, but I see you
don't use it so I guess it is a problem with your init function and/or
its transformer, are you using filtered-candidate-transformer ? are you
using helm-force-update ?
…--
Thierry
|
Well, the original I'm not using
Allow me to sum up: The list of package names and descriptions is generated once, then cached. (helm-init-candidates-in-buffer The buffer source has the following properties:
Then the transformer only filters out the unwanted packages, e.g.
The issue here is that |
Pierre Neidhardt <[email protected]> writes:
Well, the original helm-gentoo and helm-apt had the same issue if I'm not mistaken.
I'm not using filtered-candidate-transformer nor helm-force-update.
* filtered-candidate-transformer: I don't think that's approprioate. From the
doc: "While ‘candidate-transformer’ is run only once, it is run every time the
input pattern is changed."
Yes, but also it recompute candidates up to limit, have a try (use same
function but add _source as second arg).
…--
Thierry
|
Tried your suggestion and it made no difference.
Maybe because it's a buffer source?
|
By default,
helm-system-packages-candidate-limit
is 1000.Let's consider we have more than 1000 packages in the database.
If we disable the display of, say, uninstalled packages (
M-N
by default), it leaves room for more packages of the other categories to be displayed.Sadly, the list won't be displayed unless a pattern is entered.
This issue makes it impossible to list all packages of specific categories.
The problem essentially lies in that Helm System Packages makes use of buffers and not lists.
I'm not sure how to solve that. @thierryvolpiatto?
The text was updated successfully, but these errors were encountered: