<Bike>
it's kind of a pain to remember everything you need to use it interactively, though
<Bike>
my recommendation is to open up the slime inspector (or whatever inspector in the ide), it has a convenient interface for removing methods
euandreh has quit [Ping timeout: 260 seconds]
<beach>
For interactive use, yes, that's much better. I recommend Clouseau.
euandreh has joined #commonlisp
taiju_ has joined #commonlisp
<Bike>
a while back someone defined an "undefmethod" or something macro, where you'd just write the defmethod form but with "undefmethod" and it would remove it for you, but i don't know where it went
<zacque>
Ah, thanks for pointing me to `remove-method`!
<beach>
It is a bit tricky to use, because you need to find the method to remove. So I would use it only programmatically.
<Bike>
yeah. you'll need find-method to get the method, and it's a little finicky
<zacque>
Bike: How to `M-x slime-inspect` a method object? Then unbind it?
<Bike>
inspect the generic function
<Bike>
`M-x slime-inspect` and then enter `#'foo` or whatever
<Bike>
from there it should be pretty clear what to do
semz_ has joined #commonlisp
<zacque>
Wow, that's handy
<zacque>
Was doing it the stupid way ha!
Spawns_Carpeting has quit [Quit: WeeChat 3.4.1]
Spawns_Carpeting has joined #commonlisp
Spawns_Carpeting has quit [Client Quit]
semz has quit [Ping timeout: 248 seconds]
hhdave has quit [Ping timeout: 250 seconds]
lisp123 has joined #commonlisp
occ has quit [Ping timeout: 272 seconds]
lisp123 has quit [Ping timeout: 256 seconds]
Spawns_Carpeting has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
yauhsien has joined #commonlisp
taiju_ has quit [Ping timeout: 240 seconds]
yauhsien has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
Guest74 has joined #commonlisp
taiju_ has joined #commonlisp
occ has joined #commonlisp
hhdave has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Bike has quit [Quit: Connection closed]
yauhsien has joined #commonlisp
parjanya has quit [Ping timeout: 240 seconds]
akoana has quit [Quit: leaving]
hhdave has quit [Ping timeout: 246 seconds]
[deleted] has quit [Read error: Connection reset by peer]
livoreno has joined #commonlisp
ns125 has joined #commonlisp
ns12 has quit [Read error: Connection reset by peer]
ns125 is now known as ns12
zeroc00l0 has joined #commonlisp
hhdave has joined #commonlisp
taiju_ has quit [Ping timeout: 250 seconds]
taiju_ has joined #commonlisp
<contrapunctus>
I'm getting this error and I can't figure out why :\ `unknown type specifier: TRIVIA.LEVEL2:PLIST` ...I didn't change anything Trivia-related! 🤔️
<zacque>
Just to confirm, the method combination + doesn't support both :before and :after qualifiers?
<beach>
Only :AROUND.
<zacque>
Ah, I see
<zacque>
beach: Does the same applicable all other non-standard method combinations? E.g. min, max, list, nconc, ...
<beach>
contrapunctus: Look at the source line that caused the error to be signaled.
<beach>
zacque: Yes.
<zacque>
beach: Phew, thank you!
rotateq has quit [Quit: ERC (IRC client for Emacs 27.2)]
<beach>
Sure.
lisp123 has joined #commonlisp
<contrapunctus>
something is causing an actual plist to be assigned to TRIVIA.LEVEL2:PLIST
<contrapunctus>
(or at least that's what I can make out from the debugger)
<unixlisp>
your package (:use :trivia), then plist is trivia.level2:plist , try not (:use :trivia). (a guess, not try your program)
s-liao has quit [Ping timeout: 250 seconds]
<contrapunctus>
unixlisp: I tried that. The error persists regardless of whether I `(:use :trivia)` or `(:import-from :trivia :let-match :let-match*)` ...
occ has quit [Ping timeout: 256 seconds]
yauhsien has joined #commonlisp
<contrapunctus>
If I omit :plist from that, I get a different error; if I don't, I get the same `unknown type specifier` error.
<unixlisp>
why (check-type plist plist)? Have you defined a type plist?
unixlisp has quit [Quit: Client closed]
lisp123 has joined #commonlisp
unixlisp has joined #commonlisp
prokhor_ has joined #commonlisp
<contrapunctus>
unixlisp: oh, thanks for pointing that out. Vestiges of this code's Emacs Lisp origins 😅️
prokhor__ has quit [Ping timeout: 250 seconds]
<unixlisp>
hope you can translate more elisp to CL :)
unixlisp has quit [Quit: Client closed]
<contrapunctus>
happy to never type `cl-{loop|first|defgeneric|defmethod|the}` again 😏️
<Nilby>
every time emacs says "Package cl is deprecated" :(
<jackdaniel>
(delete-package "CL") then
<jackdaniel>
(without-package-locks … *)
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
<Nilby>
I wish. It doesn't even have cl-delete-package. I wish I could just "apt remove emacs" and (ql:quickload :modern-zmacs)
<zacque>
My problem is that SBCL fails to search for the shared library installed by GNU Guix, when invoked with `guix shell ...`
treflip has quit [Remote host closed the connection]
<zacque>
I found that simply hardcoding the LD_LIBRARY_PATH value when invoking sbcl helps to solve the problem
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
taiju_ has quit [Ping timeout: 250 seconds]
cage has joined #commonlisp
taiju_ has joined #commonlisp
<johnjaye>
it took me 5 minutes of googling to determine slime and swank are in fact the same thing
<johnjaye>
also... what is zmacs? was that the emacs on the lisp machine?
<pjb>
johnjaye: just like male and female, yin and yang, day and night, etc.
<pjb>
johnjaye: note: there's sly, slimv and other implementations of slime.
<johnjaye>
interesting. did not know that either!
<jackdaniel>
pjb: sly is slime's fork, slimv is a client to swank protocol
<jackdaniel>
I wouldn't call them "implementations of slime", because slime is not any kind of a standard.
Everything has quit [Quit: leaving]
lagash has quit [Remote host closed the connection]
<pjb>
jackdaniel: is swank forked too?
<pjb>
swank gives a de-facto standard protocol to interact between an emacs and a CL implementation.
<jackdaniel>
yes, sly has a "slynk" server
<pjb>
ok, so remove sly.
<jackdaniel>
there was also (suposedly) clim client for the swank protocol called swine
lagash has joined #commonlisp
<beach>
And people complain about the names I give to some of my software.
dec0d3r has quit [Quit: Leaving]
<johnjaye>
^
<johnjaye>
i'm not sure which is worse, using a common term like 'apple' or 'nougat' or mispelling said common term
<pjb>
I'm on the side of IBM here. Call your program IEBFR14 or something like that.
<White_Flame>
I usually just prefix "wf" to a generic term to come up with unique names for my stuff
<johnjaye>
sort of like how before iso 646 there were 645 iso standards noone cares about?
<jackdaniel>
if I ever write a computer program I will call it project-name, because that's a default in the template
<Guest74>
do you use a project creator/manager?
<johnjaye>
myproject
treflip has joined #commonlisp
<jackdaniel>
not really, I have a template/ directory
<johnjaye>
or better. myproject-0422
<Guest74>
ah, interested in what everybody does in that regard.
Noisytoot has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
zacque has quit [Quit: Goodbye :D]
<jackdaniel>
also, if we are callng dibs on project name, then I'm reserving "clueless"; a program to write autobiographies
notzmv has joined #commonlisp
<johnjaye>
i guess the ultimate naming scheme is just the date or hashes of the date
<johnjaye>
name each function that too. hash of the time in milliseconds since 1970
<jackdaniel>
no, because you won't be able to tell a difference between commits. it should be a hash of all source code
Brucio-61 has joined #commonlisp
lisp123 has joined #commonlisp
Brucio-61 has quit [Ping timeout: 250 seconds]
lisp123 has quit [Ping timeout: 250 seconds]
<semz>
would avoid the asdf/alexandria problems :p
robin_ has joined #commonlisp
robin_ has quit [Remote host closed the connection]
robin has quit [Ping timeout: 250 seconds]
<johnjaye>
i haven't used asdf enough to understand its problems
Dynom has joined #commonlisp
Cymew has quit [Ping timeout: 256 seconds]
Brucio-61 has joined #commonlisp
<johnjaye>
what's the command in quicklisp to figure out how to run a package?
<johnjaye>
as in (ql:quickload "mypkg")
<beach>
You can't run packages.
<johnjaye>
what can i run then
<beach>
You can call functions. A package is a mapping from strings to symbols.
<White_Flame>
there is no singular entry point
<White_Flame>
whatever it exposes is what it exposes, could be a tool, library, application, etc
anticomputer_ has quit [Ping timeout: 240 seconds]
<johnjaye>
right...
<White_Flame>
of course, you can do package-name:<tab> and see what completes
<White_Flame>
but generally you want to go find the docs
anticomputer has joined #commonlisp
rotateq has joined #commonlisp
Guest52 has joined #commonlisp
kpoeck has joined #commonlisp
kpoeck has quit [Quit: Client closed]
aartaka has quit [Ping timeout: 248 seconds]
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
aartaka has joined #commonlisp
zacts has quit [Quit: Client closed]
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
kpoeck has joined #commonlisp
parjanya has quit [Ping timeout: 240 seconds]
cosimone has joined #commonlisp
<johnjaye>
is tab-completion a slime feature?
<johnjaye>
i don't get that in the terminal
<beach>
johnjaye: I recommend using something better than a terminal.
<White_Flame>
johnjaye: yes, emacs+slime is the preferred setup
<White_Flame>
there is quicklisp-slime-helper to get you bootstrapped easily
<White_Flame>
(or portacle to have it all in 1 installation (sbcl+slime+emacs+ql+...))
<johnjaye>
ah ok i went to the docs from the quicklisp github
<johnjaye>
according to this i should type (in-package :mypackage) then start doing commands. ok good
kpoeck has quit [Quit: Client closed]
Brucio-61 has quit [Ping timeout: 248 seconds]
scymtym has quit [Ping timeout: 260 seconds]
waleee has joined #commonlisp
aartaka has quit [Ping timeout: 250 seconds]
aartaka has joined #commonlisp
scymtym has joined #commonlisp
Brucio-61 has joined #commonlisp
Brucio-61 has quit [Ping timeout: 248 seconds]
livoreno has quit [Ping timeout: 248 seconds]
<edgar-rft>
johnjaye: a workaround for the terminal is using rlwrap (GNU readline wrapper) like `rlwrap sbcl' which provides tab-completion plus history, but it's nowhere near the comfort of using emacs+slime
aartaka has quit [Ping timeout: 256 seconds]
snits has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
snits has joined #commonlisp
razetime has joined #commonlisp
Brucio-61 has joined #commonlisp
Oladon has joined #commonlisp
karlosz has joined #commonlisp
Brucio-61 has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
Brucio-61 has quit [Read error: Connection reset by peer]
razetime has quit [Remote host closed the connection]
Brucio-61 has joined #commonlisp
<johnjaye>
hmm ok
Inline has quit [Quit: Leaving]
taiju_ has quit [Remote host closed the connection]
taiju_ has joined #commonlisp
kpoeck has joined #commonlisp
Guest74 has quit [Quit: Connection closed]
unyu has quit [Quit: brb]
unyu has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
admich1 has quit [Remote host closed the connection]
jmiven has quit [Quit: reboot]
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 250 seconds]
Oladon has quit [Quit: Leaving.]
parjanya has joined #commonlisp
kpoeck has quit [Quit: Client closed]
yauhsien has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
tyson2 has quit [Ping timeout: 248 seconds]
yauhsien has quit [Remote host closed the connection]
pfd has joined #commonlisp
yauhsien has joined #commonlisp
tyson2 has joined #commonlisp
Oddity has joined #commonlisp
yauhsien has quit [Ping timeout: 246 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
treflip has quit [Quit: good night]
rgherdt has quit [Remote host closed the connection]
aartaka has joined #commonlisp
rgherdt has joined #commonlisp
notzmv has quit [Ping timeout: 248 seconds]
tyson2 has quit [Ping timeout: 272 seconds]
jeffrey has joined #commonlisp
yauhsien has joined #commonlisp
johnjaye has quit [Quit: WeeChat 3.3]
johnjaye has joined #commonlisp
yauhsien has quit [Ping timeout: 256 seconds]
orestarod has joined #commonlisp
rawley has joined #commonlisp
lisper29 has joined #commonlisp
tyson2 has joined #commonlisp
Guest74 has joined #commonlisp
lisp123 has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Major_Biscuit has joined #commonlisp
Dynom has quit [Quit: WeeChat 3.5]
lisp123 has quit [Ping timeout: 248 seconds]
livoreno has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 248 seconds]
jeosol has joined #commonlisp
akoana has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
hashfuncb3b has joined #commonlisp
ec has joined #commonlisp
Inline has joined #commonlisp
shka has quit [Ping timeout: 240 seconds]
jeffrey has quit [Ping timeout: 256 seconds]
jeffrey has joined #commonlisp
Major_Biscuit has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
rawley has quit [Remote host closed the connection]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
Guest74 has quit [Quit: Connection closed]
Guest74 has joined #commonlisp
notzmv has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 256 seconds]
ebrasca has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
orestarod has quit [Ping timeout: 248 seconds]
attila_lendvai has quit [Ping timeout: 250 seconds]
hashfuncb3b has quit [Ping timeout: 250 seconds]
pranavats has left #commonlisp [Error from remote client]
occ has quit [Ping timeout: 256 seconds]
ec has quit [Quit: ec]
pillton has joined #commonlisp
perrierjouet has quit [Ping timeout: 240 seconds]
epolanski has quit [Quit: Connection closed for inactivity]