From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 08:01:20 2022 Received: (at 59256) by debbugs.gnu.org; 15 Dec 2022 13:01:20 +0000 Received: from localhost ([127.0.0.1]:42955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5nrU-0005m9-EP for submit@debbugs.gnu.org; Thu, 15 Dec 2022 08:01:20 -0500 Received: from knopi.disroot.org ([178.21.23.139]:36924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5nrR-0005m3-17 for 59256@debbugs.gnu.org; Thu, 15 Dec 2022 08:01:19 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 96EB64119A for <59256@debbugs.gnu.org>; Thu, 15 Dec 2022 14:01:15 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PlfDIok_4P20 for <59256@debbugs.gnu.org>; Thu, 15 Dec 2022 14:01:14 +0100 (CET) Message-ID: <12c37abe-1c21-dc5f-8b0a-6c6f5c6618af@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1671109274; bh=/l96OhWRntu1sjgmxIry9cibX58evGgHfePpB55UCNc=; h=Date:To:From:Subject; b=hWSMCLxdntbkIwZNLoc6yw2kdKXMQ+N5GRIuNDkFFsIqMcttipcsmXD7tUi2oVYZz c+wcWt207wBwjyAXdTysgrjeeaKXRIxdgfgvRxY9krREglOBJdh+gn/E+iorO07dsf tf0H8kv+Oiz9jk6smPSy5w+cN8rUgPOX5sENxGoMlDQNiaJjwW7d0X9d2ULllj0sch CAITs7ekgu9For5wLgQwmbNjFqoYBprITEqKx5S1HAqkmLuySFskYSXYqLYZbwX6Vr dCgoJxwUZ1/c7vaSosmeUcj9Ci32eYVpaDJkgFB8fde6HFtdKKzA5+lu99V8dYqiDq 2hQznKrMLEqGA== Date: Thu, 15 Dec 2022 13:01:13 +0000 MIME-Version: 1.0 Content-Language: en-US To: 59256@debbugs.gnu.org From: calcium Subject: Emacs-guix tab-completion returns gexp error Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59256 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) The problem can be tracked back from elisp procedure `guix-pcomplete-search-in-help` in guix-pcomplete.el to `guix-help-string` in guix-misc.el, to this problematic code : ``` (guix-eval-read "(help-string )") ``` The procedure help-string exists, as can be seen below : ``` (guix-eval-read "(begin (use-modules (ice-9 format)) (format #f \"~s\" help-string))") ;; => "#" ``` but the object that `(help-string)` returns seems incompatible with guile's own repl/shell .... The solution might be to just change the `help-string` procedure to return another kind of object, or to fix guile's repl/shell for that kind of object.