orion configuration

Rohan Nicholls <[email protected]>
Newsgroups gmane.lisp.scheme.scsh
Message-ID <41220EB6.1020407__4350.10629375956$1092751258$gmane$org@pareto.nl>
Hi all,

I am a little confused with the config file for orion.  i think it has 
to do with all the implicit backquoting that is going on.

Here is the part of the code that is giving me problems.

    (define (get-term)
      (let ((term (aterm -tr -trsb -sh 50 -fg yellow -bg black)))
        (& ,term)))



     (define root-options
       `((quit . "F12")
         (save-layout . "F11")
         (nth-workspace . ("M-1" "M-2" "M-3" "M-4" "M-5" "M-6" "M-7" 
"M-8" "M-9"))
         (create-workspace . "F10")
         (kill-client . "M-Escape")
         (attach . "F9")
         (user-bindings . (("F2" apply ,get-term)
;                          ("F4" apply ,xsel->opera-remote)
...
                           ("F8" exec "emacs")))))




I tested the above in scsh, and it worked, but does not work in orion, 
but I think there is yet more backquoting going on, which has me 
confused.  Doing ("F2" exec "aterm -tr -trsb -sh 60 fg yellow -bg 
black"), gives an error about not finding an application of that name, 
and if I then do ("F2" exec "aterm" " -tr -trsb -sh 60 fg yellow -bg 
black"), on a whim it gets also gives an error.
I have tried passing strings, and other contortions, but so far to no 
avail.  I a reading the scsh manual to see if I can figure out what is 
going on, but in the meantime if anyone can tell me what I am doing wrong...

This brings up more questions that I am hoping to get sorted out 
eventually, but if anyone has a quick answer.  The orion-client project 
is becoming more and more necessary so I can test while running the wm.

Is there anyone who has  set up a menu in orion, so you middle click on 
a window and it gives you a menu to choose from, and failing that is 
there a way to bind control-meta-<somekey>, as my attempts have failed 
so far.  I am interested as I do not want to clobber my emacs bindings 
when I want to perform different commands.

Thanks,

Rohan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.