I've been trying to get ChatGPT to write some Emacs Lisp for me and it sucks. Few things are better documented than Emacs. There's several hundreds of pages of documentation, and several million lines of Elisp, but apparently that's not enough.
And I'm not asking for some beautiful architecture from ChatGPT, I'm just asking for simple hacks that get the job done. Elisp is designed to make simple hacks easy, but not easy enough for ChatGPT I guess.
Like, I asked it to make a command which would move the "mark" and the "point" so that the full line was selected. If a selection covered only part of a line, I wanted the selection to expand to cover the full line. To do this, all you have to do is move the mark and the point so that they surround a line. ChatGPT couldn't do it. It would only move the point, but not the mark, it wouldn't do anything with the mark. I explicitly told ChatGPT "no, you have to set both the point and the mark correctly", and then it wrote even more code that only adjusts the point, but not the mark--it would move the point to the beginning of the line, and then move the point to the end of the line, never touching the mark--it's stupid.