From unknown Sat Jun 21 03:01:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24182 <24182@debbugs.gnu.org> To: bug#24182 <24182@debbugs.gnu.org> Subject: Status: 25.1.50; map--dispatch: doc string mentions a non existent argument Reply-To: bug#24182 <24182@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:01:48 +0000 retitle 24182 25.1.50; map--dispatch: doc string mentions a non existent ar= gument reassign 24182 emacs submitter 24182 Tino Calancha severity 24182 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 06:38:36 2016 Received: (at submit) by debbugs.gnu.org; 8 Aug 2016 10:38:36 +0000 Received: from localhost ([127.0.0.1]:59566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWhx6-00076B-Hr for submit@debbugs.gnu.org; Mon, 08 Aug 2016 06:38:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWhx4-00075y-Cj for submit@debbugs.gnu.org; Mon, 08 Aug 2016 06:38:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWhwv-0000qo-C2 for submit@debbugs.gnu.org; Mon, 08 Aug 2016 06:38:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWhwv-0000qg-8c for submit@debbugs.gnu.org; Mon, 08 Aug 2016 06:38:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWhwt-000351-6H for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 06:38:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWhwo-0000oq-W4 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 06:38:22 -0400 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:33333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWhwo-0000oY-Oq for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 06:38:18 -0400 Received: by mail-pf0-x22b.google.com with SMTP id y134so118204459pfg.0 for ; Mon, 08 Aug 2016 03:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version; bh=kl/6BG1G1LdcDv0aWQ9HkGaDYAtbH1MrQ8NQr1vqsSE=; b=Hc8hUzHz4v2o0lraeZonrFkr1hR4YTa9HwfuS1VSgrne3PpsaFL4NZx+4a3KlmImgV gMYA9nW9uvkWTJ9uYrR1hNDUvjO4hwPV4eGb8AeHatPPVv6VA1hTpVNE6uXLLV3yf9KB Vpfk49K36GUMeEv04ft3l8NacX4P5qqlxjgNExq1KCIJ0opeCd0w6f6vV9R/1JtAI+3U NhO4AtZOWb9JkVrb80w/sMjolNfTmdJrtr6WOGeM+BCzeLkjfi34EFqfjdSKJjoea9H4 CMcamQD0NWL3Hbi6voD4Hz62NL9KrLPWzYXCPhQ6Exa4kxAv/BoWtV6jD9OiJUkmVyT8 Ad1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=kl/6BG1G1LdcDv0aWQ9HkGaDYAtbH1MrQ8NQr1vqsSE=; b=IyeecpxvTyqajp2060L11evurWJnkU/71HvYSTEwAyOnQpI4EDMY1YgbViQs6iTnTp yzLqL4aFAHQCa9uVvQUQAEAHxNfIN2qorGBDYpQ8w/VfDLlLOBMzcPoKsOxZ8rX4rVwI 6oEXrtoDwY2Rb6h5/ANhjcAw05So1Q1U3JhIZpvpq4GFGz4Yf0uEoX5jwymjfN/9MMOx kVB0foT0aDMpK2KFLomkS2e5EN7lQL6dD3xRsbXc8+qOvHwibXxzX0Z0D2CyElHlOvNa hwvK8N3yvVpwOwqPr+qRQ6AR87a3XqaJs2w4vAclVHnZq7D2Cz5UCyF/2nqA/tESRttw dKRw== X-Gm-Message-State: AEkooutmCyrjAceq7CWISkXBt9CLiwJ9FufEgsp85xG891h2tXPlaydONU6CfSRWgpZPhw== X-Received: by 10.98.21.131 with SMTP id 125mr161134446pfv.92.1470652697657; Mon, 08 Aug 2016 03:38:17 -0700 (PDT) Received: from calancha-pc (152021171106.wi-fi.kddi.com. [106.171.21.152]) by smtp.gmail.com with ESMTPSA id zk7sm47081560pac.41.2016.08.08.03.38.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Aug 2016 03:38:17 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 8 Aug 2016 19:38:13 +0900 (JST) X-X-Sender: calancha@calancha-pc To: bug-gnu-emacs@gnu.org Subject: 25.1.50; map--dispatch: doc string mentions a non existent argument Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) The last line of the doc string is as follows: "Return RESULT if non-nil or the result of evaluation of the form." There is any 'result' argument; if no error, the macro always returns the result of the evaluation of the form. In GNU Emacs 25.1.50 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6) of 2016-08-07 Repository revision: b593ea1f9b7068c03fe6527a3cb6d5e1b2cd9736 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 18:11:30 2016 Received: (at 24182) by debbugs.gnu.org; 19 Aug 2016 22:11:30 +0000 Received: from localhost ([127.0.0.1]:34508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bas0f-0005ZK-SE for submit@debbugs.gnu.org; Fri, 19 Aug 2016 18:11:30 -0400 Received: from mail.workgrouplinux.net ([207.195.177.82]:55200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bas0e-0005ZA-AY for 24182@debbugs.gnu.org; Fri, 19 Aug 2016 18:11:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=cochranmail.com; h=from:to :cc:subject:references:date:in-reply-to:message-id:mime-version :content-type; s=dkim1; bh=HIKCjqtxAg1ILyVDb09qEHX2VIk=; b=QAjDU V9CcIKStq0NdELJTDZ3aIx8FhwJ/MPD2aDdkuDzBzX4n0eiGy1nQ/8SYIv8BeSwy onEVhTtpvNX7Fkmo4+ZXIrd3etj2HBJTKDrMsoSIpVMKgYNuC3XAEYr5SAPhdV5F yKIm7QS491HSUUoZXln2UUCe9x+2VeIQJ8/wjQkUvLOc5kvEmm1nLqA7vqh97OXL f9k5e6WFDHkitokxgKzlVIQhNFerwIpDgOUcju/Ly4jbJXm1P8nuKe3qsR6F3P59 Lmxb4zPqZGZImEY7phE/Ld4sPpVZZywO0/KpNNz7aI6ruzEmZ16SqI3scogZof38 816Y6tLKxWwPY8/8A== Received: (qmail 17885 invoked by uid 0); 19 Aug 2016 22:11:26 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=private; d=cochranmail.com; b=rqAUCbADXFTHj/2VmddKxB68qSJjuhEl3cY7VDi8uixQ7yayyeBv5C6aN61rLqoP0DkiXUdhNxg/iwr/uDvkog==; Received: from 131-191-86-130.as.clicknet.org (HELO SoraLaptop) (robert@cochranmail.com@131.191.86.130) by mail.cochrantribe.org with ESMTPA; 19 Aug 2016 22:11:26 -0000 From: Robert Cochran To: Tino Calancha Subject: Re: bug#24182: 25.1.50; map--dispatch: doc string mentions a non existent argument References: Date: Fri, 19 Aug 2016 15:11:24 -0700 In-Reply-To: (Tino Calancha's message of "Mon, 8 Aug 2016 19:38:13 +0900 (JST)") Message-ID: <87pop4quib.fsf@cochranmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24182 Cc: 24182@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: 0.0 (/) --=-=-= Content-Type: text/plain Here's my attempt to fix the docstring. Comments welcome. ----- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-lisp-emacs-lisp-map.el-map-dispatch-Fix-docstring.patch Content-Description: Patch to fix (map--dispatch) docstring >From 0c5bc38f170719cde0d25df392465e4acc935896 Mon Sep 17 00:00:00 2001 From: Robert Cochran Date: Fri, 19 Aug 2016 14:53:07 -0700 Subject: [PATCH] * lisp/emacs-lisp/map.el (map--dispatch): Fix docstring The docstring referenced a non-existant parameter, as well as a parameter that has been renamed since the docstring was written. Fix both errors, fixing (Bug#24182). --- lisp/emacs-lisp/map.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el index 98a8871..0a0f64a 100644 --- a/lisp/emacs-lisp/map.el +++ b/lisp/emacs-lisp/map.el @@ -79,14 +79,14 @@ map-let (eval-when-compile (defmacro map--dispatch (map-var &rest args) - "Evaluate one of the forms specified by ARGS based on the type of MAP. + "Evaluate one of the forms specified by ARGS based on the type of MAP-VAR. The following keyword types are meaningful: `:list', `:hash-table' and `:array'. -An error is thrown if MAP is neither a list, hash-table nor array. +An error is thrown if MAP-VAR is neither a list, hash-table nor array. -Return RESULT if non-nil or the result of evaluation of the form." +Returns the result of evaluating the form associated with MAP-VAR's type." (declare (debug t) (indent 1)) `(cond ((listp ,map-var) ,(plist-get args :list)) ((hash-table-p ,map-var) ,(plist-get args :hash-table)) -- 2.7.4 --=-=-= Content-Type: text/plain ----- HTH, -- ~Robert Cochran GPG Fingerprint - E778 2DD4 FEA6 6A68 6F26 AD2D E5C3 EB36 4886 8871 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 18:42:52 2016 Received: (at 24182) by debbugs.gnu.org; 19 Aug 2016 22:42:52 +0000 Received: from localhost ([127.0.0.1]:34528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1basV2-0006KU-BC for submit@debbugs.gnu.org; Fri, 19 Aug 2016 18:42:52 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1basV0-0006KF-7J; Fri, 19 Aug 2016 18:42:50 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 61A42206E1; Fri, 19 Aug 2016 18:42:49 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 19 Aug 2016 18:42:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=ZAyFiaZ89ieo2+lz5tfenaHPQMI=; b=uI2F6 eEcO2SZRbPf8WJSkBX8v6Z57XWCuPIux6HIk3i2ikuxyk7G6zO6bLG7OUk43Mvaj NnHDJvUmw6uw9Hs+us9RtxY8j7fyqF9Ox6zZ8d0fm8A4bmDBmvhs1E1h/rqXOrcl sppeUOXIS639M3feVFVQk/N301YWxrGgoCj5Co= X-Sasl-enc: wAX3540b/kEJSuNA61iRAVMziQV5s1vhIxZRtcTYgZXA 1471646568 Received: from strawberry (lfbn-1-7726-61.w92-167.abo.wanadoo.fr [92.167.139.61]) by mail.messagingengine.com (Postfix) with ESMTPA id 8747DF285F; Fri, 19 Aug 2016 18:42:48 -0400 (EDT) From: Nicolas Petton To: Robert Cochran , Tino Calancha Subject: Re: bug#24182: 25.1.50; map--dispatch: doc string mentions a non existent argument In-Reply-To: <87pop4quib.fsf@cochranmail.com> References: <87pop4quib.fsf@cochranmail.com> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-redhat-linux-gnu) Date: Sat, 20 Aug 2016 00:42:45 +0200 Message-ID: <87vaywmlcq.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24182 Cc: 24182@debbugs.gnu.org, 24182-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: -0.7 (/) --=-=-= Content-Type: text/plain Robert Cochran writes: > Here's my attempt to fix the docstring. Comments welcome. Thanks, it looks good, I applied your patch to master. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXt4tlAAoJECM1h6R8IHkQYDUH/2PV9INE5GqVI3spIMVsh6gc Cg/AuoEarV9Lql5t09QnDVJYnEtKcQppq+i/IaIBvGEy0iax0/PRknaiJjeocNvV TZG7qmPeVkFrz/5TSR9EOzhiteXm5ILUQ85Yko3OHcKP40yS+FSl/Q/UWVmkgAbR 9X2OEinvtfm2GTb4SXwfgWUbNUqvua+ZTWBA2tE7eBJoB5H41q+CGOodq9NdUxfv rvXxdbrYUvp4obrh2LdGjWpJkz3diWlHQ4lhKPjtKA3K8B7wwVxXPaTa6wqA1qfM F+cnDwWBJy+/Wspqtl5qlzkxH85IK8+6gO3Xw+pk9pJH7WYRY5oxbYqwpiAc4no= =UDBV -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 03:01:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator