[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

command-line options v2

From: Tobin Harding
Subject: command-line options v2
Date: Thu, 30 Jun 2016 20:44:11 +1000
User-agent: Mutt/1.6.1 (2016-04-27)

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))
    ,@(and init-file (file-readable-p init-file) (list "-l" init-file)))))

Is anyone able to shed some light on this please?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]