libera/#commonlisp - IRC Chatlog
Search
8:25:54
pve
Hi, I'm trying to build a new macro on top of my "dot" path traversal macro, but I have a feeling I'm going about it the wrong way. The new macro is called "define-dot" and is intended to provide a way to define custom dot macros for specific use cases. It does so by translating the custom path into a path that "dot" can understand.
8:28:34
pve
Now my problem is "binding" the variables in the left hand side patterns, so that they can be used in the right hand side match forms. Currently I do it with "subst", because it's the only thing I could come up with.
8:33:35
pve
ideally I would like to use quasi-quote notation in the right-hand side, but I'm not sure how to set it up
9:03:18
Shinmera
Downside is, as usual, it won't work unless your users also use the quasiquote readtable.
9:15:41
pve
hmm ok, well I guess I can live with the current behaviour.. maybe I can provide a hint or reminder somehow to the user that the variable will be "subst"ed
9:18:29
pve
I did consider including the quote in the pattern, e.g. ((:any 'form) (format t "~S: ~S" 'form form))
15:00:28
comatory
hello i tried asking over at #clschool but i will also try here. i'm a long time vim user who has tried emacs to try and learn lisp. i tried regular emacs and also doom emacs. i didn't like the editor much even though it comes with vim bindings. are there any other/former vim users here? have you ever used slimv/vlime plugins? are they any good? i'd like to have at least some lisp autocomplete
15:18:33
contrapunctus
comatory: I haven't tried slimv/vlime, but if you describe what your dissatisfactions with Emacs are, I could probably provide suggestions to change Emacs to your liking.
16:49:39
comatory
pjb: i'll probably check which plugin gets more love and decide whether slimv/vlime is better or not. i also use neovim so the support for it is also important.