Re: How to get the signature of function and method definitions

2011-11-15 Thread Thorsten
Tomas Hlavaty writes: Hi Tomas, > >> When using slime, should the inferior buffer a *inferior-lisp* or >> rather a *inferior-picolisp* buffer? I guess, the *inferior-lisp* >> buffer should be fine ... > > It is *inferior-lisp* and the repl is called *slime-repl picolisp*. > They are numbered if

Re: How to get the signature of function and method definitions

2011-11-15 Thread Thorsten
Tomas Hlavaty writes: Hi Tomas, > >> so thats the solution - I have a local installation, I set the 4 links >> to /usr/bin/ and /usr/share/ as described in INSTALL - but apparently >> only /usr/share/picolisp is the one that works. I have no idea why. > > how did you install your local picolisp?

Re: How to get the signature of function and method definitions

2011-11-15 Thread Thorsten
Tomas Hlavaty writes: Hi Tomas, >> swank-picolisp and copied your configuration except the picolisp command >> >> ,--- >> | usr/bin/picolisp/p >> `--- >> >> I have a problem there, I tried >> >> , >> | home/tj1/bin/picolisp/pil

Re: How to get the signature of function and method definitions

2011-11-15 Thread Tomas Hlavaty
Hi Thorsten, > When using slime, should the inferior buffer a *inferior-lisp* or > rather a *inferior-picolisp* buffer? I guess, the *inferior-lisp* > buffer should be fine ... It is *inferior-lisp* and the repl is called *slime-repl picolisp*. They are numbered if you are connecting to multiple

Re: How to get the signature of function and method definitions

2011-11-15 Thread Tomas Hlavaty
Hi Thorsten, > so thats the solution - I have a local installation, I set the 4 links > to /usr/bin/ and /usr/share/ as described in INSTALL - but apparently > only /usr/share/picolisp is the one that works. I have no idea why. how did you install your local picolisp? Did you "cd src; make"? C

Re: How to get the signature of function and method definitions

2011-11-15 Thread Tomas Hlavaty
Hi Thorsten, > swank-picolisp and copied your configuration except the picolisp command > > ,--- > | usr/bin/picolisp/p > `--- > > I have a problem there, I tried > > , > | home/tj1/bin/picolisp/pil | > | home/tj1/bin/picolisp/

Re: How to get the signature of function and method definitions

2011-11-15 Thread Thorsten
Alexander Burger writes: Hi Alex, > What happens if you execute it in the shell > >$ /home/tj1/bin/picolisp/pil , | tj1@tj-desktop:~$ /home/tj1/bin/picolisp/pil | bash: /home/tj1/bin/picolisp/

Re: How to get the signature of function and method definitions

2011-11-15 Thread Alexander Burger
Hi Thorsten, > > I think this error occurs because the binary 'picolisp' cannot be found. > > strange, I changed $PATH and emacs exec-path: As far as the 'picolisp' executable is concerned, the $PATH doesn't matter at all. All that counts is how it is invoked by the scripts. About emacs exec-pat

Re: How to get the signature of function and method definitions

2011-11-15 Thread Thorsten
Alexander Burger writes: Hi Alex, >> I have a problem there, I tried >> >> , >> | home/tj1/bin/picolisp/pil | >> | home/tj1/bin/picolisp/plmod | >> | home/tj1/bin/picolisp/bin/pil | >> | home/tj1/bin/picolisp/bin/plmod | >> | home/tj1/bin/picolisp/bin

Re: How to get the signature of function and method definitions

2011-11-15 Thread Alexander Burger
Hi Thorsten, > I have a problem there, I tried > > , > | home/tj1/bin/picolisp/pil | > | home/tj1/bin/picolisp/plmod | > | home/tj1/bin/picolisp/bin/pil | > | home/tj1/bin/picolisp/bin/plmod | > | home/tj1/bin/picolisp/bin/psh

Re: How to get the signature of function and method definitions

2011-11-14 Thread Thorsten
Tomas Hlavaty writes: Hi Henrik, Hi Tomas, thanks for your help so far. I now have slime and sbcl installed and working, and I downloaded swank-picolisp and copied your configuration except the picolisp command ,--- | usr/bin/picolisp/p `--- I have a problem t

Re: How to get the signature of function and method definitions

2011-11-14 Thread Alexander Burger
Hi Thorsten, > ,- > | visit-tags-table-buffer: > | File /home/tj1/bin/picoLisp/src64/tags is not a valid tags table > `- > > Is t

Re: How to get the signature of function and method definitions

2011-11-14 Thread Thorsten
Alexander Burger writes: Hi Alex, > On Mon, Nov 14, 2011 at 01:38:56PM +0100, Alexander Burger wrote: >> I think that the necessary tags are already there, or can be easily > I'm assuming that emacs can use the 'vi' tag file format. Am I wrong? I'm afraid not, I used ,---

Re: How to get the signature of function and method definitions

2011-11-14 Thread Henrik Sarvell
1.) Lisp level functions are handled anyway by the jump to documentation script. 2.) It's only a problem when jumping as you then jump to the incorrect file but since I don't do much global functions anyway this is not a problem for me, if I jump to http for instance I end up in the right file. 3.)

Re: How to get the signature of function and method definitions

2011-11-14 Thread Tomas Hlavaty
Hi Thorsten, > So you use the same commands/keybindings for all those different lisp > dialects? I do, but you can customize that if you wish. > Didn't know that there is a R backend for slime/swank. http://common-lisp.net/~crhodes/swankr/ Cheers, Tomas -- UNSUBSCRIBE: mailto:picolisp@softwa

Re: How to get the signature of function and method definitions

2011-11-14 Thread Alexander Burger
Hi Henrik, > Not much to it, I do things "old school" ie I put the download in > /opt/picolisp and simply cd there in a shell and do: ctags -e -R > --languages=-JavaScript,-PHP,-C,-Make,-HTML > > This will recursively loop through all the folders and generate tags > for everything, for instance a

Re: How to get the signature of function and method definitions

2011-11-14 Thread Henrik Sarvell
It's at the end here: http://www.prodevtips.com/2010/09/29/emacs-color-themes-tags-cedet-ecb-and-other-customizations/ Not much to it, I do things "old school" ie I put the download in /opt/picolisp and simply cd there in a shell and do: ctags -e -R --languages=-JavaScript,-PHP,-C,-Make,-HTML Thi

Re: How to get the signature of function and method definitions

2011-11-14 Thread Thorsten
Alexander Burger writes: Hi Alex, > On Mon, Nov 14, 2011 at 01:38:56PM +0100, Alexander Burger wrote: >> I think that the necessary tags are already there, or can be easily > > I'm assuming that emacs can use the 'vi' tag file format. Am I wrong? I must admit I'm a bit overwhelmed by all the new

Re: How to get the signature of function and method definitions

2011-11-14 Thread Alexander Burger
On Mon, Nov 14, 2011 at 01:38:56PM +0100, Alexander Burger wrote: > I think that the necessary tags are already there, or can be easily I'm assuming that emacs can use the 'vi' tag file format. Am I wrong? -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: How to get the signature of function and method definitions

2011-11-14 Thread Alexander Burger
Hi Henrik, Thorsten, > > Because with the help of CTags I can jump to any defined function or > > method in a .l file. > > I tried it once to set up TAG files, but I didn't really succeed. I think > I have to read a bit more in the Emacs manual and then try your tutorial > again. TAGS seem to be

Re: How to get the signature of function and method definitions

2011-11-14 Thread Thorsten
Tomas Hlavaty writes: Hi Tomas, >> Thats quite impressive, thanks. I thought slime/swank is only for >> communication with compiled lisps, but well ... > > slime/swank is a client/server protocol. There are backends e.g. for > Common Lisp, Scheme, Clojure, R, Picolisp and probably more. It is

Re: How to get the signature of function and method definitions

2011-11-14 Thread Thorsten
Henrik Sarvell writes: Hi Henrik, > Does it matter if you can see the definition instead of simply jumping > to it? not really. > Because with the help of CTags I can jump to any defined function or > method in a .l file. I tried it once to set up TAG files, but I didn't really succeed. I thi

Re: How to get the signature of function and method definitions

2011-11-12 Thread Tomas Hlavaty
Hi Thorsten, > Thats quite impressive, thanks. I thought slime/swank is only for > communication with compiled lisps, but well ... slime/swank is a client/server protocol. There are backends e.g. for Common Lisp, Scheme, Clojure, R, Picolisp and probably more. It is not difficult to write a new

Re: How to get the signature of function and method definitions

2011-11-12 Thread Tomas Hlavaty
Hi Thorsten, > don't post that output again since it was quite 'toxic' the last time > - all my mails turned blue in emacs-gnus (due to unprintable > characters?) and I had to restart gnus. ha, I wondered why everything turned blue;-) Tomas -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subje

Re: How to get the signature of function and method definitions

2011-11-11 Thread Henrik Sarvell
Does it matter if you can see the definition instead of simply jumping to it? Because with the help of CTags I can jump to any defined function or method in a .l file. With jump to documentation you basically get this functionality for the built in functions. On Sat, Nov 12, 2011 at 2:44 AM, T

Re: How to get the signature of function and method definitions

2011-11-11 Thread Thorsten
Tomas Hlavaty writes: > Hi Tomas, > >> I remember that Alex recently mentioned a method how to get the >> signature of any function or method definition loaded in the system. >> Unfortunately, I could not find the related post again. >> >> Any hints where I have to look would be appreciated. > >

Re: How to get the signature of function and method definitions

2011-11-11 Thread Thorsten
Alexander Burger writes: Hi Alex, > >> > Perhaps the output mode (console cooked vs. raw) is not right? Does it >> > behave correctly if you start it - without emacs - just from the shell >> > >> >$ pil + >> > >> > in the default way? >> >> picolisp does work from the shell - but not 'doc:

Re: How to get the signature of function and method definitions

2011-11-11 Thread Alexander Burger
Hi Thorsten, > > Perhaps the output mode (console cooked vs. raw) is not right? Does it > > behave correctly if you start it - without emacs - just from the shell > > > >$ pil + > > > > in the default way? > > picolisp does work from the shell - but not 'doc: > > ,---

Re: How to get the signature of function and method definitions

2011-11-11 Thread Thorsten
Alexander Burger writes: Hi Alex, > Perhaps the output mode (console cooked vs. raw) is not right? Does it > behave correctly if you start it - without emacs - just from the shell > >$ pil + > > in the default way? picolisp does work from the shell - but not 'doc: ,

Re: How to get the signature of function and method definitions

2011-11-11 Thread Tomas Hlavaty
Hi Thorsten, > I remember that Alex recently mentioned a method how to get the > signature of any function or method definition loaded in the system. > Unfortunately, I could not find the related post again. > > Any hints where I have to look would be appreciated. have a look at $ git clone

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > > By default, 'doc' simply calls the 'w3m' browser (if neither a browser > > is in the environment variable BROWSER, nor one was passed as a second > > argument to 'doc'). > > I do use w3m and w3m-mode for emacs, and now I exported a new > environment variable BROWSER=w3m - and w3m

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Alexander Burger writes: Hi Alex, >> > by looking at it with an editor (sorry, only 'vim' at the moment), >> > >> >: (vi 'insert) >> >> that was another question of mine - what would it take to get a >> >> , >> | (emacs 'insert) >> ` >> >> function, and a

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > > by looking at it with an editor (sorry, only 'vim' at the moment), > > > >: (vi 'insert) > > that was another question of mine - what would it take to get a > > , > | (emacs 'insert) > ` > > function, and a > > ,--- > | (edit 'i

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Alexander Burger writes: Hi Alex, >> I remember that Alex recently mentioned a method how to get the >> signature of any function or method definition loaded in the system. > > I'm not completely sure what you mean with signature in this context. > > > You can inspect a function by pretty-printi

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Henrik Sarvell writes: > I don't know if this is exactly what you want but (all) can be used to > inspect stuff, an example of getting all loaded classes: > > (de getClasses () > > (filter > '((S) > (and > (= `(char "+") (char S)) > (type S))) > (all))

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > I remember that Alex recently mentioned a method how to get the > signature of any function or method definition loaded in the system. I'm not completely sure what you mean with signature in this context. You can inspect a function by pretty-printing, : (pp 'insert) (de in

Re: How to get the signature of function and method definitions

2011-11-10 Thread Henrik Sarvell
I don't know if this is exactly what you want but (all) can be used to inspect stuff, an example of getting all loaded classes: (de getClasses () (filter '((S) (and (= `(char "+") (char S)) (type S))) (all))) On Thu, Nov 10, 2011 at 7:27 PM, Thorsten