From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: RFC: inheritance of export attributes Date: Tue, 19 Mar 2013 01:33:16 -0400 Message-ID: <87a9q0vtr7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHpAk-0000gY-V6 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 01:33:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHpAk-0006bz-4l for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 01:33:18 -0400 Received: from mail-vb0-x233.google.com ([2607:f8b0:400c:c02::233]:43464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHpAk-0006br-1e for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 01:33:18 -0400 Received: by mail-vb0-f51.google.com with SMTP id fq11so67484vbb.24 for ; Mon, 18 Mar 2013 22:33:17 -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: emacs-orgmode@gnu.org Hello, I have noticed a difficulty with :results table drawer babel blocks. It isn=E2=80=99t possible to put ATTR_LATEX keywords on the table in that case= . If they are placed outside of the drawer, they apply to the drawer and not the table. If they are placed inside it, they will be deleted when the block is reevaluated. (Drawer results are preferable to raw ones: I have found, under rare conditions, org can get confused about where the boundary of the result is and not replace it properly when reevaluating. Using a drawer avoids this case.) Would it be possible for ATTR_FOO attributes to be inherited by child elements, so that this case would work? It would solve this problem, and also allow things like: #+ATTR_LATEX: :width 200px :DRAWER: # several images, all of which should be 200 px wide :END: I thought I would ask for comments, since this might break other things in ways I=E2=80=99m not thinking of. Thanks, --=20 Aaron Ecay