From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Pita Subject: Re: [Patch] [Feature request] Add option to natively fontify latex snippets and environment Date: Thu, 3 Jan 2019 12:34:44 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000002ecd99057e8f81f7" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf51P-0004lf-72 for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 10:35:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf51N-0000CO-Fx for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 10:34:58 -0500 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:42425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gf51N-0000C4-A0 for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 10:34:57 -0500 Received: by mail-yb1-xb2f.google.com with SMTP id q145so12043448ybq.9 for ; Thu, 03 Jan 2019 07:34:57 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org --0000000000002ecd99057e8f81f7 Content-Type: text/plain; charset="UTF-8" I've improved the commit message to better align org mode conventions and also added a note to ORG-NEWS about the new feature. --0000000000002ecd99057e8f81f7 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-option-to-natively-fontify-LaTeX-snippets-and-en.patch" Content-Disposition: attachment; filename="0001-Add-option-to-natively-fontify-LaTeX-snippets-and-en.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jqgru5210 RnJvbSAxOWQxZDgzOTAxZDNjYzQ0NDQ5NTliMGNlZjVkMjgz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