From: Giuseppe Lipari <giulipari@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Cannot export bash src: more details
Date: Tue, 23 Feb 2016 10:54:18 +0000 [thread overview]
Message-ID: <CABHo5SB0maOZ2rxCcRw7d_V3QEFw3ZCULgSai=OKVy255Xrexg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1755 bytes --]
Hello,
regarding my previous message: I discovered that, by removing indentation,
the export works fine.
More specifically, the following snippet produces the error:
%--------- snippet ----------%
** CGI - producing output
- Example in shell script:
#+BEGIN_SRC bash
echo "content-type: text/html"
echo
echo "<!doctype html publi\"-//w3c/dtd html 3.2 final/en\">"
echo "<html>"
echo "<body>"
echo "it is <b>"`date`"</b>"
echo "</body>"
echo "</html>"
#+END_SRC
%--------- snippet ----------%
%--------- Error ----------%
[...]
org-babel-exp process emacs-lisp at line 16...
org-babel-exp process html at line 114...
org-babel-exp process html at line 164...
org-babel-exp process bash at line 270...
byte-code: Invalid search bound (wrong side of point)
%--------- Error ----------%
The following snippet *does not* produce the error
%--------- snippet ----------%
** CGI - producing output
- Example in shell script:
#+BEGIN_SRC bash
echo "content-type: text/html"
echo
echo "<!doctype html publi\"-//w3c/dtd html 3.2 final/en\">"
echo "<html>"
echo "<body>"
echo "it is <b>"`date`"</b>"
echo "</body>"
echo "</html>"
#+END_SRC
%--------- snippet ----------%
I cannot easily reproduce this behaviour outside of my complex file. I
tried on a simplified version containing only the snippet, and there
indentation makes no difference.
Unfortunately, I do not have time now to continue my investigation (I have
to prepare my slides for tomorrow), however I am available to provide more
information if necessary.
Org-mode version 8.3.4 (release_8.3.4-588-g924431 @
/home/lipari/elisp/org-mode/lisp/)
Best regards,
Giuseppe Lipari
[-- Attachment #2: Type: text/html, Size: 2479 bytes --]
next reply other threads:[~2016-02-23 10:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 10:54 Giuseppe Lipari [this message]
2016-02-24 16:57 ` Cannot export bash src: more details Eric S Fraga
2016-02-24 20:53 ` Giuseppe Lipari
2016-02-25 9:09 ` Nicolas Goaziou
2016-02-25 14:04 ` Nicolas Goaziou
2016-02-25 18:09 ` Eric S Fraga
2016-02-25 22:32 ` Giuseppe Lipari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABHo5SB0maOZ2rxCcRw7d_V3QEFw3ZCULgSai=OKVy255Xrexg@mail.gmail.com' \
--to=giulipari@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).