From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: can't get source code editing working Date: Mon, 26 May 2008 00:33:10 +0200 Message-ID: <18C65FA2-2FD3-480D-BCF3-0B526DD475A6@uva.nl> References: <48398dc2.1235640a.21e3.ffffbe00SMTPIN_ADDED@mx.google.com> <20080525200408.GA28173@stats.ox.ac.uk> Mime-Version: 1.0 (Apple Message framework v919.2) 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 1K0OmG-00025L-MW for emacs-orgmode@gnu.org; Sun, 25 May 2008 18:33:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0OmE-000251-4U for emacs-orgmode@gnu.org; Sun, 25 May 2008 18:33:19 -0400 Received: from [199.232.76.173] (port=53367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0OmD-00024r-Rf for emacs-orgmode@gnu.org; Sun, 25 May 2008 18:33:17 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:12645) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0OmD-0000fq-FC for emacs-orgmode@gnu.org; Sun, 25 May 2008 18:33:17 -0400 In-Reply-To: <20080525200408.GA28173@stats.ox.ac.uk> 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: Dan Davison Cc: emacs-orgmode@gnu.org On May 25, 2008, at 10:04 PM, Dan Davison wrote: > I agree, this sounds great. I was just about to start trying to > combine org and latex usage in any case. However I'm being dense. > I've done git pull && make && make install, and I have org-version > equal to 6.04b. OK so far, right? Now I create an org file containing > > * section 1 > #+BEGIN_SRC latex > \log p(z|x,\theta) > #+END_SRC > * section 2 > #+BEGIN_SRC r > xor <- function(a,b) (a | b) & !(a & b) > #+END_SRC > * section 3 > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not b) b)) > #+END_SRC > > but despite repeated invocations of /C-c '/ and org-edit-special and > org-edit-src-example, with point in various places, I haven't > brought up a narrowed buffer in the requested mode. Instead I get > C-c ' can do nothing useful here. (from C-c ' and org-edit-special) > and silence from org-edit-src-example > The #+begin and #+end lines must start in column 0, you have whitespace in front of them. If you load the org-mtags.el module, you can also use a Muse-like syntax: these may be indented. HTH - Carsten