From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: =?UTF-8?B?UmU6IEhlcmUgaXMgYSBwYXRjaCBJIHdhbnQgdG8gYWRkIHRvIG9y?= =?UTF-8?B?Zy5lbOKApuKApg==?= Date: Mon, 02 Mar 2015 22:48:57 +0000 Message-ID: References: <54ED4E97.C3CC91.30527@m12-13.163.com> <87d24yb0u1.fsf@nicolasgoaziou.fr> <54F0118E.D911F7.27458@m12-15.163.com> <87mw3z8z08.fsf@nicolasgoaziou.fr> <877fv3rkn8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSZ90-0004Fa-92 for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 17:48:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSZ8v-0000EP-9K for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 17:48:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:33495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSZ8v-0000E3-2Z for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 17:48:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSZ8t-0003hq-7o for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 23:48:51 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 23:48:51 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 23:48:51 +0100 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 Hi Nicolas, Andreas Leha writes: > Hi Nicolas, > > Nicolas Goaziou writes: >> Andreas Leha writes: >> >>> I am talking about `org-toggle-latex-fragment'. And even if that is >>> fast, it is very annoying behaviour. I'd very much like to be able to >>> toggle individual images. In a math-heavy document the redisplay of all >>> formula images of even the current section takes noticable moment. But >>> much worse: if I am working on a formula, I usually like to see other >>> formulas as images. But they disappear as soon as I switch off the >>> image of the current formula to debug it. >>> >>> It is quite hard to even achieve the state where all formulas except the >>> formula under the point are displayed as image. >>> >>> And I'd expect `org-toggle-latex-fragment' to do what its name suggests: >>> to toggle the latex fragment, i.e. to produce the same state after the >>> second invocation. Similarly to visibility cycling only a prefix should >>> act globally, IMO. >> >> Fair enough. >> >> Would you mind testing the following patch, then? It makes >> `org-toggle-latex-fragment' behave more to your liking. >> > > From my first tests I can say: I very much like it! Thanks a lot! > I spoke a little too soon. I still like it, but there is a regression. See http://permalink.gmane.org/gmane.emacs.orgmode/95563 Regards, Andreas