emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Rick Frankel <rick@rickster.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Inconsistency in src block hiding
Date: Wed, 18 Jan 2012 09:19:16 -0700	[thread overview]
Message-ID: <87pqehrnjv.fsf@gmx.com> (raw)
In-Reply-To: <c52e7755f0dfe0b45294a50c30b76de2@mail.rickster.com> (Rick Frankel's message of "Wed, 18 Jan 2012 11:02:59 -0500")

[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]

Rick Frankel <rick@rickster.com> writes:

> On 18.01.2012 05:45, Leo Alekseyev wrote:
>>>> Why can't you? Wouldn't it be related to drawers configuration
>>>> (org-export-with-drawers for example)?
>>>
>>> Yes... but I don't think I can configure which drawers I get, and I
>>> don't want my LOGBOOK drawer with all my clock lines in my export.
>>>
>>> -Bernt
>>>>
>>>>> Is there still a way to hide results output with the current
>>>>> master?
>>>>
>>>> Yes, within a drawer.
>>
>> Yes, but is it possible to hide the drawer name in the HTML export?
>> If drawers are designed to be used as an organization device (and not
>> an outlining device), the drawer delimiters shouldn't be exported to
>> HTML.
>
> It's worse than that. Once wrapped in a RESULTS drawer, the output is
> no longer export.
>
> I aggree w/ Bernt, this has been a major annoyance for me, in fact, i
> was going to post it as a regession (not having seen the original
> post).
>
> I use org-mode for generating a lot of self-documenting code (w/o
> noweb). I generate large images and data tables which i want in the
> export, but don't normally want to see while working in the source
> file.
>

Well maybe we should roll back this change.  It was an attempt to bring
code block syntax more /inline/ with the rest of Org-mode, but if it
proves to cause usability problems I think that trumps clean design.

I'll wait to see if Nicolas has a solution which is both functional and
conforms to the Org-mode wide syntax norms.  In the mean time the
solution used in the following Org-mode file should provide the desired
functionality.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: folding-results.org --]
[-- Type: text/x-org, Size: 183 bytes --]

#+Property: wrap results

#+BEGIN_SRC emacs-lisp :exports results
  '((1 2 3 4)
    (5 6 7 8))
#+END_SRC

#+results:
#+BEGIN_results
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
#+END_results

[-- Attachment #3: Type: text/plain, Size: 66 bytes --]


Best,

>
> rick
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-01-18 16:22 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-20 10:00 [BUG] Inconsistency in src block hiding Nicolas Goaziou
2011-11-20 15:53 ` Eric Schulte
2011-11-20 19:33   ` Nicolas Goaziou
2011-11-21 18:24     ` Eric Schulte
2011-11-22 16:15       ` Eric Schulte
2011-11-22 18:19       ` Nicolas Goaziou
2011-11-22 23:23         ` Eric Schulte
2011-11-23 15:25           ` Nicolas Goaziou
2011-11-28  8:09             ` Eric Schulte
2011-12-11 13:53               ` Bastien
2011-12-11 14:08                 ` Nicolas Goaziou
2011-12-11 16:25                   ` Eric Schulte
2011-12-11 16:04                 ` Eric Schulte
2011-12-11 17:04                   ` Bastien
2012-01-17  2:26                   ` Bernt Hansen
2012-01-17 17:49                     ` Nicolas Goaziou
2012-01-17 17:59                       ` Bernt Hansen
2012-01-18 10:45                         ` Leo Alekseyev
2012-01-18 16:02                           ` Rick Frankel
2012-01-18 16:19                             ` Eric Schulte [this message]
2012-01-18 17:36                               ` Nicolas Goaziou
2012-01-19 12:10                                 ` Martyn Jago
2012-01-19 14:48                                   ` Eric Schulte
2012-01-19 15:22                                   ` Rick Frankel
2012-01-19 19:18                                   ` Nicolas Goaziou
2012-01-19 14:41                                 ` Eric Schulte
2012-01-19 19:26                                   ` Nicolas Goaziou
2012-01-24  3:41                                     ` Eric Schulte
2012-01-24  4:23                                       ` Leo Alekseyev
2012-01-24  4:44                                         ` Jambunathan K
2012-01-24  7:59                                       ` Andreas Leha
2012-01-24 20:39                                       ` Nicolas Goaziou
2012-01-28 16:08                                       ` Nicolas Goaziou
2012-01-25  0:00                         ` Nick Dokos
2012-01-25  2:23                           ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqehrnjv.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rick@rickster.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).