emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2012-12-21 16:32 Nicolas Richard
  2012-12-24  0:26 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Richard @ 2012-12-21 16:32 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 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/)]
  2012-12-21 16:32 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/)] Nicolas Richard
@ 2012-12-24  0:26 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-24  0:26 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: emacs-orgmode

Hi Nicolas,

Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:

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

Fixed, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-24  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-21 16:32 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/)] Nicolas Richard
2012-12-24  0:26 ` Bastien

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).