From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Spurious exporting of text before first header Date: Thu, 26 Sep 2013 13:26:59 +0200 Message-ID: <87d2nv3jss.fsf@gmail.com> References: <86mwn1a6xn.fsf@iro.umontreal.ca> <86mwn12w2r.fsf@somewhere.org> <8661tp9c5p.fsf@iro.umontreal.ca> <87wqm4zuce.fsf@gmail.com> <86ioxo90rd.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP9id-0007J3-Eb for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 07:26:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VP9iY-0008Sc-2I for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 07:26:51 -0400 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:54165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP9iX-0008Qy-Qk for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 07:26:45 -0400 Received: by mail-we0-f169.google.com with SMTP id t60so998445wes.0 for ; Thu, 26 Sep 2013 04:26:44 -0700 (PDT) In-Reply-To: <86ioxo90rd.fsf@iro.umontreal.ca> (=?utf-8?Q?=22Fran=C3=A7ois?= Pinard"'s message of "Wed, 25 Sep 2013 15:09:26 -0400") 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: =?utf-8?Q?Fran=C3=A7ois?= Pinard Cc: emacs-orgmode@gnu.org Hello, Fran=C3=A7ois Pinard writes: > Nicolas Goaziou writes: > >> Fran=C3=A7ois Pinard writes: > >>> The spirit behind :export: is [...] > >> I agree, this is a misfeature. This should be fixed in master. Thank >> you for bringing it out. > > Thanks as well. :-) OTOH, this "fix" introduces another problem. 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. 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. WDYT? Regards, --=20 Nicolas Goaziou