From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: Re: Is it possible to "properly" indent inside latex fragments? Date: Fri, 3 Mar 2017 09:14:38 +0100 Message-ID: <22713.9710.909681.412369@frac.u-strasbg.fr> References: <22662.9637.821790.492211@frac.u-strasbg.fr> <22674.12685.803652.265353@frac.u-strasbg.fr> <87shnxejkk.fsf@nicolasgoaziou.fr> <22675.54074.657630.758621@frac.u-strasbg.fr> <871svft28d.fsf@nicolasgoaziou.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjiMX-0002Ai-7N for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 03:14:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjiMU-000710-3A for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 03:14:53 -0500 Received: from mailhost.u-strasbg.fr ([130.79.222.219]:32927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjiMT-0006zl-Rn for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 03:14:50 -0500 In-Reply-To: <871svft28d.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Alain.Cochard@unistra.fr, "Charles C. Berry" Nicolas Goaziou writes on Wed 1 Feb 2017 21:34: > For the record, i implemented `org-edit-latex-environment'.=20 >=20 > Basically, it means you can edit the LaTeX code in a new buffer, usi= ng > latex-mode, with C-c ' [...] Nicolas Goaziou writes on Fri 3 Feb 2017 22:04: > Alain.Cochard@unistra.fr writes: >=20 > > I guess it will be available in the version following 9.0.4=3F >=20 > Indeed. >=20 > > will the indentation survive an 'M-x indent-region' or 'M-x > > org-indent-region'=3F >=20 > It should, now. [...] I have upgraded to: Org mode version 9.0.5 (9.0.5-elpa @ /home/cochard/.emacs.d/elpa/org-20170210/). But C-c ' in a LaTeX fragment results in "No special environment to edit here", while 'M-x org-edit-latex-environment' is "[No match]". Nevertheless, there is something: unlike for previous versions, an already indented LaTeX fragment does remain indented after 'M-x indent-region' or 'M-x org-indent-region'. What am I doing wrong=3F Thanks, Alain --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=