💾 Archived View for gems.geminet.nl › bits › geiser-mit-scheme-stack.gmi captured on 2023-03-20 at 18:10:31. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
When mit-scheme gives ";Aborting!: maximum recursion depth exceeded" which sometimes
happens when "filter" is applied on large lists, a quick fix is:
-get the geiser source (master) from somewhere
-in the source, locate and open the file geiser-mit.el in emacs
-replace the function `geiser-mit-parameters'
with
(defun geiser-mit--parameters () "Return a list with all parameters needed to start MIT/GNU Scheme. This function uses `geiser-mit-init-file' if it exists." `("--stack" "10000" "--load" ,(expand-file-name "mit/geiser/load.scm" geiser-scheme-dir)) )
-evaluate the buffer (M-x ev-b)
- (M-x run-geiser) in your mit-scheme buffer