
26 Feb
2004
26 Feb
'04
10:31 p.m.
Helmut Eller <e9626484@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@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp