From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id pEP9CrXrmF+WLwAA0tVLHw (envelope-from ) for ; Wed, 28 Oct 2020 03:55:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EEtTBrXrmF/OQAAA1q6Kng (envelope-from ) for ; Wed, 28 Oct 2020 03:55:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 748C994042E for ; Wed, 28 Oct 2020 03:55:32 +0000 (UTC) Received: from localhost ([::1]:59318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXcYb-0005Eh-Si for larch@yhetil.org; Tue, 27 Oct 2020 23:55:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXcYA-0005ER-KU for guix-patches@gnu.org; Tue, 27 Oct 2020 23:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXcYA-0006xJ-BJ for guix-patches@gnu.org; Tue, 27 Oct 2020 23:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXcYA-00032G-Ae for guix-patches@gnu.org; Tue, 27 Oct 2020 23:55: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: Wed, 28 Oct 2020 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Nicolas Goaziou Cc: 44222@debbugs.gnu.org Received: via spool by 44222-submit@debbugs.gnu.org id=B44222.160385726211619 (code B ref 44222); Wed, 28 Oct 2020 03:55:02 +0000 Received: (at 44222) by debbugs.gnu.org; 28 Oct 2020 03:54:22 +0000 Received: from localhost ([127.0.0.1]:46712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXcXV-00031K-MG for submit@debbugs.gnu.org; Tue, 27 Oct 2020 23:54:22 -0400 Received: from dustycloud.org ([50.116.34.160]:44068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXcXN-000311-Nb for 44222@debbugs.gnu.org; Tue, 27 Oct 2020 23:54:20 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 2841C26616; Tue, 27 Oct 2020 23:53:48 -0400 (EDT) References: <87h7qi9eu0.fsf@dustycloud.org> <87361z4ats.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.4.12; emacs 26.3 From: Christopher Lemmer Webber In-reply-to: <87361z4ats.fsf@nicolasgoaziou.fr> Date: Tue, 27 Oct 2020 23:53:22 -0400 Message-ID: <878sbr57m5.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: TB3QbqEHwmO7 Nicolas Goaziou writes: > Hello, > > Christopher Lemmer Webber writes: > >> 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/s= hare/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=E2=80=99s value as variable is void: lojban-c-rgx >> command >> "/gnu/store/k826y34z8zzjj57jv2nldmpw6vsdd145-emacs-minimal-27.1/bin/emac= s" >> "--quick" "--batch" "--eval=3D(eval '(progn (setq byte-compile-debug t) >> (byte-recompile-directory (file-name-as-directory >> \"/gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lojban-0.23/share/em= acs/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.d= rv failed >> >> But if I look at the downloaded lojban.el file, I see it there: >> >> $ grep lojban-c-rgx /gnu/store/2hgmjkw6m1id4gr9zcg7qgig9wj758mv-emacs-lo= jban-0.23/share/emacs/site-lisp/lojban.el=20 >> (defconst lojban-c-rgx (concat "[" lojban-c-letter-set "]") >> ... >> >> Any ideas what might be causing it? > > This: > > (eval-when-compile > (concat "\\(" lojban-c-rgx "\\)\\1")) > > is the culprit. This is evaluated before compiling the file, when the > defconst is not defined yet.=20 I see! > Considering `lojban-c-rgx' is a constant, I'm not sure why > `eval-when-compile' would be better than defining the result as a new > constant. > > In any case, a poor man's fix could be replacing `eval-when-compile' > with `progn', or > > (concat "\\(" lojban-c-rgx "\\)\\1") > > with > > "\\([bcdfgj-npr-tvxz]\\)\\1" I'll give that a try. > Also, > > + (synopsis "Emacs utilities for operating on lojban text") > + (description > + "lojban.el is an emacs library of functions, variables, regexps and > +interactive commands for handling lojban text.") > > I would capitalize Emacs, and Lojban. Sounds sensible! I'll try to follow up on this patch sometime in the next week (but no promises). > Regards,