summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
AgeCommit message (Collapse)Author
2022-04-23Suggestive patch for simplified completionDaniel Mendler
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.
2021-12-22geiser-completion: pre-25 compat code removedjao
2021-12-03Fix for filename completion inside scheme stringsjao
It seems we were abusing comint-dynamic-complete-filename when there's the perfectly fine comint-filename-completion.
2021-04-21Use defvar-localJonas Bernoulli
It is available since Emacs 24.3 and we already depend on Emacs 24.4.
2020-05-10Completion for vanilla usersJose Antonio Ortega Ruiz
Restoring what seem reasonable definitions for the completion functions when called away from the current buffer. Should fix issue
2020-03-27Mark the beginning of code part of elisp libraries with Code: headingJonas Bernoulli
It's the convention and by following it we make a big step towards supporting outline navigation. The convention doesn't say much about what parts of the code are supposed to be part of that sections and what parts belong in a subsequent section. Here we put the `require' forms in this section and maybe some setup code, that's a popular approach. In most cases there was " " where we now insert "Code:". They both serve a similar purpose and we keep the former because some users depend on that for navigation. We even add this " " in libraries where it previously was missing. In some cases the permission statement was followed by a commentary, which obviously does not belong in the "Code:" section. In such cases add the conventional "Commentary:" section.
2020-02-25Fix for misspelled geiser-completion-module-list-func (#271)Jose Antonio Ortega Ruiz
2020-02-14Refix #271, and consider gardening instead of programmingJose Antonio Ortega Ruiz
2020-02-13Compatibility with Helm completions in emacs-25 (fixes #271)Jose Antonio Ortega Ruiz
2019-10-25elisp/geiser-completion.el: Expose `--symbol-list` and `--module-list` funcs.Brian Leung
2018-02-03Emacs 24 compatibility: completion-table-dynamicJose Antonio Ortega Ruiz
Looks like the arity of that function changed at some point between 24 and 25. It also looks like people still use emacs 24 (see issue #236), so here we go.
2018-01-29Fix for module/identifier completion in minibufferJose Antonio Ortega Ruiz
When constructing the completion table for minibuffer prompts via `completion-table-dynamic', we were forgetting to tell emacs to perform the completion lookup with the original (scheme) buffer as its current buffer. As a result, the actual completion function wasn't able to find the REPL connection and everything when down in flames with an exception.
2013-01-22Using comint-dynamic-complete-filenameJose Antonio Ortega Ruiz
.. which seems to be available also in emacs 23.2 (although reports as to whether it works are mixed), and has better behaviour anyways.
2012-10-27Filename completion also in scheme buffersJose Antonio Ortega Ruiz
By means of a new entry in completion-at-point-functions that uses the handy comint-filename-completion.
2011-01-23Fix for bug in module name completion (affecting Guile)Jose Antonio Ortega Ruiz
2010-11-29Fixes for locals scanningJose Antonio Ortega Ruiz
... using the new non-interning reader. Plus scanning for case-lambda and syntax-rules. `geiser-syntax--scan-locals' is in danger of refactoring, specially if we add support for let-values.
2010-11-26Remove unnecessary calls to symbol-at-pointJose Antonio Ortega Ruiz
... which interns the symbol in the global obarray: rather unfriendly. We still need to remove a few calls to that beast, and avoid intern in the scheme reader.
2010-11-25Completion: respecting tab-always-indentJose Antonio Ortega Ruiz
... and actually using it to implement geiser-smart-tab-mode. Always nice to un-reinvent-the-wheel.
2010-11-25First stab at using Emacs' standard completion mechanismJose Antonio Ortega Ruiz
Besides removing code i didn't understand that well, we bring in goodies such as partial completion. Jolly.
2010-11-23Document browser improvements, and Racket using themJose Antonio Ortega Ruiz
We have a new "manual lookup" command, and Racket now displays a doc browser buffer for help with a button activating it. In the process, we've cleaned-up a little mess in geiser-eval.el and geiser-doc.el, and refactored the affected Racket modules. Next in line is providing manual lookup for Guile.
2010-11-22Fix for geiser-smart-tab-modeJose Antonio Ortega Ruiz
2010-11-21CLisms removedJose Antonio Ortega Ruiz
2010-11-21Even better message on completion failureJose Antonio Ortega Ruiz
2010-11-21Better message on completion failureJose Antonio Ortega Ruiz
Tell people that we're trying to complete, sometimes, on two different prefixes.
2010-11-13completion-base-position <- completion-base-sizeJose Antonio Ortega Ruiz
The latter is obsolete since 23.2.
2010-11-07Completion: not completing the empty stringJose Antonio Ortega Ruiz
2010-11-06Completion: falling back to module name completion for realJose Antonio Ortega Ruiz
2010-10-31Always fallback to edit-module in M-.Jose Antonio Ortega Ruiz
2010-10-30Elisp: more flexible parsing of :eval and :ge formsJose Antonio Ortega Ruiz
This allows the implementation decide the concrete structure of the code sent to the REPL. For instance, it doesn't need to be a single s-expression, and argument order can be re-arranged.
2010-10-24Locals completion: a fix and an extensionJose Antonio Ortega Ruiz
- ((foo wasn't being completed - define-syntax makes its first argument a bound local
2010-10-06Use cl only at compile timeJose Antonio Ortega Ruiz
2010-08-20Providing feedback while retrieving completion listsJose Antonio Ortega Ruiz
2010-06-23REPL: change current module command and better bindings.Jose Antonio Ortega Ruiz
2010-06-05Racket: better autodoc for syntax formsJose Antonio Ortega Ruiz
2010-05-24Elisp: misc little bugs (revealed by the byte compiler) fixed.Jose Antonio Ortega Ruiz
2010-03-07Implementations can now specify additional binding forms.Jose Antonio Ortega Ruiz
2010-02-27Whitespace.Jose Antonio Ortega Ruiz
2009-09-23Slightly more efficient symbol completion.Jose Antonio Ortega Ruiz
2009-09-22New implementation registration mechanism, for the elisp side of things.Jose Antonio Ortega Ruiz
Implementations must invoke define-geiser-implementation with an appropriate set of methods. Simple inheritance is supported. Each geiser module defines and registers the method names it uses.
2009-09-11BSD relicensing: elisp code.Jose Antonio Ortega Ruiz
2009-08-25Now this is cool: support for company mode.Jose Antonio Ortega Ruiz
2009-08-23Fixes for all byte-compilation warnings.Jose Antonio Ortega Ruiz
2009-08-18Yet another deklugdification: locals scanning moved to elisp.Jose Antonio Ortega Ruiz
... and say goodbye to the ugly parse partial sexp, reducing not only sloppy code, but also duplication and data transfers.
2009-05-24Elisp leftovers trimmed.Jose Antonio Ortega Ruiz
2009-05-20Fixes for module names reading and evaluation result display.Jose Antonio Ortega Ruiz
2009-05-15Bug fix: smart tab mode was broken.Jose Antonio Ortega Ruiz
2009-05-11Improvements to module name support (using prefixes) and Guile support.Jose Antonio Ortega Ruiz
2009-05-08Module completion generalized and implemented for PLT.Jose Antonio Ortega Ruiz
2009-03-09Support for multiple Scheme implementations, Chapter 1.Jose Antonio Ortega Ruiz
* Evaluation system is now pluggable * The rest of the system understands said pluggability * Guile provides its own implementation (geiser-guile) * The reload system is aware of the new kids on the block
2009-03-01Completions buffer renamed to *Geiser completions*.Jose Antonio Ortega Ruiz