[slime-devel] Re: Enhanced slime-list-connections

Peter Seibel peter at javamonkey.com
Thu Feb 26 22:31:51 UTC 2004


Helmut Eller <e9626484 at stud3.tuwien.ac.at> writes:

> Try to avoid regexps, if you can. "Text properties" are the Emacs
> way of adding auxiliary data to regions. You should define a text
> property, say 'slime-connection', and set it for each line when you
> initialize the buffer with something like
> 
>   (add-text-properties line-start line-end 'slime-connection <connection>)
> 
> To extract the connection for the line you can then use
> (get-text-property (point) 'slime-connection). The debugger code or
> the apropos command contain plenty of examples for text properties.

Fixed.

-Peter

-- 
Peter Seibel                                      peter at javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp





More information about the slime-devel mailing list