From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Bug: org-edit-special won't let me edit a latex snippet [7.9.2 (release_7.9.2-808-gd8b328 @ /home/youngfrog/sources/org-mode/lisp/)] Date: Fri, 21 Dec 2012 17:32:03 +0100 Message-ID: <50D48F03.6040900@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm5Vg-0000UB-6o for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 11:31:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm5Va-000645-NO for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 11:31:44 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:7869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm5Va-00063k-Hc for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 11:31:38 -0500 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 Hello all, I'm at commit 830e231ef1da5c5a1ab760a6a059551841952610, and notice the following unexpected behaviour. Starting from "emacs -Q -L ~/sources/org-mode/lisp/" : M-x org-mode insert " "user-error: No special environment to edit here" This behaviour was introduced by commit 81d5ebc | * org-src.el (org-edit-src-code): Check if we are in a source code block with `org-in-src-block-p'. I think it is because org-in-src-block-p says we are not in a source code block, and it says so because it seems to look for an overlay, but there are no overlay (though there is an "org-block" face property). Btw I thought I had seen discussions about it somewhere, but can't find that anymore. I'm sorry if this was already discussed ! -- Nicolas.