emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2019-12-18 13:07 Ihor Radchenko
  2019-12-19  1:15 ` Berry, Charles
  2022-10-15  4:46 ` Ihor Radchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Ihor Radchenko @ 2019-12-18 13:07 UTC (permalink / raw)
  To: emacs-orgmode

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/)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-15  4:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 13:07 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/)] Ihor Radchenko
2019-12-19  1:15 ` Berry, Charles
2019-12-19 14:16   ` Ihor Radchenko
2022-10-15  4:46 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).