emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Code disappears from block when hitting TAB
@ 2012-10-25 14:24 Sebastien Vauban
  0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2012-10-25 14:24 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-25 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-25 14:24 [bug] Code disappears from block when hitting TAB Sebastien Vauban

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