From patchwork Wed Aug 9 14:42:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 52692 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 84C5127BBEA; Wed, 9 Aug 2023 15:43:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8AE6E27BBE2 for ; Wed, 9 Aug 2023 15:43:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTkOv-0005UV-Iw; Wed, 09 Aug 2023 10:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTkOs-0005UB-GF for guix-patches@gnu.org; Wed, 09 Aug 2023 10:43:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTkOs-0002Bn-3c for guix-patches@gnu.org; Wed, 09 Aug 2023 10:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTkOr-0001rr-V3 for guix-patches@gnu.org; Wed, 09 Aug 2023 10:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65181] [PATCH] gnu: Add emacs-math-preview. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Aug 2023 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65181@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16915921697151 (code B ref -1); Wed, 09 Aug 2023 14:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2023 14:42:49 +0000 Received: from localhost ([127.0.0.1]:40304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTkOe-0001rG-Gk for submit@debbugs.gnu.org; Wed, 09 Aug 2023 10:42:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTkOd-0001r3-K8 for submit@debbugs.gnu.org; Wed, 09 Aug 2023 10:42:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTkOY-00057s-Dh for guix-patches@gnu.org; Wed, 09 Aug 2023 10:42:42 -0400 Received: from devianza.investici.org ([2c0f:f930:0:4::108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTkOV-00022F-V8 for guix-patches@gnu.org; Wed, 09 Aug 2023 10:42:42 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4RLXp96gn9z6vG6; Wed, 9 Aug 2023 14:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1691592145; bh=XH216nMjW2wwhDO0Un+vR/4l7aXS5piDeZvjYrgHEGg=; h=From:To:Cc:Subject:Date:From; b=HcXfvJQAFj4gtaIo0R++poMvjawQ9mGWMTBz/015TQ0Ual9hUAW6yq+D152LgCjq9 Lp2uJJsciuf98bOg17BnBzpSvdqtwoN0EVf5hAaauJwqfrYdlDRwEWm/UtKQpY0g19 4pu3FEJGIGz0cgi4uCaRusMCYxpeg3ABtPeZ6bME= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4RLXp95Cddz6vFw; Wed, 9 Aug 2023 14:42:25 +0000 (UTC) Date: Wed, 9 Aug 2023 16:42:15 +0200 Message-ID: <71e2ad95ee45e22ccc8d02d60efc0397ef62789f.1691592135.git.csantosb@inventati.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2c0f:f930:0:4::108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-math-preview): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 210bbf9c59355218fec1484a686cc2ecdc218506 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ed3d89d51f..15b9897a54 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9052,6 +9052,30 @@ (define-public emacs-math-symbol-lists @code{company-math}.") (license license:gpl3+))) +(define-public emacs-math-preview + (package + (name "emacs-math-preview") + (version "5.1.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.com/matsievskiysv/math-preview") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ni08900p0pbajw143iw0b7a62qiqcm9b6jy7pqgpn437vydjx1z")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-dash emacs-s)) + (home-page "https://gitlab.com/matsievskiysv/math-preview") + (synopsis "Preview TeX math equations inline using MathJax") + (description + "Emacs math-preview uses MathJax for displaying TeX, MathML and AsciiMath + math inline in Emacs buffers.") + (license license:gpl3+))) + (define-public emacs-company-coq (package (name "emacs-company-coq")