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

Inconsistencies with some of the org-mode snippets #442

Open
zmberber opened this issue Feb 20, 2022 · 0 comments
Open

Inconsistencies with some of the org-mode snippets #442

zmberber opened this issue Feb 20, 2022 · 0 comments

Comments

@zmberber
Copy link

  • First of all, even though it doesn't seem like it in the github UI, it is indeed the case that there is an extra newline at the end of the snippets/org-mode/src snippet. This is annoying.
  • Second, the $0 field in snippets/org-mode/src is indented, which is not the case for any of the other snippets.
  • Third, the snippets/org-mode/elisp (and snippets/org-mode/emacs-lisp) snippet has a :tangle yes option, which none of the other snippets have. I also don't see why this was chosen anyway, since it is an extra option that either shall be added manually, or if it should be used everywhere, tangling should be enabled by default, and the :tangle no option shall then be used for ones that shouldn't be tangled. I mentioned this in org-mode: both the elisp and the emacs-lisp snippets have the tangle option automatically inputted #413 before, where I suggested that one of the two snippets includes it, and the other doesn't.

On the other hand, this isn't that big of a deal since the src, python, and elisp are the only snippets for a src block, so it is easy to override. But this is about having good defaults.

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