From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: unnamed :results Date: Wed, 5 Jan 2011 08:23:36 -1000 Message-ID: References: <81CF2144-4011-4ED7-AD46-3BA6A590A70B@tsdye.com> <87mxnfmhgd.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55453 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaY1T-00008s-13 for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 13:23:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaY1P-0000ql-0i for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 13:23:44 -0500 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:34570) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PaY1O-0000py-NB for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 13:23:42 -0500 In-Reply-To: <87mxnfmhgd.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode Hi Eric, I went back and looked at this again. The same code block writes a named results block now, as it should. I must have put Org-mode in an unstable state earlier. Sorry for the noise. Tom On Jan 5, 2011, at 6:20 AM, Eric Schulte wrote: > Hmm, > > I think the code has always named results blocks after the code block > when the code block has a name. I would expect your "new" behavior > below to have been the standard behavior since the early days of > babel. > > Best -- Eric > > "Thomas S. Dye" writes: > >> Aloha all, >> >> In the course of updating an Org-mode file to take account of the new >> file output handling for R, I noticed a change in the naming of >> results blocks. In the example below, the top #+results: line was >> produced with the most recent Org-mode from git. The previous >> behavior is on the following line. >> >> #+srcname: r-complete-length-histogram-pdf >> #+begin_src R :results output graphics :file r/adze_len_eg.png :var >> x=whole-adzes >> library(ggplot2) >> adze.len <- ggplot(x, aes(length_poll)) >> adze.len + geom_histogram() >> #+end_src >> >> >> #+results: >> [[file:r/adze_len_eg.png]] >> >> #+results: r-complete-length-histogram-pdf >> [[file:r/adze_len_eg.png]] >> >> The only change (other than updating Org-mode) was the addition of >> graphics to the :results header argument. >> >> All the best, >> Tom >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode