From 18faa0ba32c9ce751c16960b2a39b3880b523272 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Sat, 2 Apr 2022 02:19:54 +0200 Subject: Suggestive patch for simplified completion NOTE: The patch is largely untested. Modifications: - Update readme.org - Remove geiser-company - Move Company extensions to geiser-completion Omissions: - geiser-company--inhibit-autodoc has been removed. Eldoc handling should be implemented in the frontend, not in the backend. See for example: https://github.com/minad/corfu/blob/04fbfce3d7e9c125a7fd22a34455a508247a522b/corfu.el#L1212 - The quickhelp-string action and geiser-company--docstring have been removed. company-quickhelp can use `:company-doc-buffer` instead with minimal overhead. See: https://github.com/company-mode/company-quickhelp/blob/3ca2708b4e5190205aca01d65fe1b391963a53f9/company-quickhelp.el#L138 - The automatic Company setup has been removed. Personally I am not a fan of such auto configuration. It is better if completion is configured consistently in the user configuration. You may want to restore the auto configuration for backward compatibility. It depends on your backward compatibility story. I am fine with rare breaking changes from time to time. - There is a cyclic dependency between geiser-edit/geiser-doc and geiser-completion, which should be untangled. --- readme.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'readme.org') diff --git a/readme.org b/readme.org index 480c299..22632f1 100644 --- a/readme.org +++ b/readme.org @@ -99,16 +99,17 @@ To start a REPL, run =M-x geiser=. -** Completion with company-mode +** Completion at point Geiser offers identifier and module name completion, bound to =M-TAB= and =M-`= respectively. Only names visible in the current module are offered. - While that is cool and all, things are even better: if you have - [[http://company-mode.github.io/][company mode]] installed, Geiser's completion will use it. Just - require company-mode and, from then on, any new scheme buffer or - REPL will use it. + While that is cool and all, things are even better: if you have [[http://company-mode.github.io/][Company]] or + [[https://github.com/minad/corfu][Corfu]] installed, Geiser's completion will integrate with it. Just enable + global-company-mode/corfu-global-mode and, from then on, any new scheme + buffer or REPL will use it. Alternatively you can activate company-mode or + corfu-mode individually only in some buffers. ** Macro expansion with macrostep-geiser -- cgit v1.2.3