From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [IDEA] HTML-export literal examples to textarea Date: Mon, 19 Jan 2009 10:01:08 +0100 Message-ID: <3440483C-0236-41B7-88B6-984D25A3EF7F@uva.nl> References: <0F3A5DC4-D191-472D-BCA6-7978CEB308F9@uva.nl> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOq0S-0003yY-Ey for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 04:01:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOq0Q-0003xm-S1 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 04:01:16 -0500 Received: from [199.232.76.173] (port=34986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOq0Q-0003xe-8P for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 04:01:14 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]:65323) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOq0P-0002Hr-Du for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 04:01:13 -0500 Received: by ug-out-1314.google.com with SMTP id 36so242886uga.17 for ; Mon, 19 Jan 2009 01:01:11 -0800 (PST) In-Reply-To: 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: Ulf Stegemann , Eric Schulte Cc: Emacs-orgmode mailing list So it remains a kind-of specialistic thing. Maybe Eric would like to add a textarea block to org-export-blocks.el? - Carsten On Jan 19, 2009, at 9:56 AM, Ulf Stegemann wrote: > Carsten Dominik wrote: > >> On Jan 19, 2009, at 8:25 AM, Ulf Stegemann wrote: >> >>> Hi Carsten, >>> >>> Carsten Dominik wrote: >>> >>>> On Jan 16, 2009, at 10:51 AM, Ulf Stegemann wrote: >>>> >>>>> 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. >>>> >>>> Hi Ulf, so far I fail to see what the big advantage would be. Can >>>> you try again to explain? >>> >>> of course. Generally, selecting text is a bit easier inside an >>> input box >>> but the very real advantage is that you can edit inside inputs. This >>> allows to give literal examples with "variables" that can be changed >>> directly inside the page before being copied and pasted. >> >> Hmmm, but why would you want to edit them in the text window, if you >> will paste them into an editor anyway, where you probably can edit >> them a lot easier? Or are you talking about pasting examples >> directly into an interpreter input stream? > > yes, in the concrete case the documentation was about a rather complex > system and software setup and the "examples" were mainly meant to be > copied and pasted directly into an terminal emu ... with variable > things > like host-, path-, user names an so on. Of course, one could paste > this > in an editor first to change something but as the changes would be > rather minimal this would prove to be a bit clumsy. > > Actually nobody seems to do it like this. I asked the target group how > they handle this and they told me, they just selected the text up to > the > first variable, pasted it into the terminal, typed their variable > value > into the terminal and then selected the rest of the example to > complete > their command line(s). > > Ulf > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode