From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55754: 28.1; rcirc-define-command interactive spec doesn't work Date: Thu, 02 Jun 2022 11:33:18 +0200 Message-ID: <875ylj1kbl.fsf@gnus.org> References: <87zgiwxt3u.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12858"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55754@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o?= Pedro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 02 11:34:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwhDa-000343-CH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 11:34:14 +0200 Original-Received: from localhost ([::1]:54420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwhDY-0000yX-RO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 05:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwhDO-0000vd-BJ for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 05:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwhDO-00075r-2Q for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 05:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwhDN-0002Iw-Uk for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 05:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jun 2022 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55754 X-GNU-PR-Package: emacs Original-Received: via spool by 55754-submit@debbugs.gnu.org id=B55754.16541624098792 (code B ref 55754); Thu, 02 Jun 2022 09:34:01 +0000 Original-Received: (at 55754) by debbugs.gnu.org; 2 Jun 2022 09:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:52810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhCr-0002Hk-EO for submit@debbugs.gnu.org; Thu, 02 Jun 2022 05:33:29 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:48840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhCp-0002HV-WD for 55754@debbugs.gnu.org; Thu, 02 Jun 2022 05:33:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xLARhe1qWI4k4YWwqZphHz6z5cbWV/et/+Q1VLolvd4=; b=O9k0yF0zWL1qTY8L8ThvZVvyZS znzkrIcupu496FBCn4ErnNkYBpHDMCq5ktm4oqRtXkWBqUu/uNhuxHqo6f7FIaO1uFyCFoWdKsZhL 1nf2uoKF/gbfYRDJ/UbSIAfmyoKZUG65LneXdEsrXfEs2SMOcrJwxHhdeG+1odHpjKm8=; Original-Received: from 109.179.87.109.tmi.telenormobil.no ([109.179.87.109] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwhCh-0005WQ-Nx; Thu, 02 Jun 2022 11:33:22 +0200 In-Reply-To: <87zgiwxt3u.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o?= Pedro"'s message of "Wed, 01 Jun 2022 13:10:13 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233536 Archived-At: Jo=C3=A3o Pedro writes: > When using `rcirc-mode', I realized that some of the commands weren't > working as expected. After a bit of inspection, I realized that the > macro `rcirc-define-command' was defined in such as a way that the > interactive spec for the functions generated by such macro always have > the form `(list ...)'. This was fixed in Emacs 29 by this commit: commit 5df658a96a4bc7f8f96e3b2bf58dad32f81ce06a Author: Philip Kaludercic AuthorDate: Tue Apr 19 13:16:51 2022 +0200 Fix handling of intspecs as string by rcirc-define-command =20=20=20=20 * rcirc.el (rcirc-define-command): Check if an interactive specification is a string, in which case it was to be wrapped in a list so that the result of its interpretation is passed as the first argument of the command resulting from the macro expansion. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no