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