-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra nulls in path string with 28.1 Linux package #60
Comments
I've been having the same issue. Has anyone found a solution? |
If someone can give explicit reproduction steps for demonstrating this bug I'll look into it |
Let me see if I can bisect my init file. |
Hmm, now when I try to start emacs in a fresh environment, I just get
|
Ouch. We need to add tests that run the GUI. I've just recently learned how to do that:
|
Although in this case the error occurs with
This happens because
So actually this is not because of a change in conda-forge packaging but because of a change in the host operating system. You can work-around with
(assuming you have I think this is probably unrelated to the extra nulls issue here, so let's open a new issue for the the glibc problem. |
The extra nulls first appear in The error actually gets triggered in (setq configure-info-directory (string-replace "\0" "" configure-info-directory))
(setf (car Info-default-directory-list) configure-info-directory) |
Thanks, I'll look into this when I get back from vacation next week. |
A temporary fix is |
Excellent find about the (setq configure-info-directory (string-replace "\0" "" configure-info-directory))
(setf (car Info-default-directory-list) configure-info-directory) I also did some more digging. In INLINE Lisp_Object
build_string (const char *str)
{
return make_string (str, strlen (str));
} so that's where things start to go wrong because So perhaps the best way forward is to make patch the temporary fix mentioned above into a distribution file? |
I think #64 should do it. I built it locally and uploaded to the |
There are currently two PRs being worked on to address this:
A third option suggested by https://www.gnu.org/software/emacs/manual/html_node/info/Emacs-Info-Variables.html is to set the |
This still occurs on Emacs 29.2; any progress in finishing the PRs? |
It seems the latest status on #65 was that it doesn't work. I don't know if anyone has looked at it recently. |
With the emacs 28.1 package, I get this error when I start emacs
This is coming from one of the packages in my init file, but the extra nulls indicate that this is likely an issue with the conda build. Somewhere, the extra null padding that is done for the binary path replacement messed up and created a string that emacs itself is interpreting as including nulls.
I didn't see this issue on macOS, only on Linux.
The text was updated successfully, but these errors were encountered: