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-transclusion-make-from-link should not add transclusion link in next org heading #212

Closed
josephmturner opened this issue Dec 28, 2023 · 1 comment · Fixed by #214
Closed

Comments

@josephmturner
Copy link
Contributor

josephmturner commented Dec 28, 2023

I find the behavior of org-transclusion-make-from-link to be unexpected:

Given

* Heading A
Some text here
[[./link to transclude.org]]
* Heading B
Some more text here

With point on the link, if I run org-transclusion-make-from-link, I would expect to see:

* Heading A
Some text here
[[./link to transclude.org]]
#+transclude: [[./link to transclude.org]]
* Heading B
Some more text here

but instead the buffer shows:

* Heading A
Some text here
[[./link to transclude.org]]
* Heading B
Some more text here
#+transclude: [[file:./link to transclude.org]]

Would you be open to stopping upon reaching an org heading?

@josephmturner josephmturner changed the title Insert newline below link in org-transclusion-make-from-link org-transclusion-make-from-link should not add transclusion link in next org heading Dec 29, 2023
@josephmturner
Copy link
Contributor Author

#214 resolves this issue.

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 a pull request may close this issue.

1 participant