<ffffff_flight>
https://bpa.st/Q3UA - I feel like Emacs indented the "collect" strangely. How do other editors indent the find-problems function?
<ixelp>
View paste Q3UA
<thuna`>
ffffff_flight: That's controlled by one of the "lisp.*loop" variables, maybe sly-lisp-loop-indent-subclauses
King_julian has quit [Ping timeout: 245 seconds]
<ffffff_flight>
thuna`: I'll take a look at that. I didn't realize it was configurable. ...but I shouldn't be surprised.
<ffffff_flight>
What's kind of funny is that when I switched the buffer to emacs-lisp-mode and reindented the function, it did what I believe is the right thing such that for, when, and collect are all lined up.
<dlowe>
I think that's correct indentation
<dlowe>
it shows that the collect is within the scope of the when
<ffffff_flight>
oh, is that how you read that. that kinda makes sense in that context.
King_julian has joined #commonlisp
* ffffff_flight
is new to loop and CL
<dlowe>
The collect doesn't happen if the when condition is false (NIL)
<ffffff_flight>
right
zwr has quit [Read error: Connection reset by peer]
Pixel_Outlaw has joined #commonlisp
zwr has joined #commonlisp
cmack` has quit [Read error: Connection reset by peer]
cmack` has joined #commonlisp
treflip has joined #commonlisp
donlcn has joined #commonlisp
ffffff_flight has quit [Ping timeout: 244 seconds]
treflip has quit [Read error: Connection reset by peer]
treflip has joined #commonlisp
rgherdt`` has joined #commonlisp
rgherdt` has quit [Ping timeout: 272 seconds]
jonatack has quit [Ping timeout: 252 seconds]
treflip has quit [Ping timeout: 245 seconds]
Oddity_ has joined #commonlisp
Oddity has quit [Ping timeout: 265 seconds]
Oddity has joined #commonlisp
cmack` has quit [Remote host closed the connection]
cmack` has joined #commonlisp
Oddity_ has quit [Ping timeout: 252 seconds]
rgherdt`` has quit [Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
bpanthi977 has joined #commonlisp
josrr has quit [Ping timeout: 268 seconds]
bpanthi977 has quit [Ping timeout: 272 seconds]
TactfulCitrus has joined #commonlisp
bpanthi977 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
cmack` has quit [Read error: Connection reset by peer]
Everything has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
ewig has quit [Ping timeout: 268 seconds]
bpanthi977 has quit [Ping timeout: 248 seconds]
zxcvz has quit [Quit: zxcvz]
<decweb>
I've noticed the indentation is sometimes off until some additional tokens are added, depending on how/when the indentation occurs.
Gleefre has quit [Remote host closed the connection]
triffid has quit [Remote host closed the connection]
istewart has joined #commonlisp
triffid has joined #commonlisp
pve has quit [Quit: leaving]
kevingal has quit [Ping timeout: 244 seconds]
attila_lendvai has joined #commonlisp
GalaxyNova has joined #commonlisp
Jach has joined #commonlisp
Jach has left #commonlisp [#commonlisp]
kevingal has joined #commonlisp
ebrasca has quit [Ping timeout: 245 seconds]
Lycurgus has joined #commonlisp
mwnaylor has quit [Remote host closed the connection]
rtypo has quit [Ping timeout: 276 seconds]
mwnaylor has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
admich1 has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
rkazak has quit [Changing host]
rkazak has joined #commonlisp
GalaxyNova has quit [Quit: :3]
admich1 has joined #commonlisp
donlcn has quit [Ping timeout: 276 seconds]
rgherdt`` has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
rgherdt` has quit [Ping timeout: 265 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
rgherdt`` has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 272 seconds]
rbcarleton has joined #commonlisp
shawnw has quit [Quit: Konversation terminated!]
kevingal has quit [Ping timeout: 260 seconds]
<thuna`>
How do you decline in a handler?
<tux0r>
depends on the handler
<thuna`>
Could you give an example?
<tux0r>
what do you even handle in your case?
<thuna`>
I'm catching errors and returning nil when I do so. I wanted to make it optional, so that if a CATCH-ERRORS argument is nil it'll let the errors through. I know I can do #'error as the handler, but I saw "If the handler declines..." in the description of HANDLER-BIND, with no explanation of what that means, and got curious
<kagevf>
thuna`: I think "if the handler declines" means that the handler just "returns normally" instead of doing a non-local exit
<thuna`>
Ah, I see, I was thinking of it like HANDLER-CASE