Skip to content
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

the "Opening the file(s) in the existing window of ReText" feature fails if different directory #594

Closed
hydrargyrum opened this issue Aug 21, 2022 · 0 comments

Comments

@hydrargyrum
Copy link

have 3 md files:

  • foo.md
  • subdir/bar.md
  • subdir/baz.md

then

  • open a shell
  • run retext subdir/bar.md &: it works
  • run retext baz.md &: it works, but it shouldn't, because baz.md is not in current directory, but in subdir/baz.md
  • run retext foo.md &: it doesn't work, but it should, because foo.md is in current directory

if the filename given on command-line is relative, it should be fully resolved by the new retext process before sending it via IPC to the existing retext process, instead of being resolved in the existing process relatively to currently open file

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

No branches or pull requests

1 participant