From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [BUG] #+begin_src wo. language blocks XHTML export Date: Mon, 12 Jul 2010 10:13:58 +0200 Message-ID: <87y6dhglrt.wl%dmaus@ictsoc.de> References: <87fx0abtr1.fsf@gmx.de> <87mxu7nxoy.wl%dmaus@ictsoc.de> <87iq4uzynf.fsf@gmx.de> <87r5jdsscu.fsf@gmail.com> <8BFEB2A8-C320-475C-861D-6FDF1F74AB50@tsdye.com> <871vbcgdnn.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1713912600==" Return-path: Received: from [140.186.70.92] (port=55437 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYE9q-0000yk-AF for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 04:14:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYE9o-0003rq-H1 for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 04:14:34 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:55007) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYE9o-0003rZ-Bs for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 04:14:32 -0400 In-Reply-To: <871vbcgdnn.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Emacs-orgmode mailing list --===============1713912600== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Jul_12_10:13:58_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Mon_Jul_12_10:13:58_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable SEric Schulte wrote: >"Thomas S. Dye" writes: >> On Jul 8, 2010, at 9:09 AM, Eric Schulte wrote: >> >>> Sebastian Rose writes: >>> >>> [...] >>>> >>>> It can be considered an error, since the docs say: >>>> >>>> "...This is done with the =E2=80=98src=E2=80=99 block, where you also= need to >>>> specify the name of the major mode that should be used to fontify >>>> the example..." >>>> >>> >>> I would vote that this be considered an error as a source block >>> doesn't make sense w/o a source language. If others agree with this >>> interpretation, I would be happy to submit a patch which actively >>> raises an errors when this cases is encountered. >>> >>> Cheers -- Eric >> >> This seems like the right approach to me. >> >> Tom >As promised here's a patch which raises errors when source blocks don't >have a specified language. I would prefer if the error could indicate >which block caused the problem, but I don't know how to accomplish this. Maybe we could store a marker in a text property of (source) blocks right before they are processed in the input file? Best, -- David --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Mon_Jul_12_10:13:58_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkw6zsYACgkQma24O1pEeOY2wgEAnIip5m1EGPlCw/HIJhCAL7P1 c9hlBqNapE/toMAxdDgA/3IVdE9UA/OA4pJ+Qgf0P+Ho2LryevxZdJL8soi/01iV =a26E -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Jul_12_10:13:58_2010-1-- --===============1713912600== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1713912600==--