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

ivy-prescient breaks org-insert-link #61

Open
seagle0128 opened this issue May 27, 2020 · 4 comments
Open

ivy-prescient breaks org-insert-link #61

seagle0128 opened this issue May 27, 2020 · 4 comments

Comments

@seagle0128
Copy link

In org files, when inserting a.jpg, I got [[file://a.jpg]], but the correct path is [[file://mind/a.jpg]]. I found default-directory was changed. It works after disabling ivy-prescient-mode.

File structure

.
├── mind
│   ├── a.jpg
│   └── b.jpg
└── mind.org
@raxod502
Copy link
Member

Can you give steps to reproduce? I do not use the relevant Org/Ivy libraries in my configuration, so I do not know what command you are running and in what context.

@raxod502
Copy link
Member

Oh, I see, I missed that org-insert-link was referenced from the title. I will take a look.

@raxod502
Copy link
Member

I can reproduce the issue, thank you for the report.

@raxod502
Copy link
Member

Since ivy-prescient.el does not actually modify default-directory anywhere, I suspect that this is another bug in Ivy. I do not plan to investigate soon, however.

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

No branches or pull requests

2 participants