GNU bug report logs - #59256
Emacs-guix tab-completion returns gexp error

Previous Next

Package: guix;

Reported by: Joshua Hecker <joshua0609 <at> mailbox.org>

Date: Mon, 14 Nov 2022 09:13:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: calcium <calcium <at> disroot.org>
To: 59256 <at> debbugs.gnu.org
Subject: bug#59256: Emacs-guix tab-completion returns gexp error
Date: Thu, 15 Dec 2022 13:01:13 +0000
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))") ;; => "#<procedure help-string commands>"
```

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.






This bug report was last modified 2 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.