From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MUtAX43Pmea0wAA62LTzQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 19:24:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6MUtAX43Pmea0wAA62LTzQ (envelope-from ) for ; Wed, 20 Nov 2024 20:24:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ufieJVbN; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=X3ffThBj; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732130685; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=E1DpyWJ0+nHoAsAbPO4VUWdRYn2xGsAL8LfKJgG8aMM=; b=W+qfNRIbY3LT75QtACrC9CpYqEhAosUtwVZSTL1J3MpNcttGx6qYDzBjjfzDL7aZKFsDz1 osVONEG5eBxxQYPO59xThJkaoh9k2pMonHWOErPHV5wWjElbGz+mpUTrDDVyeXCVLlrq09 en00eKNPu5bBglCQm8stM3s9e6hzBVM4hQtP6vQhj+GtEE+BUxYVsbsjgHRK2X0p0+CCFB KTeDgpIbDPyICCLWMQFPBI9xiowqCpofcmAoTihvYOjdQ5ttj1CVcneL7AhDVMCRCfuDJV bmRSxl2pGHImhFv8BbdhuFZ0Uh9UK6sLnQ6mCYDEorMv/HgN5FX4eJwWrilSug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ufieJVbN; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=X3ffThBj; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732130685; a=rsa-sha256; cv=none; b=E9pDhMzlXj0scqe/HxQAbVB5suhHHgB+OT2llbJbqTBH/AzdMheNYkzunR1M53PngUvQLo cBSYhbY5TOPql0Y8/z9c67jcjf+E+aJVhkaGZCcb1oYH7P/xDx1tiP3ROd95jnlW1dOqT3 3eBDlzeN6WR0JwJW8kUXCEu02k0T8fI4IezK38GkqOc2LtXCoG6HY/cZE69TY2uni2rmBo zWhhVYcu/RznbkEcVVuBttP67GvlkfJSZDqVLqb6t7mGym5B+sQDV/DsYzgl6cHU/o/0bi bq86ZJflIp82B9MeQ5QB+MOhxhGARUymRhqGXaj3CguDkfaYMnoB9j3TDPFFRw== 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 8B47180E33 for ; Wed, 20 Nov 2024 20:24:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDqJ6-0007pU-Ej; Wed, 20 Nov 2024 14:24:08 -0500 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 1tDqJ0-0007p7-Nf for bug-guix@gnu.org; Wed, 20 Nov 2024 14:24:03 -0500 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 1tDqJ0-0007DV-FL for bug-guix@gnu.org; Wed, 20 Nov 2024 14:24:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=E1DpyWJ0+nHoAsAbPO4VUWdRYn2xGsAL8LfKJgG8aMM=; b=ufieJVbNwKINZNk/blg8LqYGuLIe7AVVDy5qDWh1zvLch6PRW2RERuJDZzmTdME1/1xooed7oTYsoZJz2mNWLatC+UElRVEBIuDZz+Av64l0nN9ETRa6RG72FOu2wsr+7l5/rQp9+EBoHI+XclWpKk0AV3KzMGTsWPLhBr9560bsNgesnLhRBdHr2GYfnH3kPHcVh5QzEkM2WEIBJXmXHdMjYf1gRoJvLI1hua6eFknIurtenmBP1rmmYhzr1p/qo6Hd0JqnJ4ga2pauoJA94f0dPzQM1JeZ2K5iIFmzvuey+4gh6wpBNQdrZPmQ0akCmmw5zTeKeAfE/FKu7NHU6Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDqJ0-0003z6-6v for bug-guix@gnu.org; Wed, 20 Nov 2024 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74250: emacs-guix: guix-pull invalid input error Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Nov 2024 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74250 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Suhail Singh Cc: 74250@debbugs.gnu.org Received: via spool by 74250-submit@debbugs.gnu.org id=B74250.173213064015308 (code B ref 74250); Wed, 20 Nov 2024 19:24:02 +0000 Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 19:24:00 +0000 Received: from localhost ([127.0.0.1]:47827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDqIx-0003yq-Se for submit@debbugs.gnu.org; Wed, 20 Nov 2024 14:24:00 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:49864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDqIu-0003yY-SA for 74250@debbugs.gnu.org; Wed, 20 Nov 2024 14:23:57 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 0349920B2769; Wed, 20 Nov 2024 20:23:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim20240523; t=1732130628; x=1733945029; bh=E1DpyWJ0+nHoAsAbPO4VUWdRYn2xGsAL8LfKJgG8aMM=; b=X3ffThBjMqza 4QOSSt5qbLwFpcoAIkJKaZzqPA/MnT8JZRm2tLMZFxKBEm7kLfZLmp/tTKJDad6X JHDXoX/OcYTEKoxdNQK61aYRasD+EJR108nRZqn8QH0JJWBnXO5xAopMXDhb1GQJ niTrEFY4/jm1SXIhpvEi6fvM3dsYhVNEGwoHx4zD8ZlIkRNdfw0Qdy4YybZfgOAu mnzREU8As2YbBlhRgN0I3iuaZuILhrWKzPN9WMXf3FPLq10rpY3RZm1eAIlCmg/s zZflCL+hDjfBo3UuilOJXLfYzSmuQpcQz4WOiZHLPiDs/t8kcKFkrh6qZruD1Lw+ lOBCyqt9Fw== X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id WhYuVRNY-TZp; Wed, 20 Nov 2024 20:23:48 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 0945020B2746; Wed, 20 Nov 2024 20:23:47 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id BD16831229CE; Wed, 20 Nov 2024 20:23:47 +0100 (CET) From: Christopher Howard In-Reply-To: <87v7whwwr6.fsf@gmail.com> (Suhail Singh's message of "Wed, 20 Nov 2024 14:06:21 -0500") References: <87h68iy7u2.fsf@librehacker.com> <87h683djv2.fsf@librehacker.com> <8734jliwq6.fsf@librehacker.com> <87v7whwwr6.fsf@gmail.com> Date: Wed, 20 Nov 2024 10:23:35 -0900 Message-ID: <87ttc1hfpk.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.61 X-Spam-Score: -4.61 X-Migadu-Queue-Id: 8B47180E33 X-TUID: mIY/CeiElmol Suhail Singh writes: > Out of curiosity, does the below raise an assertion error for you when > GUILE_LOAD_PATH is _not_ set "appropriately"? > > #+begin_src emacs-lisp > (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) > (dolist (suffix '("guix/current/share/guile/site/3.0" > ;; > "guix-module-union/share/guile/site/3.0")) > (cl-assert (cl-some (lambda (x) > (string-suffix-p suffix x)) > guile-load-path)))) > #+end_src Hi, this is a little confusing since my example involved working outside of Emacs, running Scheme from the guix repl. Are you wanting this elisp code run before/after emacs-guix.el is loaded in Emacs? Anyhow, if I just execute (eval-last-sexp) the code you sent, I get this error: ``` Debugger entered--Lisp error: (cl-assertion-failed ((cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path) nil)) cl--assertion-failed((cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path)) (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) nil) (let ((suffix (car tail))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda (x) (string-suffix-p suffix x)) guile-load-path))) nil) (setq tail (cdr tail))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'(lambda (x) (string-suffix-p suffix x)) guile-load-path) (cl--assertion-failed '(cl-some (lambda ... ...) guile-load-path))) nil) (setq tail (cdr tail)))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'(lambda ... ...) guile-load-path) (cl--assertion-failed '(cl-some ... guile-load-path))) nil) (setq tail (cdr tail))))) (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some #'... guile-load-path) (cl--assertion-failed '...)) nil) (setq tail (cdr tail)))))) eval((let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":"))) (let ((tail '("guix/current/share/guile/site/3.0" "guix-module-union/share/guile/site/3.0"))) (while tail (let ((suffix (car tail))) (progn (or (cl-some ... guile-load-path) (cl--assertion-failed ...)) nil) (setq tail (cdr tail)))))) nil) elisp--eval-last-sexp(nil) #f(compiled-function () #)() handler-bind-1(#f(compiled-function () #) (error) eval-expression--debug) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) ``` -- Christopher Howard