From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug?] org-inside-latex-fragment-p broken? Date: Fri, 23 Jun 2017 15:45:38 +0200 Message-ID: <87lgoi6cn1.fsf@nicolasgoaziou.fr> References: <87o9tfngo3.fsf@pank.eu> <87shiq6hqe.fsf@nicolasgoaziou.fr> <87k242oovk.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOOuB-0003K0-7d for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 09:45:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOOu7-0006DN-4R for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 09:45:47 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:45291) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dOOu6-0006Cl-Mk for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 09:45:42 -0400 In-Reply-To: <87k242oovk.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 23 Jun 2017 14:43:59 +0200") 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Nicolas Goaziou writes: > >> `backward-paragraph' may be a bit heavy. >> >> Anyway we shouldn't use this function at all. Why do you need it? > > It's used by a couple of org-cdlatex-* functions, > e.g. org-cdlatex-math-modify. Then these calls should be replaced with `org-element-context', unless the callers may be used in partially written LaTeX snippets. Regards,