From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Scharff Subject: problems with org-edit-special and python Date: Mon, 18 Jul 2011 23:13:21 +0200 Message-ID: <4CF33A81-574D-4C7D-9F42-0DC31DF6F61F@googlemail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qiv87-0007ot-5L for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 17:13:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qiv85-0008RI-0x for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 17:13:30 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:49878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qiv84-0008RB-Gx for emacs-orgmode@gnu.org; Mon, 18 Jul 2011 17:13:28 -0400 Received: by fxd18 with SMTP id 18so5896066fxd.39 for ; Mon, 18 Jul 2011 14:13:26 -0700 (PDT) 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 Hi all! I'm fairly new to emacs (and org-mode :)), so I'm sorry in advance for = eventually missing something completely obvious. While I kind of expect = my problem to be something with my emacs setup it does only happen with = org-mode so I'm posting it here. My test file (for learning purposes) contains the following (empty) = code-block:=20 #+source : the_beginning #+begin_src python =20 #+end_src When I try to run org-edit-special (C-c ') in the python source block an = empty buffer is opened as expected. My mini-buffer states the following: "Language mode 'python-mode' fails with: "Invalid file-name".=20 Trying to call python-mode manually in the new buffer doesn't work. (It = works fine in other buffers). I can't leave the new buffer by using C-c' = again.=20 I tried the same with a latex code block and it worked without problems.=20= I'm quite satisfied with my emacs python setup, which seems to run = perfectly fine on its own.=20 I have to admit I don't even know where to start for resolving this. Can = someone point me in the right direction?=20 best regards, Dirk=