Still unable to pass Guile command line options when invoked by Geiser.

I believe there is a simple scheme expression that I can put in ~/.guile to add
command-line options. I cannot find what that expression is?

Previous email to list failed to get a response, I am attempting to re-ask the
same question here in a better fashion.

I have dug around in the source for Geiser (geiser-guile.el) and found a
possible lead

(defun geiser-guile--parameters ()
  "Return a list with all parameters needed to start Guile.
This function uses `geiser-guile-init-file' if it exists."
  (let ((init-file (and (stringp geiser-guile-init-file)
                        (expand-file-name geiser-guile-init-file)))
        (q-flags (and (not geiser-guile-load-init-file-p) '("-q"))))
  `(,@(and (listp geiser-guile-binary) (cdr geiser-guile-binary))
    ,@q-flags "-L" ,(expand-file-name "guile/" geiser-scheme-dir)
    ,@(apply 'append (mapcar (lambda (p) (list "-L" p))
                             geiser-guile-load-path))
    ,@(and init-file (file-readable-p init-file) (list "-l" init-file)))))

Is anyone able to shed some light on this please?

thanks,
Tobin.

Reply via email to