From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: use # instead of * to signal different levels of headlines? is it possible? Date: Sat, 05 Apr 2014 13:01:25 +0200 Message-ID: <87bnwgdoqi.fsf@gmail.com> References: <665DC863-4E71-49BC-8C68-BD82AA52E955@gmail.com> <87zjk0ob0p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWOKm-00081D-9o for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 07:00:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWOKd-0003Uq-CJ for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 07:00:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:33110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWOKd-0003Uk-5o for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 07:00:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WWOKb-00062A-Ql for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 13:00:13 +0200 Received: from g231227109.adsl.alicedsl.de ([92.231.227.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Apr 2014 13:00:13 +0200 Received: from tjolitz by g231227109.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Apr 2014 13:00:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz writes: > For editing the property-drawer of the first headline in full Org-mode, > use outorg.el. > > This is how the *outorg-edit-buffer* looks after doing C-u M-# M-# > (outorg-edit-as-org) on the first headline (to convert and edit only the > subtree at point, use M-# M-#): > > | * code > | ** My first R Function > | > | simple example function from the manual > | #+begin_example > | twosam <- function(y1, y2) { > | n1 <- length(y1); n2 <- length(y2) > | yb1 <- mean(y1); yb2 <- mean(y2) > | s1 <- var(y1); s2 <- var(y2) > | s <- ((n1-1)*s1 + (n2-1)*s2)/(n1+n2-2) > | tst <- (yb1 - yb2)/sqrt(s*(1/n1 + 1/n2)) > | tst > | } > | #+end_example > > [ups, I see a bug ... sources should be wrapped into #+begin_src R blocks] This should be fixed now, I associated (ess . R) but it should rather be (ess-mode . R), now outorg recognizes ESS/R mode and converts code to R code-blocks instead of example blocks: ,-------------------------------------------------- | ** My first R Function | | simple example function from the manual | #+begin_src R | twosam <- function(y1, y2) { | n1 <- length(y1); n2 <- length(y2) | yb1 <- mean(y1); yb2 <- mean(y2) | s1 <- var(y1); s2 <- var(y2) | s <- ((n1-1)*s1 + (n2-1)*s2)/(n1+n2-2) | tst <- (yb1 - yb2)/sqrt(s*(1/n1 + 1/n2)) | tst | } | #+end_src `-------------------------------------------------- -- cheers, Thorsten