emacs-orgmode
[Top][All Lists]
Advanced

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

[O] bug: in source block, titles are not seen as source


From: Ian Kelling
Subject: [O] bug: in source block, titles are not seen as source
Date: Tue, 27 May 2014 21:13:11 -0700
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)

I've had this bug me a few times when I work with here documents in bash.

#+begin_src sh
some-command <<'EOF'
* some text
EOF
#+end_src

the line beginning with * is treated as a title and folded. The same
goes for example blocks, and perhaps other things.

as a workaround, I can insert a tab char, and change the redirection
operator to <<- to strip leading tabs

some-command <<-'EOF'
        * some text
EOF

- Ian



reply via email to

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