summaryrefslogtreecommitdiff
path: root/readme.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-04-02 02:19:54 +0200
committerjao <jao@gnu.org>2022-04-23 16:01:15 +0100
commit18faa0ba32c9ce751c16960b2a39b3880b523272 (patch)
treede834f9eccbe390421c495844b48af9ba8565a2d /readme.org
parent77adf19d3812ecfd821d250f8bc1eb821a88ee92 (diff)
downloadgeiser-18faa0ba32c9ce751c16960b2a39b3880b523272.tar.gz
geiser-18faa0ba32c9ce751c16960b2a39b3880b523272.tar.bz2
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.
Diffstat (limited to 'readme.org')
-rw-r--r--readme.org11
1 files changed, 6 insertions, 5 deletions
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