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

Fix "<file> is not readable or exists" when using xcscope over TRAMP. #21

Closed
wants to merge 1 commit into from
Closed

Conversation

Raphus-cucullatus
Copy link

  1. The " is not readable or exists" issue:

When using xcscope over TRAMP, the database can be found and the query
results shown correctly. However, the results cannot be jumped to
with a message " is not readable or exists". It seems that
xcscope tries the filename on my local machine. The issue is detailed at #20 .

  1. Possible fix (this commit):

When adding text properties, prepend the filename with remote file
identifier if 'default-directory' is remote.

1. The "<file> is not readable or exists" issue:

When using xcscope over TRAMP, the database can be found and the query
results shown correctly.  However, the results cannot be jumped to
with a message "<file> is not readable or exists".  It seems that
xcscope tries the filename on my local machine.

2. Possible fix (this commit):

When adding text properties, prepend the filename with remote file
identifier if 'default-directory' is remote.
@Raphus-cucullatus
Copy link
Author

Raphus-cucullatus commented Jul 17, 2019

See #20 for details.

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.

None yet

1 participant