From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Johansson Subject: Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits Date: Sun, 23 Feb 2014 12:24:09 +0100 Message-ID: <5309DA59.3070905@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHXAT-0004BI-Ip for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 06:24:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHXAM-0000wt-53 for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 06:24:21 -0500 Received: from velox.its.uu.se ([130.238.7.74]:37879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHXAL-0000uy-Us for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 06:24:14 -0500 Received: from [192.168.1.2] (nl118-173-131.student.uu.se [130.243.173.131]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by velox.its.uu.se (Postfix) with ESMTPSA id 962BE34F5D for ; Sun, 23 Feb 2014 12:24:12 +0100 (CET) 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, I used the configuration: org-catch-invisible-edits 'show org-pretty-entities t together with org-cdlatex. This breaks the insertion of subscripts and superscripts through org-cdlatex because _{} is fontified and the {} are hidden so typing for example: "a _ bc" results in "a_{b}c" (or sometimes "a_bc", but should be "a_{bc}") and gives the message "Unfolding invisible region around point before editing". Setting org-catch-invisible-edits to nil let's cdlatex do it's work so I guess an easy solution would be to "let" that in org-cdlatex-underscore-caret. Cheers, Anders Johansson