From patchwork Sun Oct 25 21:27:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christine Lemmer-Webber X-Patchwork-Id: 24812 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 A0A9827BBF1; Sun, 25 Oct 2020 21:29:09 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 D4D8827BBF0 for ; Sun, 25 Oct 2020 21:29:08 +0000 (GMT) Received: from localhost ([::1]:55352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWnZb-0007Ml-U8 for patchwork@mira.cbaines.net; Sun, 25 Oct 2020 17:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnZW-0007MP-Fh for guix-patches@gnu.org; Sun, 25 Oct 2020 17:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWnZW-00042l-6A for guix-patches@gnu.org; Sun, 25 Oct 2020 17:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWnZW-0007ah-2c for guix-patches@gnu.org; Sun, 25 Oct 2020 17:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44222] emacs-lojban and emacs-lojban-mode packages Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Oct 2020 21:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44222@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160366129329120 (code B ref -1); Sun, 25 Oct 2020 21:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2020 21:28:13 +0000 Received: from localhost ([127.0.0.1]:37869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWnYi-0007Zc-OI for submit@debbugs.gnu.org; Sun, 25 Oct 2020 17:28:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:43488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWnYh-0007ZV-DX for submit@debbugs.gnu.org; Sun, 25 Oct 2020 17:28:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnYh-0006ya-7S for guix-patches@gnu.org; Sun, 25 Oct 2020 17:28:11 -0400 Received: from dustycloud.org ([50.116.34.160]:37202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnYf-0003rZ-6y for guix-patches@gnu.org; Sun, 25 Oct 2020 17:28:10 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 3FF7F26616 for ; Sun, 25 Oct 2020 17:27:27 -0400 (EDT) User-agent: mu4e 1.4.12; emacs 26.3 From: Christopher Lemmer Webber Date: Sun, 25 Oct 2020 17:27:03 -0400 Message-ID: <87h7qi9eu0.fsf@dustycloud.org> MIME-Version: 1.0 Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 17:27:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Well, here are some WIP patches... two of them. Sadly they don't work as-is, I'm hitting an error: starting phase `build' Checking /gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/emacs/site-lisp/... Compiling /gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/emacs/site-lisp/lojban-autoloads.el... Compiling /gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/emacs/site-lisp/lojban.el... Symbol’s value as variable is void: lojban-c-rgx command "/gnu/store/k826y34z8zzjj57jv2nldmpw6vsdd145-emacs-minimal-27.1/bin/emacs" "--quick" "--batch" "--eval=(eval '(progn (setq byte-compile-debug t) (byte-recompile-directory (file-name-as-directory \"/gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/emacs/site-lisp\") 0 1)) t)" failed with status 255 builder for `/gnu/store/lsjlw04kn85k7f38s7ni1g0ax8lbqzi4-emacs-lojban-0.23.drv' failed with exit code 1 build of /gnu/store/lsjlw04kn85k7f38s7ni1g0ax8lbqzi4-emacs-lojban-0.23.drv failed But if I look at the downloaded lojban.el file, I see it there: $ grep lojban-c-rgx /gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/emacs/site-lisp/lojban.el (defconst lojban-c-rgx (concat "[" lojban-c-letter-set "]") ... Any ideas what might be causing it? From 4eabeccaf2aaf879e3cc829899c143aaf55d082b Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Sun, 25 Oct 2020 17:21:56 -0400 Subject: [PATCH] gnu: Add emacs-lojban-mode. * gnu/packages/emacs-xyz.scm (emacs-lojban-mode): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ce5b8ac4ca..107bd6a9bf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25178,3 +25178,25 @@ service.") "lojban.el is an emacs library of functions, variables, regexps and interactive commands for handling lojban text.") (license license:gpl2+))) + +(define-public emacs-lojban-mode + (package + (name "emacs-lojban-mode") + (version "0.7") + (source + (origin + (method url-fetch) + (uri "https://www.emacswiki.org/emacs/download/lojban-mode.el") + (sha256 (base32 "1l8wq3hzr77k5ibqb2ghzjskfvjhgfvwan1v8gma4msi5mjfiv30")))) + (build-system emacs-build-system) + (home-page "https://www.emacswiki.org/emacs/lojban-mode.el") + (synopsis "Emacs minor mode for lojban text") + (propagated-inputs + `(("emacs-lojban" ,emacs-lojban))) + (description + "lojban-mode provides a specialized minor mode for lojban text. +It includes syntactical highlighting for lojban words. +The three basic word types (cmavo, cmene, and brivla), sentence +separators and attitudinal indicators are highlighted with +different faces.") + (license license:gpl2+))) -- 2.28.0