From patchwork Fri Jan 15 21:24:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 26393 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 B793927BC14; Fri, 15 Jan 2021 21:41:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 36EF027BC13 for ; Fri, 15 Jan 2021 21:41:19 +0000 (GMT) Received: from localhost ([::1]:53690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0WqM-0008Av-AK for patchwork@mira.cbaines.net; Fri, 15 Jan 2021 16:41:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0Wq6-00089I-RD for guix-patches@gnu.org; Fri, 15 Jan 2021 16:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0Wq6-0008QC-2c for guix-patches@gnu.org; Fri, 15 Jan 2021 16:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0Wq5-00013i-VJ for guix-patches@gnu.org; Fri, 15 Jan 2021 16:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45906] [PATCH] gnu: Add emacs-scad-mode. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Jan 2021 21:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45906@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16107468404034 (code B ref -1); Fri, 15 Jan 2021 21:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2021 21:40:40 +0000 Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0Wpg-00012v-Rh for submit@debbugs.gnu.org; Fri, 15 Jan 2021 16:40:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:46300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0Wpc-00012j-1M for submit@debbugs.gnu.org; Fri, 15 Jan 2021 16:40:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0Wpb-0007Vg-OS for guix-patches@gnu.org; Fri, 15 Jan 2021 16:40:31 -0500 Received: from mail-oln040092009044.outbound.protection.outlook.com ([40.92.9.44]:14213 helo=NAM04-BN3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0WpL-00085J-66 for guix-patches@gnu.org; Fri, 15 Jan 2021 16:40:31 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QMGoO5m6kmlDmjM8/8eUmABSVhU1NmxBP4jgVA39ywSte41XZwHXPvEzUmmAdibTaBm1/EQWhcIYrgW6SkU/ZktNUm9rqCvEGps59WxUdaqW4bz4EpIlWDjVQd5xrjbndOXfpb97UaLYS/UjCfcNoyR4g4osm0YXcdNnBpQrLEb3RNBkE3acOW3DGbNbl5t3nG53XA7Dpm5o7Kqhgg26NF0XRrABXf+A0+BT4HyXV699huqtLchmhIiq0QOSmUO4KTrJp4v06ksVrB5ejz6IZAvOIXr51wWf12gS7RC2jiettULCLpzPS5t1zjuhsC7bAyQKBejKwC+Defxej1371Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XX/d4ueq6K4cOblOLTUu4t7Z8ou54kQHLEmYQJVRSAU=; b=GwbS8j6Af+DfG1cZF5WD6+QosHs9mq5e3spqKug1MusaYyCC0jdT6k/T6aUeIRhZcWWe4XnwjUIyyEIsY9pUUE/aB4pDGHZ6LB05W+zQG8fq1ZHTaWtp+npHmDh4POLAQS/fDNInhi3oeWxGYGvB6VOac3weJSKxOOfuUe8oDQtyFkcyUEcmW7NapKDs142kB8uAmbZ3dcAvW5puB52F1L9nwjgU8Yc2zdvH7jo5L3MtVVXjp8zkm5SxyrbMvpTw4W5ga/mTz1a2iu/NlYqUcDMaMjOjZ/E90asNE5i8TO/+BNoFANz8Dgdts8GgjWMNkJ9430e6dBlrbM8YpuXvAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XX/d4ueq6K4cOblOLTUu4t7Z8ou54kQHLEmYQJVRSAU=; b=alA5Jnkn2lcf71mwnc8gU31tPxvSFbG45f8+rWKQ5T56ttma+sI/7c40zM5tg4SVEaTNdMZn2Rzp98jzgIMZWHgLkTGXpIDxRYml/xCCqNJDpMlNUAvGoVBrosPAHpB6Tky7rXgTMddTy63JgY0uFmQh2W6T4dfKl5IXsFAstGUNt/9aTZspOj8M7tUN+73F/QhAPW5NUOYtMqxdJuUgIs8WjImZYRV6bvCUpxanonSU0iAz2hbFTE+sPlSQfILANPTZzbhm/116xu0FuuizWJl+HUkJ5GiPTJt5+y+t1hZ4c2Otpl4xzIFFuUxc/HG7pg+KvhV1su6ajZeVBRD5MQ== Received: from SN1NAM04FT036.eop-NAM04.prod.protection.outlook.com (10.152.88.54) by SN1NAM04HT022.eop-NAM04.prod.protection.outlook.com (10.152.89.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 15 Jan 2021 21:25:09 +0000 Received: from MWHPR0801MB3675.namprd08.prod.outlook.com (2a01:111:e400:7e4c::47) by SN1NAM04FT036.mail.protection.outlook.com (2a01:111:e400:7e4c::405) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12 via Frontend Transport; Fri, 15 Jan 2021 21:25:08 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:6692577D9248DEF4008D93E02D3BF15AE46A5AEA65C504F4F231B13FAE5C456B; UpperCasedChecksum:19924AF4E8C2EDCFB9FCCFB355ED4187AD46D50510C222418C1BA42EC6D26023; SizeAsReceived:8422; Count:45 Received: from MWHPR0801MB3675.namprd08.prod.outlook.com ([fe80::b060:e3df:1e35:f237]) by MWHPR0801MB3675.namprd08.prod.outlook.com ([fe80::b060:e3df:1e35:f237%7]) with mapi id 15.20.3742.013; Fri, 15 Jan 2021 21:25:08 +0000 From: Morgan.J.Smith@outlook.com Date: Fri, 15 Jan 2021 16:24:32 -0500 Message-ID: X-Mailer: git-send-email 2.30.0 X-TMN: [XpFmLT27kbdMqxhggwOnuKNAZDbfgdWh] X-ClientProxiedBy: YQBPR0101CA0052.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:1::29) To MWHPR0801MB3675.namprd08.prod.outlook.com (2603:10b6:301:7c::24) X-Microsoft-Original-Message-ID: <20210115212431.16876-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (70.30.20.141) by YQBPR0101CA0052.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:1::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Fri, 15 Jan 2021 21:25:07 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 232681ae-df28-4915-9465-08d8b99c0887 X-MS-Exchange-SLBlob-MailProps: pt8ZUcDWjMXujAWqO3xCVYiG43so0Mnkg30wA01qB3P2O21t64OHt8w8LqzVLhM9gdiekyrPzH3u32l68Ziivb49j+wjUWfViMSyRVP1oe3WDEColEy7Dyrw7s/2G/aoamYo7AR3X/kIUZJHN6wpA6Wet4NEa6kXyl5vqpn57zqxqo+b388fk4Hor+pyfWYXqTDxjMlEJQaRoHNM2aYHy9K/JWo4MTVGlJv46qkTcFvpF7v+90lbL7wsAl9KBzROICtMt8EHOyVEUq5tRrL6rpbZXz9h7kyOlkG644pYOtpMZruiBrxUqbB2Fu+WcEU6HE64bGYPuC11koQqF55eh+JNXKzMYd6QNTrVFJjSy6DmSyf30oGjtCV8ylor8Nsxfdlc9XCQP1AdYymsNeOQjNp+mppO+G3POtOjDXAmV2MPDw5WlxvvGE7nd8mWZTKk5RBzPHPH94LIEaZqRuirShIKKucN7lrW2nQYGlG9es5dF5/UUS+mV4iJUMbrGgaH1QKIb0JRVXsg+MhZgbUcAzz66/zxSLFVWDztecEW8xSbe8EegUlbGQx5K5eZbTgn7jEBPz3/P1W5+Ct0hPmIzcw+FBvjIVkTcK0TObz3/WkPeQ2oPZUTk+B/gg8nm5EQkzwuD2TxlZ4DRVtqPUG4v3aDQGtXlSBZ/2emudKldjujCN5F+aRAaRM0kKgPINKdQfgiB2HlSPFoZRs9sVslmCK0e3fc/Tz6eKGYytdDjzktf5l5lyK/Jz2SU7wyjpwMpzmrhR+ijDKHmm6TwC2qZ4KB8c4KALeljmjSdYAyYSxcr1h19cTntotJYyyayM+uoGlmpK0Ba0nmdjcDLaMgV5HB4RC6D2lZCmVVCQS1bl+5hZt4P1ZEoetyZkDsj67fRzORHwdO4ExyqSheq7etj6xvOEYFHDElg5F2o72MBaVCD6TiMJewqP/pv1XQrVf2 X-MS-TrafficTypeDiagnostic: SN1NAM04HT022: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: srQ0pc0+n1Uo9ZaAfU8EsZBjM3ol+wnNqNsdYeCeow4bJC0ZYQIBKDPLfLPYuqtBK/A9HjWTOTWWUYUSAvi40UEKShy4q0EKerGgVI82V4x/Am7eZOzwaIag3FewOWKMI1gCkhBF0gdWeK+w3tDiBuGX8m2BVooA4axRNfugmn550ToHNFox6caRIzoQqDfbeuIPQewm+ei/ZbgjpRgCwY8PzEsDXHs+TV/bRmK4Fx8GbM49IO/LGpOgrRG2RpXj3AWAE+7XKpYE1sHxutgTzpVldn3GzNoBHOxgQ4H+m3o= X-MS-Exchange-AntiSpam-MessageData: zCSCggDQs95wXSSY1vtPCDP7LoLitB54AiaeaZkjU+KVdDdoo1UyqZlkD/tVbfUt/ytlBGFjaMzuZ/PlIYnSwMT7Luos1c3Tb6n0o+myRizZQT9gmUfJi+xDQiu/buC1oaIqIoDtNyucVt6gDdOLUA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 232681ae-df28-4915-9465-08d8b99c0887 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2021 21:25:08.5013 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SN1NAM04FT036.eop-NAM04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT022 Received-SPF: pass client-ip=40.92.9.44; envelope-from=Morgan.J.Smith@outlook.com; helo=NAM04-BN3-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: Morgan Smith Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/engineering.scm (emacs-scad-mode): New variable. --- gnu/packages/engineering.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 826e2d89b6..fa48399853 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -20,7 +20,7 @@ ;;; Copyright © 2020 Ekaitz Zarraga ;;; Copyright © 2020 B. Wilson ;;; Copyright © 2020, 2021 Vinicius Monego -;;; Copyright © 2020 Morgan Smith +;;; Copyright © 2020, 2021 Morgan Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -50,6 +50,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system ant) #:use-module (guix build-system cmake) + #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system qt) @@ -2513,6 +2514,26 @@ full programmatic control over your models.") (home-page "https://www.openscad.org/") (license license:gpl2+))) +(define-public emacs-scad-mode + (package + (inherit openscad) + (name "emacs-scad-mode") + (native-inputs '()) + (inputs '()) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-elisp + ;; Elisp directory is not in root of the source. + (lambda _ + (chdir "contrib") + #t))))) + (synopsis "Emacs major mode for editing editing OpenSCAD code") + (description "@code{scad-mode} provides an Emacs major mode for editing +OpenSCAD code. It supports syntax highlighting, indenting and refilling of +comments."))) + (define-public freecad (let ((commit-ref "7616153b3c31ace006169cdc2fdafab484498858") (revision "1"))