jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
Inline has quit [Quit: Leaving]
g-gundam has quit [Remote host closed the connection]
Inline has joined #commonlisp
mala has quit [Ping timeout: 276 seconds]
mala has joined #commonlisp
ixelp has quit [Ping timeout: 276 seconds]
ixelp has joined #commonlisp
semz has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
mwnaylor has quit [Remote host closed the connection]
semz has joined #commonlisp
mwnaylor has joined #commonlisp
stanrifkin has joined #commonlisp
mala has quit [Quit: ZNC 1.6.1 - http://znc.in]
mala has joined #commonlisp
JuanDaugherty has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
jonatack has joined #commonlisp
ixelp has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 244 seconds]
JuanDaugherty has quit [Quit: irc.renjuan.org (juan@acm.org)]
decweb has joined #commonlisp
ixelp has joined #commonlisp
admich1 has quit [Ping timeout: 252 seconds]
chomwitt has quit [Ping timeout: 276 seconds]
jonatack has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
malaclyps has joined #commonlisp
mala has quit [Ping timeout: 244 seconds]
molson has quit [Quit: Leaving]
admich1 has joined #commonlisp
samesame has joined #commonlisp
Bubblegumdrop has quit [Ping timeout: 272 seconds]
jA_cOp_ has joined #commonlisp
jA_cOp has quit [Ping timeout: 244 seconds]
deadmarshal_ has quit [Remote host closed the connection]
Bubblegumdrop has joined #commonlisp
random-nick has quit [Ping timeout: 276 seconds]
malaclyps has quit [Quit: ZNC 1.6.1 - http://znc.in]
mala has joined #commonlisp
mala has quit [Read error: Connection reset by peer]
decweb has quit [Quit: Konversation terminated!]
puke has quit [Remote host closed the connection]
puke has joined #commonlisp
Inline has quit [Quit: Leaving]
mala has joined #commonlisp
makomo has quit [Ping timeout: 265 seconds]
deadmarshal_ has joined #commonlisp
rbcarleton has quit [Quit: rbcarleton]
ello has quit [Read error: Connection reset by peer]
ello_ has quit [Read error: Connection reset by peer]
ello has joined #commonlisp
ello_ has joined #commonlisp
stanrifkin_ has joined #commonlisp
stanrifkin has quit [Ping timeout: 272 seconds]
jon_atack has quit [Read error: Connection reset by peer]
decweb has joined #commonlisp
decweb has quit [Client Quit]
g-gundam has joined #commonlisp
g-gundam has quit [Changing host]
g-gundam has joined #commonlisp
soweli_iki has joined #commonlisp
_whitelogger has joined #commonlisp
diva_cat has quit [Ping timeout: 272 seconds]
gnoo has quit [Ping timeout: 272 seconds]
gnoo has joined #commonlisp
nytpu has quit [Remote host closed the connection]
nytpu has joined #commonlisp
gnoo has quit [Ping timeout: 252 seconds]
admich1 has quit [Read error: Connection reset by peer]
Lord_of_Life_ has joined #commonlisp
gnoo has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 276 seconds]
admich1 has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
kenran has joined #commonlisp
leeb has joined #commonlisp
_whitelogger has joined #commonlisp
kenran has quit [Remote host closed the connection]
kenran has joined #commonlisp
chomwitt has joined #commonlisp
pve has joined #commonlisp
Everything has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
iNomad has quit [Quit: leaving]
donlcn has joined #commonlisp
flip214 has joined #commonlisp
rgherdt has joined #commonlisp
kenran has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 265 seconds]
cmack` has joined #commonlisp
cmack has quit [Ping timeout: 252 seconds]
donlcn has quit [Ping timeout: 265 seconds]
samebchase has quit [Remote host closed the connection]
kenran has joined #commonlisp
King_julian has quit [Ping timeout: 248 seconds]
King_julian has joined #commonlisp
thuna` has joined #commonlisp
edgar-rft` has joined #commonlisp
edgar-rft has quit [Ping timeout: 252 seconds]
apac has joined #commonlisp
donlcn has joined #commonlisp
samesame has quit [Ping timeout: 248 seconds]
runxiyu has quit [Ping timeout: 260 seconds]
runxiyu has joined #commonlisp
admich1 has quit [Remote host closed the connection]
admich1 has joined #commonlisp
mgl has joined #commonlisp
donlcn has quit [Ping timeout: 252 seconds]
mesaoptimizer has quit [Quit: WeeChat 4.0.4]
JuanDaugherty has joined #commonlisp
leeb_ has joined #commonlisp
leeb has quit [Ping timeout: 252 seconds]
younder has quit [Ping timeout: 268 seconds]
donlcn has joined #commonlisp
ingeniot has joined #commonlisp
treflip has joined #commonlisp
treflip has quit [Client Quit]
anticomputer_ has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
ingeniot has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
King_julian has quit [Ping timeout: 252 seconds]
King_julian has joined #commonlisp
rbcarleton has joined #commonlisp
rbcarleton has quit [Quit: rbcarleton]
apac has quit [Ping timeout: 252 seconds]
<beach> In SBCL (2.4.8), I can write (defmacro foo (&optional (y x) &environment x) `(list ,x ,y)) but is that conforming behavior?
<beach> Let's try CCL. ,(defmacro foo (&optional (y x) &environment x) `(list ,x ,y)) ,(macroexpand-1 '(foo))
<ixelp> (defmacro foo (&optional (y x) &environment x) `(list ,x ,y)) => FOO, also (macroexpand-1 '(foo)) => (LIST NIL NIL); T
<beach> Same.
<beach> Ah, yes it is.
<beach> "the &environment parameter is bound along with &whole before any other variables in the lambda list, regardless of where &environment appears in the lambda list."
JuanDaugherty has quit [Read error: Connection reset by peer]
rbcarleton has joined #commonlisp
Oddity has quit [Ping timeout: 276 seconds]
rbcarleton has quit [Client Quit]
makomo has joined #commonlisp
admich1 has quit [Ping timeout: 252 seconds]
decweb has joined #commonlisp
admich1 has joined #commonlisp
stanrifkin_ has left #commonlisp [Leaving]
donlcn has quit [Remote host closed the connection]
donlcn has joined #commonlisp
chomwitt has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
admich1 has quit [Ping timeout: 252 seconds]
prokhor-zhakarov has quit [Remote host closed the connection]
apac has joined #commonlisp
Lord_of_Life has quit [Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine]
Lord_of_Life has joined #commonlisp
rbcarleton has joined #commonlisp
rbcarleton has quit [Quit: rbcarleton]
rbcarleton has joined #commonlisp
apac has quit [Ping timeout: 265 seconds]
rbcarleton has quit [Client Quit]
rbcarleton has joined #commonlisp
rbcarleton has quit [Client Quit]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
random-nick has joined #commonlisp
Everything has quit [Quit: leaving]
admich1 has joined #commonlisp
scymtym has quit [Ping timeout: 248 seconds]
scymtym has joined #commonlisp
yitzi has joined #commonlisp
kurfen has quit [Ping timeout: 272 seconds]
rbcarleton has joined #commonlisp
wbooze has joined #commonlisp
cdegroot has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
admich1 has quit [Ping timeout: 252 seconds]
admich1 has joined #commonlisp
rgherdt has quit [Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
prokhor-zhakarov has joined #commonlisp
jonatack has joined #commonlisp
rbcarleton has quit [Quit: rbcarleton]
admich1 has quit [Ping timeout: 276 seconds]
rgherdt has joined #commonlisp
admich1 has joined #commonlisp
Everything has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
rbcarleton has joined #commonlisp
rbcarleton has quit [Client Quit]
ciuhh has joined #commonlisp
yitzi has quit [Ping timeout: 268 seconds]
yitzi has joined #commonlisp
yitzi has quit [Client Quit]
random-jellyfish has joined #commonlisp
random-jellyfish has quit [Changing host]
random-jellyfish has joined #commonlisp
yitzi has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
<random-jellyfish> how do I get the file name and line number of a warning? at least the file name, line number optional
zwr has joined #commonlisp
ciuhh has quit [Remote host closed the connection]
gnoo has quit [Ping timeout: 245 seconds]
gnoo has joined #commonlisp
donlcn has quit [Ping timeout: 252 seconds]
<beach> random-jellyfish: Isn't that obvious from the REPL buffer?
yitzi has quit [Ping timeout: 248 seconds]
<random-jellyfish> Unfortunately not so obvious, it just gives me the path to a .fasl file from which I guess I can figure out the source file name. The problem is that the warning comes from inside a file that is loaded by the respective source file.
<beach> Hmm, I see.
<random-jellyfish> I mean I can find it eventually, but it's a lot of work and it's very distracting...if the errors/warnings are deeper it gets even messier
<random-jellyfish> I think this is a major drawback for common lisp, we should be able to find the exact source location of errors and warnings...
Oladon has joined #commonlisp
<beach> It is not a drawback of Common Lisp at all. It is a problem with the implementation.
<beach> But I understand your frustration.
<random-jellyfish> I use sbcl
<random-jellyfish> Are commercial implementations addressing this issues? I haven't tried any yet
<beach> Me neither, so I don't know.
<beach> Even if they don't, that's still not a problem with the language.
yitzi has joined #commonlisp
<Shinmera> conditions don't have a "file" at all. The stack frame in which it is signalled may have a recorded source position.
<beach> Good point. Thanks for the clarification.
rbcarleton has joined #commonlisp
<Shinmera> So first you need to access the stack frame, which you can only do if you are on top of the stack (via handler-bind). Then you can use implementation internal functions to try and access that information and hope it is provided. The library Dissect may help with that.
<Shinmera> In Slime/Sly's debugger you can typically just hit V on the frame you care about to jump to the source location, if it is recorded.
<beach> But the implementation could have been more helpful by including source information in the condition.
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
yitzi has joined #commonlisp
<random-jellyfish> Shinmera, I'm loading a system like this: (sb-introspect:who-calls 'system-lisp:int-get-slice) and I get some warnings, is it possible to stop in the stack frame on a warning to use the V-key solution?
<random-jellyfish> sorry wrong form
<random-jellyfish> (asdf:load-system :system-lisp/tests :force t :verbose t)
<random-jellyfish> this is how I load the system
shka has joined #commonlisp
<Shinmera> ASDF obscures these errors, so I'm afraid not. Blame ASDF for that one.
<Shinmera> you can try to use *break-on-signals* to force a debugger
<Shinmera> typically however SBCL will tell you the file in which the warning occurred and the form that produced it on the REPL
Oddity has joined #commonlisp
<random-jellyfish> using *break-on-signals* does bring up the stack frame on warnings but I can't find any item in the stack that can get me to the source code with the V key
treflip has joined #commonlisp
JuanDaugherty has joined #commonlisp
lucasb has joined #commonlisp
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 244 seconds]
treflip` has quit [Read error: Connection reset by peer]
treflip` has joined #commonlisp
donlcn has joined #commonlisp
<beach> random-jellyfish: Are you using a DEBUG quality 3? The default is lower.
<beach> Not that I understand why it is lower by default, but hey.
iNomad has joined #commonlisp
random-jellyfish has quit [Ping timeout: 248 seconds]
random-jellyfish has joined #commonlisp
random-jellyfish has joined #commonlisp
random-jellyfish has quit [Changing host]
<random-jellyfish> beach, I do a declaim before I load the system with asdf
<random-jellyfish> (declaim (optimize (debug 3) (safety 3) (speed 0)))
chrcav has quit [Ping timeout: 245 seconds]
wbooze has quit [Quit: Leaving]
overclucker has quit [Read error: Connection reset by peer]
overclucker has joined #commonlisp
chrcav has joined #commonlisp
iNomad has quit [Quit: leaving]
donlcn has quit [Ping timeout: 252 seconds]
treflip` has quit [Ping timeout: 260 seconds]
JuanDaugherty has quit [Quit: irc.renjuan.org (juan@acm.org)]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
SummerEmacs has quit [Remote host closed the connection]
kenran has quit [Remote host closed the connection]
SummerEmacs has joined #commonlisp
Everything has quit [Quit: leaving]
donlcn has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
overclucker has joined #commonlisp
lucasb has quit [Quit: Connection closed for inactivity]
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Oladon has quit [Quit: Leaving.]
admich1 has quit [Ping timeout: 244 seconds]
King_julian has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
King_julian has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
notzmv has joined #commonlisp
Gleefre has quit [Ping timeout: 240 seconds]
pve has quit [Quit: leaving]
fart_cat has joined #commonlisp
dra has quit [Ping timeout: 252 seconds]
bpanthi977 has quit [Ping timeout: 245 seconds]
brainfunnel has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
yaneko has quit [Quit: parting]
bpanthi977 has joined #commonlisp
yaneko has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
admich1 has quit [Ping timeout: 260 seconds]
kiyafirs has joined #commonlisp
chomwitt has quit [Ping timeout: 272 seconds]
attila_lendvai has quit [Ping timeout: 265 seconds]
bpanthi977 has joined #commonlisp
admich1 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
mgl has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
donlcn has quit [Ping timeout: 252 seconds]
rgherdt has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 265 seconds]
decweb has quit [Quit: Konversation terminated!]
decweb has joined #commonlisp
bpanthi977 has quit [Ping timeout: 268 seconds]
jeffrey has joined #commonlisp
wbooze has joined #commonlisp
thuna` has quit [Ping timeout: 276 seconds]
garlic0x18 has joined #commonlisp
garlic0x1 has quit [Ping timeout: 245 seconds]
garlic0x18 is now known as garlic0x1
developer_ has joined #commonlisp
JuanDaugherty has joined #commonlisp
random-jellyfish has quit [Ping timeout: 245 seconds]