From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: [IDEA] HTML-export literal examples to textarea Date: Fri, 16 Jan 2009 10:51:58 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNlN6-0006W9-0p for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 04:52:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNlN4-0006Vf-Sd for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 04:52:11 -0500 Received: from [199.232.76.173] (port=60599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNlN4-0006Va-CJ for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 04:52:10 -0500 Received: from main.gmane.org ([80.91.229.2]:55714 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNlN3-00066f-P9 for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 04:52:10 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LNlN1-0005S4-Ly for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 09:52:07 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jan 2009 09:52:07 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jan 2009 09:52:07 +0000 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: emacs-orgmode@gnu.org Is it worth thinking about an example block that will be exported to a "

" structure in HTML export? I was recently playing around with org for online documentation. The documents contained lots of literal examples that can be directly copied and pasted e.g. into a terminal emu. While example- and src blocks work fine, I think that putting this kind of information into a textarea would be even better. Ideally the cols attribute to textarea could be defined by the user after #+begin_textarea (or whatever) with a reasonable default (let's say 80). Rows could be calculated depending on the number of lines inside the block. Export to anything else than HTML should treat such a block in much the same way as an example block. I think this really would be a nice feature to have and maybe I'm not alone with this opinion? Ulf