From unknown Mon Aug 18 11:18:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48844: emacs-guix: error on by-name package searches Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Jun 2021 05:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48844 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48844@debbugs.gnu.org X-Debbugs-Original-To: Guix Bug Reports Received: via spool by submit@debbugs.gnu.org id=B.162287149419038 (code B ref -1); Sat, 05 Jun 2021 05:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2021 05:38:14 +0000 Received: from localhost ([127.0.0.1]:48207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpP0f-0004x0-SZ for submit@debbugs.gnu.org; Sat, 05 Jun 2021 01:38:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpP0a-0004wp-HQ for submit@debbugs.gnu.org; Sat, 05 Jun 2021 01:38:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpP0a-0006SW-5T for bug-guix@gnu.org; Sat, 05 Jun 2021 01:38:08 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:40746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpP0Y-0007BY-4P for bug-guix@gnu.org; Sat, 05 Jun 2021 01:38:07 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id E29FC4051F for ; Sat, 5 Jun 2021 07:38:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:content-type:content-type :date:date:from:from:subject:subject:message-id:received :received:received; s=dkim20160331; t=1622871477; x=1624685878; bh=WByVScpgHBbnNBKmCV6l4D4s6OEaYYdSZA5LIMz4WIw=; b=kjrtKGt8ebxs y5eDQW9wWGbp+pCLdXOGW2CrCnAxFjKQewo43hpkhEi4Jwu3x9iFrCSoYniyWemc w3UPGUhTenW4EY0KCUBc+bptf73CW+JbX5IwySmSWfHO+XC8EVWD04SnLEZq1ZLa LRQc5GpOAGOGCiRREElS02g4dUSv4/nawNTzUi+tdL10nu7w+t+8qmmk/fOF109m BrmRChY3Q+zYMNIoz0Bc8lbKjOZTGWFM7bXpe+N9AL/LS0SqBvB53m9vxGpwfW6M XCTUmpsXRdpP0ax9aW+RIXeXdWqibInPc/KtuKd9w10prJd3N52Y+a7X/67B5Qhq cWNWDIvKsoOnXpiGCFUXRjbRuRas7mPuF+niDteLawvwVhb91hZFd58ISmvw6aOe 9XSQk1TUlOdU6riinUEuOyD+SWzHlH6auJ2XE3yhgGXoIUXyn/Iaak01hCXgSe28 j46Gi/9iEsSJEO2Ps2Ai0QrhqcJcwH0Kzst985xtyT477BS7lpef0DrLgrma0ULZ JXych222BjFn8hmEjvEvRkic2v5nHiGmrpNFlgomFcrNSHmLhbdnW0BFQHbt4e6n UXYQoUUPF4xffysUzgQgWmc0N6O7Enxp344XfXvy1n1YHDq1cY6fAwkVd8oAd2MT 0xjJGzxeUF+zIPqK86ZcYEJF5jiqKUY= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tbSlig943xVu for ; Sat, 5 Jun 2021 07:37:57 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 8B54540144 for ; Sat, 5 Jun 2021 07:37:57 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id C278734B for ; Sat, 5 Jun 2021 07:37:56 +0200 (CEST) Message-ID: From: Christopher Howard Date: Fri, 04 Jun 2021 21:37:51 -0800 Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=95.128.36.40; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) 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 repository URL: https://git.savannah.gnu.org/git/guix.git 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 blog: https://librehacker.com social: https://gnusocial.club/librehacker From unknown Mon Aug 18 11:18:07 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Howard Subject: bug#48844: closed (Re: bug#50056: [PATCH] gnu: emacs-guix: Update to 0.5.2.5-c9aef52.) Message-ID: References: <874kbcdlme.fsf@waegenei.re> X-Gnu-PR-Message: they-closed 48844 X-Gnu-PR-Package: guix Reply-To: 48844@debbugs.gnu.org Date: Thu, 26 Aug 2021 19:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1630007942-20007-1" This is a multi-part message in MIME format... ------------=_1630007942-20007-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48844: emacs-guix: error on by-name package searches which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48844@debbugs.gnu.org. --=20 48844: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48844 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1630007942-20007-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48844-done) by debbugs.gnu.org; 26 Aug 2021 19:58:19 +0000 Received: from localhost ([127.0.0.1]:50556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJLVu-0005BZ-AE for submit@debbugs.gnu.org; Thu, 26 Aug 2021 15:58:18 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:60653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJLVs-0005BJ-3i; Thu, 26 Aug 2021 15:58:13 -0400 Received: (Authenticated sender: brice@waegenei.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id AD25A1C0003; Thu, 26 Aug 2021 19:58:04 +0000 (UTC) From: Brice Waegeneire To: =?utf-8?Q?Andr=C3=A9?= A. Gomes Subject: Re: bug#50056: [PATCH] gnu: emacs-guix: Update to 0.5.2.5-c9aef52. References: <87r1ewl1t5.fsf@gmail.com> Date: Thu, 26 Aug 2021 21:58:01 +0200 In-Reply-To: <87r1ewl1t5.fsf@gmail.com> (=?utf-8?Q?=22Andr=C3=A9?= A. Gomes"'s message of "Sat, 14 Aug 2021 14:10:14 +0300") Message-ID: <874kbcdlme.fsf@waegenei.re> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48844-done Cc: 50056-done@debbugs.gnu.org, 48844-done@debbugs.gnu.org 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 (-) Hello Andr=C3=A9, 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 ------------=_1630007942-20007-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Jun 2021 05:38:14 +0000 Received: from localhost ([127.0.0.1]:48207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpP0f-0004x0-SZ for submit@debbugs.gnu.org; Sat, 05 Jun 2021 01:38:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpP0a-0004wp-HQ for submit@debbugs.gnu.org; Sat, 05 Jun 2021 01:38:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpP0a-0006SW-5T for bug-guix@gnu.org; Sat, 05 Jun 2021 01:38:08 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:40746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpP0Y-0007BY-4P for bug-guix@gnu.org; Sat, 05 Jun 2021 01:38:07 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id E29FC4051F for ; Sat, 5 Jun 2021 07:38:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:content-type:content-type :date:date:from:from:subject:subject:message-id:received :received:received; s=dkim20160331; t=1622871477; x=1624685878; bh=WByVScpgHBbnNBKmCV6l4D4s6OEaYYdSZA5LIMz4WIw=; b=kjrtKGt8ebxs y5eDQW9wWGbp+pCLdXOGW2CrCnAxFjKQewo43hpkhEi4Jwu3x9iFrCSoYniyWemc w3UPGUhTenW4EY0KCUBc+bptf73CW+JbX5IwySmSWfHO+XC8EVWD04SnLEZq1ZLa LRQc5GpOAGOGCiRREElS02g4dUSv4/nawNTzUi+tdL10nu7w+t+8qmmk/fOF109m BrmRChY3Q+zYMNIoz0Bc8lbKjOZTGWFM7bXpe+N9AL/LS0SqBvB53m9vxGpwfW6M XCTUmpsXRdpP0ax9aW+RIXeXdWqibInPc/KtuKd9w10prJd3N52Y+a7X/67B5Qhq cWNWDIvKsoOnXpiGCFUXRjbRuRas7mPuF+niDteLawvwVhb91hZFd58ISmvw6aOe 9XSQk1TUlOdU6riinUEuOyD+SWzHlH6auJ2XE3yhgGXoIUXyn/Iaak01hCXgSe28 j46Gi/9iEsSJEO2Ps2Ai0QrhqcJcwH0Kzst985xtyT477BS7lpef0DrLgrma0ULZ JXych222BjFn8hmEjvEvRkic2v5nHiGmrpNFlgomFcrNSHmLhbdnW0BFQHbt4e6n UXYQoUUPF4xffysUzgQgWmc0N6O7Enxp344XfXvy1n1YHDq1cY6fAwkVd8oAd2MT 0xjJGzxeUF+zIPqK86ZcYEJF5jiqKUY= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tbSlig943xVu for ; Sat, 5 Jun 2021 07:37:57 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 8B54540144 for ; Sat, 5 Jun 2021 07:37:57 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id C278734B for ; Sat, 5 Jun 2021 07:37:56 +0200 (CEST) Message-ID: Subject: emacs-guix: error on by-name package searches From: Christopher Howard To: Guix Bug Reports Date: Fri, 04 Jun 2021 21:37:51 -0800 Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=95.128.36.40; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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: -3.3 (---) 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 repository URL: https://git.savannah.gnu.org/git/guix.git 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 blog: https://librehacker.com social: https://gnusocial.club/librehacker ------------=_1630007942-20007-1--