emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <50D48F03.6040900@yahoo.fr> (raw)

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 "<l" and hit SPC
hit "C-c '"

=> "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.

             reply	other threads:[~2012-12-21 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21 16:32 Nicolas Richard [this message]
2012-12-24  0:26 ` 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/)] 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=50D48F03.6040900@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --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).