package sturgeon
A toolkit for communicating with Emacs
Install
Dune Dependency
Authors
Maintainers
Sources
v0.4.2.tar.gz
md5=16f984c347be593eb590c0ad0611ee08
sha512=cfe091eeb36b14029ae1560a780ad099239de8f80f9c942dc6b0ef1b08bf47add0f29a575d8127ed4648cb3ab27f3ca0d520befa55aeb22411dcfca545e0bd44
doc/src/sturgeon.recipes_command/sturgeon_recipes_command.ml.html
Source file sturgeon_recipes_command.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
open Sturgeon let command ?greetings ?cogreetings () = let stdin = Sexp.of_channel stdin in let stdout sexp = Sexp.tell_sexp print_string sexp; print_newline (); flush stdout in let stdin', status = Session.connect ?greetings ?cogreetings stdout in let rec aux () = match stdin () with | None -> exit 0 | Some sexp -> stdin' sexp; if Session.pending_continuations status > 0 then aux () else exit 0 in aux () let text_command f = let greetings, shell = Stui.buffer_greetings () in command ~greetings ~cogreetings:(fun args -> f ~args shell) ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>