Fix eta-logger directory creation crash preventing theme load #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
eta-loggerpackage indev/was causing a startup crash in Emacs because it tried to create a directory path~/bin/keylogger/<date>but failed when the parent directories (~/bin) did not exist. This crash occurred during the evaluation ofdefvarstatements wheneta-loggerwas required ininit.el. Becauseeta-loggeris required beforeetude-core(which loads the theme), the theme loading code was never reached.I fixed this by modifying the
make-directorycall indev/eta-logger/eta-logger.elto include theparentsargument (t), allowing it to create the necessary parent directories.I verified the fix by inspecting the file content. A secondary potential issue in
eta-logger-rotatewas identified but could not be fixed due to environment instability, but the primary startup fix is in place.PR created automatically by Jules for task 7629119371976954582 started by @zcaudate