-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 source block babel expansion stopped working #11798
Comments
|
This temp workaround worked for me - yjwen/org-reveal#340 (comment) Add the following to dotspacemacs/user-config: Afterwords, one can use |
|
FYI - this has been fixed. So if you added the work around above, you'll need to remove it. |
Which branch? I update develop branch and still meet the same issue. |
|
|
|
I am using the stable branch and updated my layers. This resolved the issue I had. |
|
The template expansion works in master (stable) and doesn't work in develop branch. to user-config didn't help. |
|
@srgkoshelev (when (version<= "9.2" (org-version))
(require 'org-tempo)) |
|
on develop branch disable ox-reveal makes C-c C-, works |
|
@agirdler-sonder Thank you, it works! |
|
I'm on develop. Adding the snippet suggested by @agirdler-sonder works for me: ;; FIXME: workaround
;; https://github.com/syl20bnr/spacemacs/issues/11798
(when (version<= "9.2" (org-version))
(require 'org-tempo))By works I mean that I can use With |
|
Instead of Special thanks for submission of so informative bug report and having so good discussion here. |
|
it seems that we need to use please check at so this is official change in org template system. And now btw. i am also fan of "good old" templates and i am using |
|
I upgraded If you do not wish to use org-reveal, you can simply set |
|
I have the same problem, or-re-reveal package has helped, however, it broke org-mode-agenda completely. Using Linux, Emacs 26.1, Spacemacs 0.200.13. |
|
@pnyccz what sort of problems are you seeing with |
|
@shanesveller Agenda and clocking stopped working. Report tables for time spent on various tasks also stopped working. I don't recall seeing other issues. |
|
I am on the stable branch and this is still broken for me. |
Adding |
@Anton-Latukha |
|
@ColeWunderlich @ZythonNera @ColeWunderlich @ZythonNera Since there seems to be duality of understanding of my old comment, updated it with precise info, and by-the-way created an issue. |
…s TAB for inserting source blocks - see: syl20bnr/spacemacs#11798
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
|
Well, it's over a year now I'm trying to get used to "the new way" e.g. to insert a source block : [SPC m i b s] . I still find it less convenient than [< s TAB]. So as a user, I'd prefer to see org-tempo style staying around if possible. |
|
The real solution is mentioned in the 1 year ago, I am using it in that timespan. |
|
It is #11798 (comment). Since the cause is Org-mode change, it became obvious it is not a Spacemacs question. |
|
There seems to be a problem with
It does not work (either simple comma entered or nothing happens) on
I know, that is not Emacs problem, but I'm not sure about whether it is a good idea to assign troublesome keys in default configuration. |
Description
a few keywords to help users facing a similar issue.
According to "Easy-templates" section in orgmode manual
When I do that, nothing happends anymore. No other template either 2
Reproduction guide 🪲
/tmp/t.orgObserved behaviour: 👀 💔
Not expansion, indentation instead.
Expected behaviour: ❤️ 😄
Replacement of "<s" with:
Investigations
Thanks to good documentation, it is rather easy:
In
*Messages*you may read:and also an explanation in a
*Warnings*buffer.The customizable variable
org-structure-template-alistis altered somewhere with a "NOTES" entry.Displays the following:
The "n" entry is absent from source definition (
~/.emacs.d/elpa/26.1/develop/org-plus-contrib-20181230/org.el)Suppressing the first entry (e.g. in customize) solves the problem.
Solution : PR in ox-reveal
This is related to a recent change in org-plus-contrib :
https://orgmode.org/Changes.html#outline-container-org1b5e967 .
For me, the responsible appears to be
'ox-reveal'.It is actually added in
/.emacs.d/elpa/develop/ox-reveal-20161027.226/ox-reveal.el.This is easy to fix:
I was about to build a PR but somebody has already submitted an identical one which currently pending.
yjwen/org-reveal@21b1750
Workaround : fix the value in dotfile
To patiently wait until the PR is applied upstream, I tried this, in user-config():
Unfortunately, though the inner code is working (fixes the problem in current session),
with-eval-after-loaddoesn't seemto be the way to do it. I also tried to wrap it in
use-package :configandin
configure-layers orgstanza, with no more success.System Info 💻
(auto-completion c-c++ csv (dash :variables helm-dash-docset-newpath "~/.local/share/Zeal/Zeal/docsets") docker emacs-lisp erc git graphviz gtags ... (org :variables org-enable-reveal-js-support t org-reveal-root "file:///usr/local/src/reveal.js") ...The text was updated successfully, but these errors were encountered: