summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-14Allow processing of texinfo in docstrings.Tomas Volf
This commit adds support for processing texinfo in docstrings. That allows using texinfo in them while still having readable, nicely formatted plain text representation in geiser-doc-symbol-at-point. Fixes #43. * geiser-guile.el (geiser-guile-doc-process-texinfo): New custom controlling the behavior. (geiser-guile-update-doc-process-texinfo): New procedure to apply change of the controlling custom to a current REPL. (geiser-guile--startup): Call it. * geiser-guile.texi (Start up): Document the custom. * src/geiser/doc.scm (%process-texinfo?): New variable. (try-texinfo->plain-text): New procedure. (docstring): Call it on doc iff doc.
2023-12-27better detection of completion prefixes for module namesjao
Fixes issue #38 (use-modules not completed at buffers) by excluding trailing parens from module name completion prefixes. Things could be better if geiser detected that in, say (use-modules (ice-9 and| one is still completing a module name (right now, it notices that `and' can be completed as a procedure/macro name), but that has always been above module name completion's paycheck.
2022-10-24persistent port for asynchronous evaluation outputjao
using ideas and code from Christine Lemmer-Webber, see #25 for discussion.
2022-10-21formatting and whitespacejao
2022-07-19Equivalent fix to the previous fix that reflects original intentjao
program-arities is expected (in its only usage a few lines below its definition) to return #f if program-address-range doesn't return anything useful, and i was incorrectly using when instead of and for that.
2022-07-17Fix bug where 'program-arities' returns #<unspecified> (issue #23)VCGS40Y
program-arities now returns an empty list if no arities information is found. This fixes the bug that happens when calling, say, `(autodoc '(display))`, which leads to following error: ``` scheme@(guile-user)> (autodoc '(display)) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure map: Wrong type argument: #<unspecified> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,q ```
2022-03-16Dead codejao
2021-10-29Fix broken module context awareness in Guile 3.0.David Thompson
2021-05-07Fix Geiser for Guile 3.0.6jakub-w
Fixes emacs-geiser/guile#9 In geiser-eval REPL meta-command: All `mod`, `form` and `args` are now syntax objects. The geiser-guile's logic will handle `mod` and `form` as is because they're just passed to guile's eval and compile procedures. `args` are processed by geiser-eval meta-command itself, so it's necessary to convert it back to a datum. We lose some metadata, but all elements in the `args` list are also syntax objects so I don't think it's a big deal. `syntax->datum` was introduced before guile 2 so this change is backward compatible.
2020-07-20geiser -> srcjao