Skip to content

Correctly handle directory on rerun#523

Open
CeleritasCelery wants to merge 80 commits into
brotzeit:masterfrom
CeleritasCelery:rerun-fix
Open

Correctly handle directory on rerun#523
CeleritasCelery wants to merge 80 commits into
brotzeit:masterfrom
CeleritasCelery:rerun-fix

Conversation

@CeleritasCelery

Copy link
Copy Markdown
Contributor

Currently rustic will override the default-directory to the workspace root after a compilation is finished. This enables it to correctly find the paths in error messages. But it also means that if you rerun a command it will rerun in the root crate instead of the original one.

This change adds a new variable to track the original directory and resets it when we rerun.

psibi and others added 4 commits May 15, 2024 07:54
Firstly, use `add-to-list` rather than `setq` so that existing
archives aren’t affected.  In particular, Emacs includes NonGNU
ELPA on the list and current instructions remove that archive.

Secondly, prefer https over http when specifying URL of MELPA.
Update package-archives modification code in README
Currently rustic will override the default-directory to the workspace root after
a compilation is finished. This enables it to correctly find the paths in error
messages. But it also means that if you rerun a command it will rerun in the
root crate instead of the original one.

This change adds a new variable to track the original directory and resets it
when we rerun.
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.

3 participants