From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Babel should not work in the subtree marked as not exported Date: Fri, 14 Mar 2014 13:59:57 -0600 Message-ID: <8738ik8rod.fsf@gmail.com> References: <87wqg0gawq.fsf@gmail.com> <87lhwgettp.fsf@med.uni-goettingen.de> <87bnxbg02x.fsf@gmail.com> <87ha73dnxe.fsf@med.uni-goettingen.de> <87zjku41nq.fsf@gmail.com> <878usdemuv.fsf@med.uni-goettingen.de> <87eh25d22d.fsf@gmail.com> <874n31dvf8.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOYVw-0007ZH-97 for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 16:15:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOYVr-0001np-Ln for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 16:15:32 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:48408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOYVr-0001nh-BI for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 16:15:27 -0400 Received: by mail-pa0-f47.google.com with SMTP id lj1so3106705pab.20 for ; Fri, 14 Mar 2014 13:15:26 -0700 (PDT) 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: Andreas Leha Cc: emacs-orgmode@gnu.org > Sorry for being unclear here. I wanted to propose different > behaviour for TAGs (lets say :noexport:) and the COMMENT keyword. > I am perfectly fine with :noexport: only prohibiting export but > still allowing evaluation. > > But I propose that COMMENT be more treated like a comment, so more > like a shorthand for commenting out that subtree using '# '. > That way, evaluation would be disabled. > > I see two benefits: > 1. It serves the use-case where one wants a subtree to be not > exported and not evaluated. > 2. It more resembles Orgs idea of comments. > > And since the other use case (no export but still evaluation) is > still very well supported via :noexport: there would be not too > much loss. > > (IIRC, the COMMENT keyword was close to removal from Orgs syntax > recently. So, why not add some real additional functionality to > it?) > > WDYT? > This sounds like a good compromise to me. As you say, this should easily and visually support both use cases and is intuitive. I've not touched the export machinery myself, so I'll leave the implementation to Nicolas but I definitely support this approach. Best, > > Regards, > Andreas > > PS: IIUC, Samuel proposed the same thing: > http://permalink.gmane.org/gmane.emacs.orgmode/83459 > > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D