For this part of your question (I don't really follow the rest of it, so far):
Can packages like ido, helm, icicles etc. be configured to provide autocompletion in Customize widgets?
The answer is yes, depending I guess on what you mean by "autocompletion".
Vanilla Emacs provides completion for some Customize widgets. And you can define additional widgets that also let the user use completion to choose a value.
Icicles, for example, defines a color-choice widget that provides completion, as follows:
(define-widget 'icicle-color 'editable-field
"Icicles version of the `color' widget.
`M-TAB' completes the color name using Icicles WYSIWYG completion.
See `icicle-widget-color-complete'."
:format "%{%t%}: %v (%{sample%})\n"
:size (1+ (apply #'max (mapcar #'length (x-defined-colors))))
:tag "Color"
:match 'widgetp-color-match
:validate 'widgetp-color-validate
:value "black"
:complete 'icicle-widget-color-complete
:sample-face-get 'widget-color-sample-face-get
:notify 'widget-color-notify
:action 'widget-color-action)
The part that provides (Icicles-style) completion is :complete 'icicle-widget-color-complete
. It just specifies that completion is provided by function icicle-widget-color-complete
.
(FWIW, I don't think you can easily modify widgets on the fly. I also think you might get more help if you more clearly specify (details) the behavior you are looking for.)
By "autocompletion" do you mean completion that is not initiated on-demand (e.g., from hitting TAB
) but automatically, either immediately or after typing one or more chars (some minimum number) or after some minimum delay? That is possible with Icicles, Ido, and Helm, AFAIK.
Or do you mean completion that might be initiated on-demand initially but is updated thereafter automatically, each time you change the input patter (e.g. type or delete a char)? That too is possible with Icicles, Ido, and Helm, AFAIK. (In Icicles it is called incremental completion.)
For Icicles such is controlled by user options: