emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] Inconsistency in src block hiding


From: Nicolas Goaziou
Subject: Re: [O] [BUG] Inconsistency in src block hiding
Date: Sun, 11 Dec 2011 15:08:50 +0100

Bastien <address@hidden> writes:

> Eric Schulte <address@hidden> writes:
>
>> The attached patch entirely removes the #+name and #+results based
>> hiding.  Note that the existing "wrap" argument to the ":results" header
>> argument will wrap results in a block which allows easy tab-based result
>> hiding.

I didn't notice it before, but the wrap option from :results property
could also be removed. Unlike to every other block "#+begin_results"
doesn't add any meaning. Its sole purpose is to group some Org data,
which is the job of drawers.

Moreover, it's already easy to install results in a block (I use it to
center results). You only need to put the results line in an appropriate
location and evaluate the code block, like in the following:

--8<---------------cut here---------------start------------->8---
#+name: four
#+begin_src emacs-lisp
(+ 2 2)
#+end_src

#+begin_center
#+results: four
#+end_center
--8<---------------cut here---------------end--------------->8---

Note that the wrap argument may be used instead to wrap results in
a :RESULTS: drawer, but that default drawer would have then to be added
to the `org-drawers' list, and, in the end, wouldn't be very practical.

In my opinion, we should forget any will to automatically group results
(because there is no option more interesting than others) and let the
user decide what suits him the best.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]