From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: =?UTF-8?B?UmU6IEhlcmUgaXMgYSBwYXRjaCBJIHdhbnQgdG8gYWRkIHRvIG9y?= =?UTF-8?B?Zy5lbOKApuKApg==?= Date: Sat, 28 Feb 2015 11:01:53 +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]:57426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRf9r-0005gW-JJ for emacs-orgmode@gnu.org; Sat, 28 Feb 2015 06:02:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRf9o-000161-DX for emacs-orgmode@gnu.org; Sat, 28 Feb 2015 06:02:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:44075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRf9o-00015m-7P for emacs-orgmode@gnu.org; Sat, 28 Feb 2015 06:02:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YRf9m-0006K6-Ur for emacs-orgmode@gnu.org; Sat, 28 Feb 2015 12:02:03 +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 ; Sat, 28 Feb 2015 12:02:02 +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 ; Sat, 28 Feb 2015 12:02:02 +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, 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! Regards, Andreas