emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: Aidan Gauland <aidalgol@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Attempt to export buffer with invalid #+BEGIN_SRC fails with cryptic message [6.36trans]
Date: Tue, 13 Jul 2010 12:38:07 +0200	[thread overview]
Message-ID: <83k4oz1xbk.fsf@yahoo.it> (raw)
In-Reply-To: <4C3C3197.4010307@no8wireless.co.nz> (Aidan Gauland's message of "Tue, 13 Jul 2010 21:27:51 +1200")

Aidan Gauland <aidalgol@no8wireless.co.nz> writes:

> Attempting to export a buffer with a #+BEGIN_SRC block with no language
> specified 

Well in the manual (Literal examples) it is written that: 

 This is done with the `src' block,

 where you also need to specify the name of the major mode
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 that should be used to fontify the example:

(underline is mine)

> (i.e. an argumentless #+BEGIN_SRC block) fails with the
> message "apply: Wrong type argument: consp, nil".  This is rather
> cryptic; it would be nice if Org-publish could say where it failed even
> if not why it failed.

reading the manual could be a first good option; 
asking the list a second.

Cheers,
Giovanni

  reply	other threads:[~2010-07-13 10:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13  9:27 Bug: Attempt to export buffer with invalid #+BEGIN_SRC fails with cryptic message [6.36trans] Aidan Gauland
2010-07-13 10:38 ` Giovanni Ridolfi [this message]
2010-07-13 21:35 ` David Maus

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=83k4oz1xbk.fsf@yahoo.it \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=aidalgol@no8wireless.co.nz \
    --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).