From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Spurious exporting of text before first header Date: Thu, 26 Sep 2013 22:46:30 +0200 Message-ID: References: <86mwn1a6xn.fsf@iro.umontreal.ca> <86mwn12w2r.fsf@somewhere.org> <8661tp9c5p.fsf@iro.umontreal.ca> <87wqm4zuce.fsf@gmail.com> <86ioxo90rd.fsf@iro.umontreal.ca> <87d2nv3jss.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F7C5461E-7744-41A3-85DF-C96CA1FB73EF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPISN-0000E4-Lh for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:46:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPISI-0004DA-57 for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:46:39 -0400 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:61500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPISH-0004D6-UC for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:46:34 -0400 Received: by mail-we0-f181.google.com with SMTP id p61so1697121wes.26 for ; Thu, 26 Sep 2013 13:46:33 -0700 (PDT) In-Reply-To: <87d2nv3jss.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: =?iso-8859-1?Q?Fran=E7ois_Pinard?= , emacs-orgmode@gnu.org --Apple-Mail=_F7C5461E-7744-41A3-85DF-C96CA1FB73EF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 26.9.2013, at 13:26, Nicolas Goaziou wrote: > Hello, >=20 > Fran=E7ois Pinard writes: >=20 >> Nicolas Goaziou writes: >>=20 >>> Fran=E7ois Pinard writes: >>=20 >>>> The spirit behind :export: is [...] >>=20 >>> I agree, this is a misfeature. This should be fixed in master. = Thank >>> you for bringing it out. >>=20 >> Thanks as well. :-) >=20 > OTOH, this "fix" introduces another problem. >=20 > What if a user wants to both use :export: tag and export text before > first headline? An almost equivalent solution for him would be to add > a headline before that text and append it an :export: tag. But in that > case, he will get the additional headline in the output, which isn't > desirable. IOW, it is easier to make that text disappear than to make = it > appear. >=20 > IOW, even though the new behaviour is more logical, in the end, I'm = not > sure it is desirable. It's the old "good" versus "best" story. The new behavior is the correct one. :export: selects stuff to be = exported. A way to have initial text and some trees would be to add :noexport: to = the ones that should not be exported. If there is string desire to be able to export initial text with = :export: tags, the only solutions I see would be an additional variable with an = #+OPTIONS equivalent, like org-export-force-initial-content. Default obviously = off, setting the variable to t with list or customize not recommended, but possible to set it on a per file basis with #+OPTIONS - Carsten >=20 > WDYT? >=20 >=20 > Regards, >=20 > --=20 > Nicolas Goaziou >=20 --Apple-Mail=_F7C5461E-7744-41A3-85DF-C96CA1FB73EF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSRJ0mAAoJEO+gg/nAZuwMEXUH/jgcs9fTjPzVgFKmwjzyyjiI CIhKeHUC8In/zSDyNLq5f0oqwAtC7J5cKu+a4hSIIs/mLlUZhmyYJsrxz7NeekTs nasmGrlXvpCagihtBlyh/zQ0a1s1j8Gn+iCBtzQ/iR1g3JB7ltj/aQ3uzgHhnOvz GtmkkJkYyUicdWm6DcUlDD1gocP8/yaLcHRDKYgv5PpCcQzLPsHWZofgO12dBsGW NhFj+XZl2SNfPggXB3GXnTw7nBApH8a7QNJZHOSUkZOuto30MFNicsYaEJZ23377 cSiBaPp/hKVsMGMxnYR5iOaQFrRWCRf9vQiGnDR/mk2nVxeq1rL47FN2Zu4YM1g= =Jp0s -----END PGP SIGNATURE----- --Apple-Mail=_F7C5461E-7744-41A3-85DF-C96CA1FB73EF--