<cgay>
I would make it customizable. I guess the only controvisial part would be if I change the default, and as you note there is currently no single default value.
<cgay>
I'm fairly new to Slime, but so far I've found that it doesn't do a good job of fitting the referencing definition within the emacs window.
<cgay>
So the context is not as good as it could be.
<cgay>
In fact, I don't think it makes any attempt to do that at all. Maybe that's the real fix I should make.
_whitelogger has joined #slime
cgay has quit [Ping timeout: 244 seconds]
cgay has joined #slime
_whitelogger has joined #slime
makomo has joined #slime
makomo has quit [Ping timeout: 268 seconds]
scymtym has quit [Remote host closed the connection]
prite has joined #slime
makomo has joined #slime
makomo has quit [Ping timeout: 240 seconds]
_whitelogger has joined #slime
cgay has quit [Ping timeout: 245 seconds]
cgay has joined #slime
<luis>
cgay: in that case you've mentioned, SLIME explictly redisplays the buffer so that the matched xref is on line 2.
prite has quit [Ping timeout: 240 seconds]
scymtym has joined #slime
prite has joined #slime
scymtym has quit [Ping timeout: 240 seconds]
prite has quit [Ping timeout: 244 seconds]
<cgay>
Yes, that's the behavior I want to change.
<cgay>
Although, now that I'm using it on a tty I see there's no indication where the caller actually is. Maybe that's the reason for putting it at a predictable, easy-to-find location, rather than maximizing context.
<cgay>
Sigh.
<cgay>
Everything sucks.
<cgay>
fe[nl]ix: wake up!!
<cgay>
Is there a way to list *all* xrefs of a symbol rather than having to separately invoke who-calls, who-references, who-sets, etc?
<fiddlerwoaroof>
cgay: are you using a -color $TERM?
<fiddlerwoaroof>
e.g. export TERM=xterm-256color or TERM=xterm-color
<cgay>
screen.xterm-256color
<cgay>
If you have a (deftype foo ...) and refer to it with (typep x 'foo) I don't think any reference is recorded?
<cgay>
Honestly, I'm surprised xrefs are so compartmentalized. I don't remember it being this way on the LispM and it doesn't seem useful?
<cgay>
(I'll be here all night, I've had some wine.)
<luis>
cgay: see M-?
<luis>
cgay: displaying the definition at the top has the benefit of maximising the chances that the complete definition will be displayed. That seems more useful than displaying whichever definitions precede it.
<cgay>
Thanks, luis. That's not documented well, so I'm not sure what it does exactly. I will play with it.
<cgay>
luis, i don't think it maximised the chances the complete definition will be displayed since it makes no effort to make sure the beginning of the definition is on-screen (apparently).
<cgay>
I could be wrong about any of this since I'm a relative newb.
<cgay>
Importantly, the beginning of the definition has the parameter list and docstring.