emacs-guix: error on by-name package searches

  • Done
  • quality assurance status badge
Details
2 participants
  • Brice Waegeneire
  • Christopher Howard
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal

Debbugs page

Christopher Howard wrote 4 years ago
(name . Guix Bug Reports)(address . bug-guix@gnu.org)
e715c9ece705fd2750a22263b5e006ce89f3a762.camel@librehacker.com
Hi, there is a bug in emacs-guix by-name packages searches which is not
terribly difficult to work around, but is somewhat annoying.

It appears that there was some functionality added to emacs-guix such
that, if cursor is over a word, and I execute M-x guix p n, then the
search field is pre-filled with the word underneath cursor. This is a
great feature. However, if cursor happens to /not/ be over a
word (for example, on an empty line) then instead I get an error:

split-string: Wrong type argument: stringp, nil

This bug has been around for something like a month, but I didn't
report it earlier, thinking that lots of other people would have
immediately noticed it.

Here is my version and system information:

christopher@nightshade ~$ guix show emacs | grep version
version: 27.2
christopher@nightshade ~$ guix show emacs-guix | grep version
version: 0.5.2-4.8ce6d21
christopher@nightshade ~$ guix describe
Generation 7 Jun 04 2021 15:20:58 (current)
guix 7382aa0
branch: master
commit: 7382aa00b82860762bc326dec6b45f8cd2161327
christopher@nightshade ~$ neofetch --stdout
christopher@nightshade
----------------------
OS: Guix System 7382aa00b82860762bc326dec6b45f8cd2161327 x86_64
Host: GA-880GM-UD2H
Kernel: 5.12.9-gnu
Uptime: 5 hours, 18 mins
Packages: 106 (guix-system), 98 (guix-user)
Shell: bash 5.0.16
Resolution: 1920x1200
DE: GNOME 3.34.5
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: kitty
CPU: AMD Athlon II X3 455 (3) @ 3.300GHz
GPU: NVIDIA GeForce 8400 GS Rev. 3
Memory: 2023MiB / 7957MiB


--
Christopher Howard
Brice Waegeneire wrote 4 years ago
Re: bug#50056: [PATCH] gnu: emacs-guix: Update to 0.5.2.5-c9aef52.
(name . André A. Gomes)(address . andremegafone@gmail.com)
874kbcdlme.fsf@waegenei.re
Hello André,

Thank you for the patch. I changed the source to Gitlab since the Github
repositroy and the homepage point to that repo.

Pushed as 399e3ee7b793022b22937901ab4c477ece1ad226.

Cheers,
- Brice
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 48844@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 48844
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help