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-15 Thread Thorsten
Alexander Burger a...@software-lab.de 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 | |

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-path,

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

2011-11-15 Thread Thorsten
Alexander Burger a...@software-lab.de 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:

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? Can

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 Thorsten
Tomas Hlavaty t...@logand.com 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 Thorsten
Tomas Hlavaty t...@logand.com 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

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

2011-11-14 Thread Thorsten
Henrik Sarvell hsarv...@gmail.com 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

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 really

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 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 This

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 all my

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.

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

2011-11-14 Thread Thorsten
Alexander Burger a...@software-lab.de 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 Alexander Burger
Hi Thorsten, ,- | visit-tags-table-buffer: | File /home/tj1/bin/picoLisp/src64/tags is not a valid tags table `- Is that

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

2011-11-14 Thread Thorsten
Tomas Hlavaty t...@logand.com 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

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-11 Thread Thorsten
Alexander Burger a...@software-lab.de 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: ,-

How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Hi list, 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. cheers -- Thorsten -- UNSUBSCRIBE:

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

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

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

2011-11-10 Thread Thorsten
Alexander Burger a...@software-lab.de 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

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 'insert)

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

2011-11-10 Thread Thorsten
Alexander Burger a...@software-lab.de 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