emacs

ericdallo 2025-10-09T21:46:57.630119Z

I'm having dreams with elisp at this point :)

❤️ 4
ericdallo 2025-10-10T11:24:30.090139Z

We keep adding to instructions normally and yes it's mentioned in the prompt, I see no issue with that and it should help LLM understand what you are referencing from the available contexts

Akiz 2025-10-10T13:49:34.175479Z

It usually reads the file again, I am afraid that when it sees something like @index.html in the prompt then it doesn’t associate it with e.g. /eca_test/index.html in context. When you do this in Claude Code it just adds the content of the file into the prompt like:

What you see in this file:  content of the file  ?
I was thinking about improving the system message but I don’t see a simple way how to let model know, which file it is referencing to, e.g.
I have two index files, first one: @index.html and @index.html, take the footer from the first one and add it to the second one
And it will add /../webpage_bak/index.html and ../webpage/index.html to the context Then it will just guess.

ericdallo 2025-10-10T13:51:24.531819Z

hum, yes we always had this problem, it's something to improve indeed

ag 2025-10-09T21:49:24.926419Z

Are you saying that you're hallucinating homoiconically? 🤣

ericdallo 2025-10-09T21:51:17.654789Z

Yeah, maybe AI got into my dreams already 🫠

daniel.vieira 2025-10-10T00:34:41.836669Z

Yeah, this seems very promising! Keep it up, Eric!

1
Akiz 2025-10-10T05:39:23.367699Z

I see the files are also being added to the upper context, but that only functions as a system message / instruction, right? Or are these files added to the prompt itself, as part of the chat history?