emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dirk Scharff <dirk.scharff@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: problems with org-edit-special and python
Date: Mon, 18 Jul 2011 23:13:21 +0200	[thread overview]
Message-ID: <4CF33A81-574D-4C7D-9F42-0DC31DF6F61F@googlemail.com> (raw)

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: 
#+source : the_beginning
#+begin_src python
  
#+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". 
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. 

I tried the same with a latex code block and it worked without problems. 

I'm quite satisfied with my emacs python setup, which seems to run perfectly fine on its own. 

I have to admit I don't even know where to start for resolving this. Can someone point me in the right direction? 

best regards,
Dirk

             reply	other threads:[~2011-07-18 21:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 21:13 Dirk Scharff [this message]
2011-07-21  9:58 ` problems with org-edit-special and python Bastien
2011-07-21 10:58   ` Dirk Scharff
2011-07-26 11:30     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF33A81-574D-4C7D-9F42-0DC31DF6F61F@googlemail.com \
    --to=dirk.scharff@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).