summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
AgeCommit message (Collapse)Author
2024-09-07Improve geiser-repl-superparen-mode compatibilityAntero Mejr
This change to `geiser-repl--superparen-function' improves compatibility with electric-pair-mode, as the procedure will no longer add too many parentheses.
2024-09-07Improve geiser-repl-autoeval-mode behaviorAntero Mejr
Don't autoeval lines that have already been evaluated. Don't keep highlighting parens after the line is auto-evaluated. Don't highlight if show-paren-mode is not enabled.
2024-09-07geiser-repl--find-output-region: fix for 2-character promptsMacon Gambill
2024-07-06Define autoloads how that is normally doneJonas Bernoulli
- Avoid defining autoload definitions in a central location. Instead add autoload cookies to the forms/definitions that should be autoloaded, in the locations where the actual definitions are located. - Do this for `geiser-mode', `turn-on-geiser-mode', `geiser-mode--maybe-activate' (including adding that to `scheme-mode-hook'), `geiser', `geiser-connect', `geiser-connect-local' and `geiser-repl-switch'. - Also do this for `run-geiser', even though it is only an obsolete function alias for `geiser', which might make it desirable to drop the autoload altogether. Some unusual autoload definitions remain in "geiser.el", see below. - One issue with defining autoloads in a central location is that it is easy to forget to remove such autoloads when the real definition is removed. No longer autoload `geiser-version' because since [1: 847d2ad] there no longer exists a proper definition of that function. - No longer autoload `geiser-unload', `geiser-reload' and `turn-off-geiser-mode', because they are only useful if Geiser has already been loaded, at which point any autoloaded definitions are no longer relevant. However, - Keep autoloading `geiser-activate-implementation' and `geiser-implementation-extension', even though I doubt that this is actually useful. - Keep using `custom-add-load' to specify dependencies of Custom groups and keep autoloading that. I don't know if this is actually necessary, and while it seems really weird, it might served a legit purpose, that I am not aware of. 1: 2020-07-19 847d2ad4c6da462c26c50af1ef7d9cd697f3a5d2 scheme and autotools removals
2023-12-15Silence byte-compilerJonas Bernoulli
In Emacs 30: lib/geiser/elisp/geiser-compile.el:19:11: Warning: ‘make-network-process´ called without required keyword argument :service This seems to be a false-positive, but I am not sure.
2023-11-11fix: repl: Make whitespace case more preciseValentin Herrmann
2023-09-23Use delete-char instead of delete-backward-char.Antero Mejr
The bytecode compiler complains because delete-backward-char is an interactive function.
2023-09-22Formatting nitsjao
2023-09-22Add geiser-repl-superparen-mode minor mode.Antero Mejr
Disabled by default. Adds new custom variables "geiser-repl-superparen-character" and "geiser-repl-superparen-mode-p".
2023-07-14Fix typosJonas Bernoulli
2023-05-03Correct typo that breaks geiser-repl-autoeval-mode.Antero Mejr
"geiser-repl-autoeval-delay" should be "geiser-repl-autoeval-mode-delay".
2023-04-22Add geiser-repl-autoeval-mode minor mode.Antero Mejr
Disabled by default. Adds new custom variables "geiser-repl-autoeval-mode-delay" and "geiser-repl-autoeval-mode-p".
2023-02-28Look for existing REPLs when compiling for the first timejao
Should provide a better fix for extended issue #58.
2023-02-23Remember REPL buffers opened with C-c C-zjao
This should take care of the problem reported in issue #58.
2023-01-20Add more Tramp support.Brian Cully
* geiser-compile-file * geiser-compile-current-buffer * geiser-load-current-buffer * geiser-add-to-load-path
2022-12-25Fix: correctly invoke geiser-repl-startup-hookjao
Fixes #57.
2022-12-05Take the byte-compilers advice into accountJonas Bernoulli
2022-11-01requiring subr-x at compile time for older emacsenjao
2022-10-08More -p obsolescence in geiser-debug.eljao
2022-10-07Fix for "and-go" command variantsjao
Should address issue #55 for all implementations.
2022-09-06reinstating run-geiser alias (for now!)0.26.1jao
2022-09-02undeclared function moved aroundjao
2022-09-01Improve default names for per-project REPLs.David Thompson
2022-08-25run-geiser obsoleted (just use M-x geiser)jao
2022-08-25New geiser-repl-switch[-to-module] obsoleting switch-to-geiser[module]jao
2022-08-24docstring for geiser-repl-maybe-sendjao
2022-08-24Make geiser-repl--maybe-send into a public functionBrian Leung
Some authors of downstream packages are reluctant to do stuff with upstream packages' private functions. (for example, https://github.com/abo-abo/swiper/pull/2235#issuecomment-537399457)
2022-08-23Interactive REPL start in C-c C-k and C-c C-ljao
Should address, sort of, issue #46
2022-08-21Fix: don't use add-to-list on lexical variablejao
Thanks to Brian Leung
2022-08-21geiser-repl: Silence warningsBrian Leung
2022-08-12geiser-repl: new variables startup-hook and startup-formsjao
See discussion in issue #48.
2022-08-02geiser-repl: honour .dir-local.el files in REPL buffersjao
Should fix issue #48
2022-04-23geiser-capf: new module to break cyclic dependenciesjao
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.
2022-03-06Harmonizing buffer namesjao
So that now all start with *Geiser (and a space for hidden ones) and use consistent capitalization (see issue #38).
2022-03-06Depend on project 0.8.1, for users of emacs < 28jao
Fixes issue #37.
2022-03-03Fix #36: make sure default-directory is set before starting the processjao
2022-02-23Set REPL's default directory to project's rootjao
2022-02-01Fix: "\r" instead of [return] for corfu happinessjao
2022-01-28Slightly better default project default functionjao
2022-01-22Fix for project functions other than project.el'sjao
Thanks to Denis Golovachev for pointing this out!
2021-12-20Tweaks for boundary conditionsjao
Like quitting a REPL right after opening it, or calling evaluation functions in the wrong, non-scheme buffer.
2021-12-18'debug commands so that each impl can take care of themjao
2021-12-18Allowing debuggers to use Dbg buffer for outputjao
2021-12-18initial support for connection-addressjao
2021-12-18new geiser-repl-per-project-p to control per-project REPLsjao
And we still need some fixes here when that's active, specifically for the case when you travel to a file outside the current project: it becomes repeless, which is a sad state.
2021-12-05Wee refactoringjao
2021-12-05Refinement: geiser-repl-add-project-paths instead of a boolean flagjao
2021-12-05New option geiser-repl-add-project-path-pjao
Together with project-current as a default for the project root function when available, now that Emacs 28 is on the horizon.
2021-12-05Redundant custom groups removed (geiser-repl)jao