Closed jjnilton closed 1 year ago
Thanks for the report. It looks like this is related to Emacs Bug 23750. Unfortunately using the solution emacs-devel suggests isn't working for me.
So here's what I'm thinking instead. Do you have curl
available on your system? I'll make it so requests are handled by curl if it's available, falling back to Emacs' url-retrieve
.
If you have access to curl, this problem should be fixed in 3c10147a, please test?
If you don't have curl, it might take a while before I have time to dig into the multibyte encoding issues.
There are also a few new user options.
Thanks, it worked! I had to load the gptel-curl
manually, though. package-install-file
just let me install the gptel
but threw an error for the gptel-curl
:
package-buffer-info: Package lacks a "Version" or "Package-Version" header
That's odd, it installed fine using package-install-file
for me.
Anyway, I've added the Version header to gptel-curl. When you have time could you try uninstalling and reinstalling the package? No hurry though.
I did the following:
gptel
with package-delete
gptel
with package-install-file
gptel-curl
.gptel-curl
with package-install-file
and got the error I mentioned in my last comment.Then I pulled from the repository, and installed gptel
and gptel-curl
with package-install-file
.
I think my issue is that I was expecting gptel-curl
to be installed when I installed gptel
with package-install-file
.
@jjnilton,
I changed how gptel-curl
is loaded now. It should not be registered as a separate package with package.el. Could you try once more?
- Installed
gptel
withpackage-install-file
By this I hope you meant that you ran package-install-file
on the directory and not on gptel.el
specifically.
Thanks, @karthink. Previously, I was running package-install-file
in each .el
file, as I didn't know I could run it in the directory. This time I ran package-install-file
in the directory, and everything seems to be working as expected.
Yeah, package-install-file
is a misleading name.
I'll close this issue now since it's working for you, but I have #4 open to eventually fix the url-retrieve
issue.
Here's what I get in the
**Messages**
buffer:Thanks for sharing the package.