emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: org-tempo expansion comments out the following src block when org-s


From: Ihor Radchenko
Subject: Bug: org-tempo expansion comments out the following src block when org-src-tabs-natively is 't [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]
Date: Wed, 18 Dec 2019 21:07:59 +0800

Recipe:

1. emacs -Q
2. Execute the following lisp code:

(setq org-src-tab-acts-natively t)
(require 'org-tempo)
(push (cons "el" "src emacs-lisp") org-structure-template-alist)

3. Create the following org file:

<point>

#+begin_src emacs-lisp
#+end_src

4. Put the point before the code block

5.1. Type <s TAB

Observed behaviour:

#+begin_src 


#+begin_src emacs-lisp
#+end_src

Expected behaviour:

#+begin_src 

#+end_src

#+begin_src emacs-lisp
#+end_src


5.2. Type <el TAB

Observed behaviour:

#+begin_src emacs-lisp

#+end_src

  ,#+begin_src emacs-lisp
#+end_src


Expected behaviour:

#+begin_src emacs-lisp

#+end_src

#+begin_src emacs-lisp
#+end_src

Setting org-src-tab-acts-natively to nil makes org-mode behave normally.



Emacs  : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo 
version 1.16.0)
 of 2019-12-17
Package: Org mode version 9.3 (release_9.3 @ 
/home/yantar92/.emacs.d/straight/build/org/)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]