package ecaml

  1. Overview
  2. Docs
Library for writing Emacs plugin in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=87e76473915e12d718096100a5c4d15d98aba6f99ecbf21814b7389e8c28bb25

doc/ecaml.ecaml_test_helpers/Ecaml_test_helpers/index.html

Module Ecaml_test_helpersSource

Sourcemodule Buffer_helper : module type of Buffer_helper
Sourceval press : ?and_show:bool -> ?show_point:bool -> string -> unit Async.Deferred.t

Run the given key sequence, and then display the current buffer.

Sourceval press_and_show_minibuffer : ?show_contents:bool -> string -> unit Async.Deferred.t

Run the given key sequence, and then show the following:

  • minibuffer prompt
  • minibuffer contents, unless show_contents = false
  • *Completions* buffer, if any
Sourceval show : ?show_point:bool -> unit -> unit

Display the current buffer.

Sourceval eval : string -> unit Async.Deferred.t

Evaluate an elisp expression and display the resulting value.

Sourceval print_files_that_loaded_cl : unit -> unit Async.Deferred.t

Print a list of files that loaded the cl package, which is deprecated.

In emacs 27.1, loading package cl causes a deprecated-package warning, which would show up as spurious output in every expect test. This helper can be used whenever such output appears, to help find the culprit.

OCaml

Innovation. Community. Security.