Module Ecaml.Completing

Prompts for input, with completion from a static collection of suggestions.

module Initial_input : sig ... end
module Require_match : sig ... end
module Collection : Ocaml_or_elisp_value.S with type ocaml = string list
val read : prompt:string -> collection:Collection.t -> ?⁠require_match:Require_match.t -> ?⁠initial_input:Initial_input.t -> ?⁠default:string -> history:Minibuffer.History.t -> unit -> string Async.Deferred.t

(describe-function 'completing-read) *

val read_function_name : prompt:string -> history:Minibuffer.History.t -> string Async.Deferred.t

Read a function name in the same manner as describe-function.

val read_variable_name : prompt:string -> history:Minibuffer.History.t -> string Async.Deferred.t

Read a variable name in the same manner as describe-variable.

val read_multiple : prompt:string -> collection:Collection.t -> ?⁠require_match:Require_match.t -> ?⁠separator_regexp:string -> ?⁠initial_input:Initial_input.t -> ?⁠default:string -> history:Minibuffer.History.t -> unit -> string list Async.Deferred.t

(describe-function 'completing-read-multiple) *