Search
Monday, 17th of June 2019, 1:39:54 UTC
2:29:09
pjb
moldybits: AFAIK, it's not possible. Remember that methods are attached to generic functions, not to objects or classes.
2:29:28
pjb
moldybits: you will have to define a method on each generic function for that class.
2:29:57
pjb
moldybits: you can use a macro to help, but it will have to be done.
2:58:10
LdBeth
Is it a good idea to rely on emacs’ font-lock text-property to predicate if a delimiter is in a string so I can ignore it?
3:05:28
pjb
LdBeth: ignore it, there's another mechanism.
3:07:31
pjb
LdBeth: (syntax-after (point))
3:09:41
pjb
or perhaps it's something else. This one might be two low level.
3:10:59
pjb
LdBeth: see (c-guess-basic-syntax)
3:18:39
LdBeth
I find the cool thing is I can change the display of many )))s to ] without affecting parent matching
3:22:36
LdBeth
ACTION uploaded an image: ima_7a79fe2.jpeg (8KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/kbjWwfdpmsHKlQyBwXnEJHoD >
3:24:35
pjb
LdBeth: this can be done trivially with font-locking. But indeed, the regexp may be complex if you want to avoid strings, (and comments), notably in CL where strings can stand on several lines, and comments can be embedded.
3:25:11
pjb
with the compose-region operator…
3:25:17
beach
Good morning everyone!
3:32:01
LdBeth
pjb: for my purpose these should be inserted by user and doesn’t mean to be preserved across sessions
3:33:49
pjb
LdBeth: you can let the user type the )))) using paredit, and display them as a single ]
6:23:10
no-defun-allowed
Does anyone have a CCL 1.12beta image for ARM I could have a copy of?
13:35:30
jmercouris
I'm getting the following return value from a funciton in a library I'm using @2019-03-08T15:33:13.000000+01:00
13:35:35
jmercouris
what does the ampersand mean?
13:35:40
jmercouris
sorry the "@" symbol
13:38:12
Bike
i think it's a reader macro in local-tie
13:38:47
Bike
https://common-lisp.net/project/local-time/manual.html#Reader-Macros
13:39:24
jmercouris
ok, good to know that it is non-standard
13:39:27
Bike
um, so the object itself is a "timestamp".
13:39:28
jmercouris
I was wondering how I had not learned about this
13:39:36
jmercouris
interesting, a timestamp object...
13:39:48
jmercouris
I guess that makes a lot of sense
Monday, 17th of June 2019, 13:39:54 UTC