Commit graph

12 commits

Author SHA1 Message Date
Andrew Whatson
f2c72a741f fix(scheme): fix calls to deprecated switch-to-geiser 2023-02-20 19:59:30 -05:00
Henrik Lissner
9d643b14ed Revise comments 2021-04-29 13:25:48 -04:00
Henrik Lissner
cb4782b190 Bump :lang scheme
emacs-geiser/chez@4cb7f26 -> emacs-geiser/chez@03da1c1
emacs-geiser/chibi@54e7f38 -> emacs-geiser/chibi@6f59291
emacs-geiser/chicken@47be5b4 -> emacs-geiser/chicken@ceab39c
emacs-geiser/gambit@0ee4156 -> emacs-geiser/gambit@3294c94
emacs-geiser/geiser@c5a9aae -> emacs-geiser/geiser@2b45bd3
emacs-geiser/guile@93ef710 -> emacs-geiser/guile@700ac98
emacs-geiser/racket@a87fd44 -> emacs-geiser/racket@22e56ce

Also includes minor refactors.
2021-04-21 21:45:04 -04:00
Henrik Lissner
c370a0ba82 Bump :lang scheme
emacs-geiser/geiser@aa26163 -> emacs-geiser/geiser@c5a9aae

With emacs-geiser/geiser@c5a9aae, geiser-impl--add-to-alist is now
autoloaded. This fixes #4863 by preventing void-function errors at
startup or 'doom sync'-time.

But this presents a new problem: geiser-impl is guaranteed to be
needlessly loaded at startup, the first time geiser-impl--add-to-list is
called among, say, geiser-chez's package autoloads. To get around this I
forcibly redefine it as an inline-able function (with defsubst) and
shove this new definition into Doom's autoloads file (where it will
appear before package autoloads).

Since Doom byte-compiles its autoloads file (containing concatenated
autoloads from all doom modules and packages), geiser-impl--add-to-alist
calls (and geiser-activate-implementation calls too, which is already
inline-able) will be inlined, fixing the issue.

Fixes #4863
2021-04-16 12:42:22 -04:00
Henrik Lissner
65bc279e59 Fix void-function geiser-impl--add-to-alist errors
Fixes #4869, #4863
2021-04-15 18:59:05 -04:00
Henrik Lissner
c0c42ad0b0 Fix void-variable geiser-implementations-alist at startup
Relevant to #4863
2021-04-15 00:39:21 -04:00
Henrik Lissner
32cf114dc7 lang/scheme: fix support for scheme implementations
Adds the following flags:

  +chez
  +chibi
  +chicken
  +gambit
  +gauche
  +guile
  +kawa
  +mit
  +racket

Fixes #4863
2021-04-14 23:43:45 -04:00
Andrew Whatson
61e5ab0581 Tweak geiser configuration and add flycheck-guile 2020-06-10 11:36:30 +10:00
Henrik Lissner
504d1388cf
Fix scheme indent advice
Logical branches were incorrectly grouped. Also, I've documented my
other changes to the original function.
2020-05-01 01:22:14 -04:00
Henrik Lissner
abc201ae06
Improve indent logic in scheme-mode
Better indentation for property lists and functions starting with
'define'.
2020-04-24 00:35:01 -04:00
Henrik Lissner
11a6c03d69
Standardize naming of repl handler commands 2019-10-07 14:08:58 -04:00
Elais Player
db8d541fbe Add scheme module
Adds scheme module with geiser.
2019-07-23 11:08:29 -05:00