[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-06 Thread Dima Kogan
Nicolas Goaziou writes: > Dima Kogan writes: > >> Ah. Thanks for explaining. The patch helps somewhat, but one can still >> get into an inconsistent state: >> >> 1. Write \(1 + 2\) >> 2. Toggle overlay with C-c C-x C-l >> 3. M-x revert-buffer

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-05 Thread Nicolas Goaziou
Hello, Dima Kogan writes: > Ah. Thanks for explaining. The patch helps somewhat, but one can still > get into an inconsistent state: > > 1. Write \(1 + 2\) > 2. Toggle overlay with C-c C-x C-l > 3. M-x revert-buffer > > After the revert, the overlay remains, which is

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-04 Thread Dima Kogan
Nicolas Goaziou writes: > Dima Kogan writes: > >> Nicolas Goaziou writes: >> >>> Would the following patch (applied on maint) solve the problem? >> >> Hi. I didn't observe anything acting differently with this patch. What >>

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-04 Thread Nicolas Goaziou
Hello, Dima Kogan writes: > Dima Kogan writes: > >> So a revert puts emacs into an inconsistent state, where the equation is >> rendered, but the source may or may not be there anymore, and where org >> doesn't think there's a render there at all. >

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-04 Thread Dima Kogan
Nicolas Goaziou writes: > Would the following patch (applied on maint) solve the problem? Hi. I didn't observe anything acting differently with this patch. What did you see it do? Was it supposed to unrender on revert, or to keep the render, but update the state?

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-04 Thread Nicolas Goaziou
Dima Kogan writes: > Nicolas Goaziou writes: > >> Would the following patch (applied on maint) solve the problem? > > Hi. I didn't observe anything acting differently with this patch. What > did you see it do? Was it supposed to unrender on revert,

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-03 Thread Dima Kogan
Hi. Thank you for replying. I just tried with the latest daily snapshot from org-mode.org, and this bug is still valid, although the problem at least becomes recoverable without killing and re-opening the org buffer. Bastien Guerry writes: > Dima Kogan

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-03 Thread Dima Kogan
Dima Kogan writes: > So a revert puts emacs into an inconsistent state, where the equation is > rendered, but the source may or may not be there anymore, and where org > doesn't think there's a render there at all. This looks like an issue in emacs, rather than org. I

[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-02 Thread Bastien Guerry
Hi Dima, Dima Kogan writes: > 3. C-c C-x C-l > >This renders the latex fragment to show the equation graphically. It >also tells the user (in the mini-buffer) that C-c C-c will remove the >rendering, and go back to text Latest stable version from Org does not