Skip to content

Conversation

@google-labs-jules
Copy link

The eta-logger package in dev/ 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 of defvar statements when eta-logger was required in init.el. Because eta-logger is required before etude-core (which loads the theme), the theme loading code was never reached.

I fixed this by modifying the make-directory call in dev/eta-logger/eta-logger.el to include the parents argument (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-rotate was 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

The `eta-logger.el` file was failing to load because it attempted to create `~/bin/keylogger/...` without the `parents` flag set to `t`. Since `~/bin` did not exist in the environment, `make-directory` failed, causing the Emacs startup process to abort before the theme could be loaded.

This commit updates `dev/eta-logger/eta-logger.el` to use `(make-directory eta-logger-dir t)`, ensuring the full path is created.

Note: Due to environment limitations with git submodules, the change is applied to the file on disk but might appear as a dirty submodule pointer in the parent repository diff. The fix is verified on the file content.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants