From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: Re: Org mode release 6.04 Date: Sun, 25 May 2008 08:41:54 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0527314542==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0FXu-00071I-3w for emacs-orgmode@gnu.org; Sun, 25 May 2008 08:41:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0FXt-000715-EL for emacs-orgmode@gnu.org; Sun, 25 May 2008 08:41:53 -0400 Received: from [199.232.76.173] (port=36559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0FXt-000712-9a for emacs-orgmode@gnu.org; Sun, 25 May 2008 08:41:53 -0400 Received: from main.gmane.org ([80.91.229.2]:44795 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 1K0FXs-0003Sf-NW for emacs-orgmode@gnu.org; Sun, 25 May 2008 08:41:53 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0FXm-0005XZ-Ej for emacs-orgmode@gnu.org; Sun, 25 May 2008 12:41:46 +0000 Received: from adsl-75-33-63-113.dsl.bcvloh.sbcglobal.net ([75.33.63.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 12:41:46 +0000 Received: from austin.frank by adsl-75-33-63-113.dsl.bcvloh.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 12:41:46 +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 --===============0527314542== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, May 25 2008, Carsten Dominik wrote: > Editing source code example in the proper mode > ---------------------------------------------- > > If you are writing a document with source code examples, you can > include these examples into a `#+BEGIN_SRC lang ... #+END_SRC' or > (with the org-mtags module loaded) a ` stands for the Emacs mode used for editing the language, this could be > `emacs-lisp' for Emacs Lisp mode examples, or `org' for Org mode > examples. You can now use the key "C-c '" (that is C-c followed by > the single quote) to edit the example in its native mode. This works > by creating an indirect buffer, narrowing it to the example and > setting the appropriate mode. You need to exit editing by killing > that indirect buffer, with `C-x k'. This is important, because lines > that have syntactic meaning in Org will be quoted when the indirect > buffer is killed. Carsten-- This is a phenomenally exciting addition. Combining this with the htmlized code examples in html export, and the option for \LaTeX export, org has clearly just vaulted past the rest of the field for literate programming. Expect a tutorial from me in the next few weeks about using org with RWeave (the R variant of SWeave). This will be a fantastic way to write articles that include statistical analyses and figures. That said, don't be surprised if by opening this door you end up with some new feature requests from me :) One addition that I can already see being interested in is the evaluation of embedded code before export, so that the results of the code are included along with the source. Obviously, there are security issues here that will need to be thought about, but I'd like to see if we could make this work. Greedy feature requests aside, this is very, very cool. > I guess it would be nice to exit with `C-c C-c', but who knows what > this key is supposed to do in a random mode. I can tell you now that C-c C-c is almost as overloaded in R-mode (from the package ESS) as it is in org-mode, and I will want it to have its R-mode interpretation while I edit R code. While I'm writing, I'll try to keep an eye out for sensible ways of jumping out of coding mode and back to org-mode. Thanks for this release! /au =2D-=20 Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkg5XpIACgkQlHMl2/XbR4HSPACfR+hb97WVSastobIFqhR6Dxjh gP4An1TFX2EdEyMrKNIttjbwbDXMIRnG =EoAN -----END PGP SIGNATURE----- --=-=-=-- --===============0527314542== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0527314542==--