emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [bug] Code disappears from block when hitting TAB


From: Sebastien Vauban
Subject: [O] [bug] Code disappears from block when hitting TAB
Date: Thu, 25 Oct 2012 16:24:40 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (windows-nt)

Hello,

Today, I've observed that code disappears when hitting TAB (C-h k reports it's
bound to org-cycle) in a code block.

ECM:

--8<---------------cut here---------------start------------->8---
* Org-cycle

#+begin_src org
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_FRAME_LEVEL: 1

#+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default}
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) 
%4BEAMER_col(Col) %8BEAMER_extra(Extra)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC
#+end_src

Hit =TAB=, for example on the first # char from the first line, and your code
disappears:

#+begin_src org
C
#+end_src
--8<---------------cut here---------------end--------------->8---

Instead, hitting TAB should have protected the Org code by prefixing dangerous
lines with a comma...

Org-mode version 7.9.2 (release_7.9.2-486-g4bb5a0 @ 
d:/home/sva/src/org-mode/lisp/)

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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