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

Org mode 插入链接时相对路径出错 #221

Closed
cycoe opened this issue May 26, 2020 · 4 comments
Closed

Org mode 插入链接时相对路径出错 #221

cycoe opened this issue May 26, 2020 · 4 comments

Comments

@cycoe
Copy link

cycoe commented May 26, 2020

我的目录结构为

.
├── mind
│   ├── a.jpg
│   └── b.jpg
└── mind.org

编辑 mind.org 时想通过 org-insert-link 插入 a.jpg ,正确的链接应为 [[file://mind/a.jpg]] ,实际得到的为 [[file://a.jpg]] ,并且发现文件的 default-directory 变量在插入链接后被修改为了 ./mind/,禁用 ivy-mode 后正常

@seagle0128 seagle0128 added the bug label May 27, 2020
@seagle0128
Copy link
Owner

seagle0128 commented May 27, 2020

我发现是ivy-prescient的问题,禁用它就好了。

See radian-software/prescient.el#61

@seagle0128 seagle0128 removed the bug label May 27, 2020
@cycoe
Copy link
Author

cycoe commented May 28, 2020

我发现是ivy-prescient的问题,禁用它就好了。

See raxod502/prescient.el#61

非常感谢,终于能继续愉快地使用 Org mode 了

@seagle0128
Copy link
Owner

@cycoe 你能测试下现在还有这个问题吗?在我的环境中已经正常了。

@cycoe
Copy link
Author

cycoe commented Aug 15, 2020

@cycoe 你能测试下现在还有这个问题吗?在我的环境中已经正常了。

问题已经修复

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

2 participants