emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: in source block, titles are not seen as source
@ 2014-05-28  4:13 Ian Kelling
  2014-05-28  7:02 ` Albert Krewinkel
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Kelling @ 2014-05-28  4:13 UTC (permalink / raw)
  To: emacs-orgmode


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

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

end of thread, other threads:[~2014-05-28 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-28  4:13 bug: in source block, titles are not seen as source Ian Kelling
2014-05-28  7:02 ` Albert Krewinkel
2014-05-28 14:52   ` Ian Kelling

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