emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
@ 2014-09-07  8:32 Julien Cubizolles
  2014-09-07 18:27 ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Julien Cubizolles @ 2014-09-07  8:32 UTC (permalink / raw)
  To: emacs-orgmode

It used to work, but the latest from git gives
--8<---------------cut here---------------start------------->8---
user-error: No special environment to edit here
--8<---------------cut here---------------end--------------->8---
It was very convenient to use auctex from within an org file using a lot
of LaTeX formulas. Is there a reason to change this behaviour ?

Julien.

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

* Re: org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
  2014-09-07  8:32 org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore Julien Cubizolles
@ 2014-09-07 18:27 ` Eric S Fraga
  2014-09-07 19:14   ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-09-07 18:27 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

On Sunday,  7 Sep 2014 at 10:32, Julien Cubizolles wrote:
> It used to work, but the latest from git gives
>
> user-error: No special environment to edit here
>
> It was very convenient to use auctex from within an org file using a lot
> of LaTeX formulas. Is there a reason to change this behaviour ?

+1

I ran into this change today.  I like being able to edit latex in its
own mode without having to resort to babel.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-310-g38d0eb

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
  2014-09-07 18:27 ` Eric S Fraga
@ 2014-09-07 19:14   ` Nicolas Goaziou
  2014-09-08  8:34     ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2014-09-07 19:14 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I ran into this change today.  I like being able to edit latex in its
> own mode without having to resort to babel.

Actually, this is a consequence of a known bug. See my last reply in
thread at

  http://permalink.gmane.org/gmane.emacs.orgmode/90336


Regards,

-- 
Nicolas Goaziou

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

* Re: org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
  2014-09-07 19:14   ` Nicolas Goaziou
@ 2014-09-08  8:34     ` Eric S Fraga
  2014-09-08 10:22       ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-09-08  8:34 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

On Sunday,  7 Sep 2014 at 21:14, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I ran into this change today.  I like being able to edit latex in its
>> own mode without having to resort to babel.
>
> Actually, this is a consequence of a known bug. See my last reply in
> thread at
>
>   http://permalink.gmane.org/gmane.emacs.orgmode/90336

Thanks Nicolas but I don't actually understand this.  <blush>

IIRC, I used to be able to edit LaTeX special blocks in a similar way as
babel src blocks but I no longer can.  Is this correct?  If so, why?

It's not a deal breaker, by the way.  I can survive by using LaTeX src
blocks instead.

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-310-g38d0eb

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
  2014-09-08  8:34     ` Eric S Fraga
@ 2014-09-08 10:22       ` Nicolas Goaziou
  2014-09-08 11:01         ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2014-09-08 10:22 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Thanks Nicolas but I don't actually understand this.  <blush>
>
> IIRC, I used to be able to edit LaTeX special blocks in a similar way as
> babel src blocks but I no longer can.  Is this correct?  If so, why?

To cut a long story short, I tried to solve a special-block/export-block
ambiguity, but my solution was wrong and export blocks in master started
acting weird.

I suggested another, not backward-compatible, solution and I'm waiting
for comments about it.

Anyhow, I reverted this mess: situation should be back to normal.


Regards,

-- 
Nicolas Goaziou

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

* Re: org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore
  2014-09-08 10:22       ` Nicolas Goaziou
@ 2014-09-08 11:01         ` Eric S Fraga
  0 siblings, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2014-09-08 11:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]


Thanks for the update and explanation.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-310-g38d0eb

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

end of thread, other threads:[~2014-09-08 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-07  8:32 org-edit-special doesn't work within #+BEGIN_LaTeX blocks anymore Julien Cubizolles
2014-09-07 18:27 ` Eric S Fraga
2014-09-07 19:14   ` Nicolas Goaziou
2014-09-08  8:34     ` Eric S Fraga
2014-09-08 10:22       ` Nicolas Goaziou
2014-09-08 11:01         ` Eric S Fraga

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