From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: evaluation context in call statements Date: Wed, 26 Jun 2013 09:49:28 -0600 Message-ID: <87mwqcj2if.fsf@gmail.com> References: <444ea6cff489e2adc97092bdac881aef@mail.rickster.com> <878v1y574d.fsf@Rainer.invalid> <874ncm55ma.fsf@Rainer.invalid> <87r4fq3ptf.fsf@Rainer.invalid> <87ip11h2zq.fsf@gmail.com> <87fvw5fkpt.fsf@Rainer.invalid> <64c8a8451434ab3c4fb5d8e73e9b6848@mail.rickster.com> <87fvw4ucp4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urrzb-0007t6-CM for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 11:50:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrrzZ-0000dq-Ej for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 11:50:46 -0400 Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]:55192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrrzY-0000dg-Vl for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 11:50:45 -0400 Received: by mail-pb0-f42.google.com with SMTP id un1so14393004pbc.1 for ; Wed, 26 Jun 2013 08:50:44 -0700 (PDT) In-Reply-To: (Rick Frankel's message of "Wed, 26 Jun 2013 11:29:27 -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: Rick Frankel Cc: emacs-orgmode@gnu.org, Nicolas Goaziou Rick Frankel writes: > Nicolas- > > On 2013-06-26 11:13, Nicolas Goaziou wrote: >> >> Rick Frankel writes: >> >> At the time (late 2012) I found Nicolases changes (named results >> blocks, attributes and captions on the results block and not the >> source, etc) confusing. I still find it odd that you need to evaluate >> a source block before you can e.g, add a caption or attributes to the >> results (previous behavior was that header arguments on the source >> block were used for the results in exporting.) >> >> But you couldn't provide different captions (or attributes) to source >> code and results (or no caption/attribute to one of them only). >> >> If you think about it, it's not very odd that captions and attributes >> apply to the text located just below, instead of some remote or yet to >> be generated piece of text. >> > > I agree now (as i did then), with the functionality and understand why > and how it works, but i still find having to execute a source block > before being able to attribute the results counter-intuitive (as have > others). You are free to type a #+RESULTS: line manually. If you use yasnippets you could define a snippet for a named code block which inserts the #+RESULTS line concurrently with the code block. -- Eric Schulte http://cs.unm.edu/~eschulte