From unknown Mon Aug 18 14:20:51 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#27229 <27229@debbugs.gnu.org> To: bug#27229 <27229@debbugs.gnu.org> Subject: Status: eldoc wrong highlighting for "when" Reply-To: bug#27229 <27229@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:20:51 +0000 retitle 27229 eldoc wrong highlighting for "when" reassign 27229 emacs submitter 27229 "Charles A. Roelli" severity 27229 minor tag 27229 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 04 06:20:27 2017 Received: (at submit) by debbugs.gnu.org; 4 Jun 2017 10:20:28 +0000 Received: from localhost ([127.0.0.1]:54622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHSe3-0006Y2-Ms for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:20:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHSe0-0006Xo-GI for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:20:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHSdu-0006fS-G3 for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:20:19 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHSdu-0006fH-D3 for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:20:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHSdt-0007Wf-Es for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 06:20:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHSdq-0006b8-CO for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 06:20:17 -0400 Received: from [195.159.176.226] (port=34949 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHSdq-0006aa-6O for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 06:20:14 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dHSdh-00009H-ER for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 12:20:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: "Charles A. Roelli" Subject: eldoc wrong highlighting for "when" Date: Sun, 4 Jun 2017 12:18:54 +0200 Lines: 3 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Mozilla-News-Host: news://news.gmane.org:119 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.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: -5.0 (-----) From emacs -q, type "(when x y z": COND is highlighted instead of BODY. This is a regression from the behavior of 24.5 (with eldoc-mode on). From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 04 11:58:24 2017 Received: (at 27229) by debbugs.gnu.org; 4 Jun 2017 15:58:24 +0000 Received: from localhost ([127.0.0.1]:55980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXv6-00059w-BB for submit@debbugs.gnu.org; Sun, 04 Jun 2017 11:58:24 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:54911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXv4-00059f-Kk for 27229@debbugs.gnu.org; Sun, 04 Jun 2017 11:58:23 -0400 X-Virus-Scanned: by Amavisd-new + Sophos + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip4d15f86e.dynamic.kabel-deutschland.de [77.21.248.110]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id A148F179E9D5; Sun, 4 Jun 2017 17:58:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1496591896; bh=P5KsnHOx6hz8yA09gHdvhmJrFag=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=JPQR/BNO245xNzW39D8UoQluN8p4FXrlzSpquqgkBvZIzajr3Ruj64VxzNHbBGc+v UspVW9sBN6xbdb1xHHQfh7nTEZxGKIilOFQE2hauCfcGEMu6VW8w6BKVIoghOEMmFa T8aRmluVbdwTiVIH7y4jShE/9G1wXipPtSC/gyyc= From: Andreas Politz To: "Charles A. Roelli" Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: Date: Sun, 04 Jun 2017 17:58:16 +0200 In-Reply-To: (Charles A. Roelli's message of "Sun, 4 Jun 2017 12:18:54 +0200") Message-ID: <878tl77njb.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: 27229@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: -2.3 (--) In Emacs 24.5 this highlighting was done in the function eldoc-highlight-function-argument, which since then has been moved to elisp--highlight-function-argument and was also heavily extended. >From reading the new code, it seems to interpret doc-strings of the kind "(FN ARG0 ARG1...)", as being a macro with alternating forms, e.g. like setq. While previously, I think, they were constantly treated as a "(FN ARG BODY..)" type. -ap From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 06 23:54:01 2017 Received: (at control) by debbugs.gnu.org; 7 Jun 2017 03:54:01 +0000 Received: from localhost ([127.0.0.1]:60136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIS2j-0001D0-Gv for submit@debbugs.gnu.org; Tue, 06 Jun 2017 23:54:01 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:34971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIS2i-0001Co-8R for control@debbugs.gnu.org; Tue, 06 Jun 2017 23:54:00 -0400 Received: by mail-it0-f47.google.com with SMTP id m62so106539412itc.0 for ; Tue, 06 Jun 2017 20:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version; bh=GC4TphT+NHiLPEV6oHMJsaOTCGldBczuls/xJlwSDpc=; b=ip8URUGqjV9XtZGJqC6h9D5Xm8pjpA/QE/55zLxSqK0d5Cvis0DuLwX3S7dmeeQ+aw ijumWVuLAlIzJo5zzhkI/C3S6/SfOGUvqjutZ668lOR+GgygPcWSVZYqu5lYLa8xCiBp I0I0Kk6gl1zB9sgNvOs/QGvOzypq4YS39dBGpwdOxdYWsfvVZQgnDEizcn8uKnqRBBHc JgsqWFAHk+qPAlpS8G5a662b5YrAES/ZkWqUdhFT3ocpXuVjLsaUJ63eX8IoTRP2BBeY eBp1xJiVnhmiRfwbuYRw/pK3IRKoFJkygQvaX9DobqK7rROU3fgQ3x832DQR9/wkjI7R PqIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=GC4TphT+NHiLPEV6oHMJsaOTCGldBczuls/xJlwSDpc=; b=SIrOTNdKs4Yjf7FgRojUMOecOlx4EIB8NlyMMkdO1L0d7t1uSPIkGMjQ9sZ3T1hFFs hroO9A1RYeSToK8XN3St0YO511XmUMizL9t5iu5A+UYH1KAJbQyu6YIrPy9mLgBl46v4 nbqKxp3VTxRC9mxAGS7hf0Pt6pVaNdcgf0BbSi9sug6uGTbuLfa+/yzLErflEL6KpR0k j1JN/9VNbaKvyIfbmGWLBak/gv/iCH2MdLapIWT/SWgkJ3+CaPt70CKIxllhi3Es+qkq COPAtAt7UdYKnuxD390+G1s+ogEbFQhmMCdxJCXk2vbaoDJPDz2Eov9J1XIlX/5sZazd B7Eg== X-Gm-Message-State: AODbwcCqnsmG8A6P5HapSUwaccIrSqDfIDTGhh9M+uKgdyn9T0sB7y8f 1IPzWwFpKfBFYKPs X-Received: by 10.36.211.22 with SMTP id n22mr121163itg.0.1496807634568; Tue, 06 Jun 2017 20:53:54 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id v125sm514019ita.13.2017.06.06.20.53.53 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2017 20:53:53 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #27229 Date: Tue, 06 Jun 2017 23:55:32 -0400 Message-ID: <87h8zsxxhn.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: found 27229 25.2 tags 27229 confirmed quit [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.47 listed in wl.mailspike.net] 1.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.47 listed in list.dnswl.org] 1.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: control 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: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: found 27229 25.2 tags 27229 confirmed quit [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.47 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.47 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) 1.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 1.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders found 27229 25.2 tags 27229 confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 16 06:16:18 2020 Received: (at 27229) by debbugs.gnu.org; 16 Aug 2020 10:16:18 +0000 Received: from localhost ([127.0.0.1]:56895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Fi5-0007is-Un for submit@debbugs.gnu.org; Sun, 16 Aug 2020 06:16:18 -0400 Received: from mail-yb1-f180.google.com ([209.85.219.180]:33053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Fi1-0007iK-Vt for 27229@debbugs.gnu.org; Sun, 16 Aug 2020 06:16:15 -0400 Received: by mail-yb1-f180.google.com with SMTP id p191so7784352ybg.0 for <27229@debbugs.gnu.org>; Sun, 16 Aug 2020 03:16:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=wpO7mdiqrPExNlBOg/XJiy0VexRwtab7heBqyJnZhcY=; b=bgtXd8yNXaSz/S4+X16ki4dnNhxo78OvruBqgI0NzfMJVGlMW/8iozEozn/zJd4r7P iGwXbCUd9C3RKCArBtchF9UG2fGizp9+hPZdIxbY8NANZNA6tJF3ZUbE/AZtTXWzK3wV WisKq2hrTc3+FuRR5SB5NRHykLq8reXZhIch9ifgjwlpfqg5kjtbY5OY76JJ7dRa+vdb oIjZoXY5OLNpRh/BPrCSd2dNviRZ919yUQmpXZtfIfaHmfUXn9SsEZ45a8Cxq0ep1wSM QBhpH4vm0q4QLg2sEMJin9WvfTlX8YLPOtefCQQlVscy+e5gtsF1M/V6tZ7Doby/8vNY FJhg== X-Gm-Message-State: AOAM531eBXj+avbJHxEqiwz3HrLWfmOoj59iFON5uRfGdOoGUSVpE4K0 h+X4L249jXhitO69gW+rjP8qLk41VVmPkyxtJEQ= X-Google-Smtp-Source: ABdhPJzWyFf9ZJarubD53Ewo6uTL/rg/QACi6quca7KjRFtEtm5Sh6VDgoS99O8LPhDKA24yE2UZ9XnxwXGdH/NeOx8= X-Received: by 2002:a25:4ed7:: with SMTP id c206mr14670345ybb.129.1597572968642; Sun, 16 Aug 2020 03:16:08 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 03:16:08 -0700 From: Stefan Kangas In-Reply-To: (Charles A. Roelli's message of "Sun, 4 Jun 2017 12:18:54 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 16 Aug 2020 03:16:08 -0700 Message-ID: Subject: Re: bug#27229: eldoc wrong highlighting for "when" To: "Charles A. Roelli" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 27229 Cc: 27229@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.9 (/) found 27229 28.0.50 tags 27229 + confirmed thanks "Charles A. Roelli" writes: > From emacs -q, type "(when x y z": COND is highlighted > instead of BODY. This is a regression from the behavior > of 24.5 (with eldoc-mode on). I can reproduce this on current master. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 03 19:49:35 2020 Received: (at 27229) by debbugs.gnu.org; 3 Oct 2020 23:49:35 +0000 Received: from localhost ([127.0.0.1]:44624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOrHT-0002cg-0a for submit@debbugs.gnu.org; Sat, 03 Oct 2020 19:49:35 -0400 Received: from mout.web.de ([212.227.17.11]:56593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOrHQ-0002cR-Rj for 27229@debbugs.gnu.org; Sat, 03 Oct 2020 19:49:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1601768965; bh=P8nkIvByV0M8tO4QflP7n9AYoZtsdr5yWnyPgTBkph8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=bZCZiSTThT/0GdjJyKqCETqW2vImLngpN1/PsEivyvuCTugIyO34GTRGvl0eS8Cig N9LB1bbdfRqVAEt7L8szpSSZHt1fzb/yJnxoEeX7KlQzYzUaZ6kas2GT+2Ya0We26K dlXvZ4d86YEB9F9yfFG8kJfQbcOc7YPfdySmgYjQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.220.78]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MSqXM-1jxzyN0jJW-00Umf8; Sun, 04 Oct 2020 01:49:25 +0200 From: Michael Heerdegen To: Stefan Kangas Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: Date: Sun, 04 Oct 2020 01:49:23 +0200 In-Reply-To: (Stefan Kangas's message of "Sun, 16 Aug 2020 03:16:08 -0700") Message-ID: <87k0w6dg58.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:eisLE2aDAF1/oOEvtmKF0IZDhRdUDf4ssQdI9hCuBzPcI3H5XvE ej3HFKg7OjF05gB3OotXFSFQthVaNT9UCefoV/vC0Mc6SUJZuPr6Zlq5ttkGTtxNXBFigUL 0Hn5/hUbmN/b/gtVRx4zfNc2q37c1TKbxjjrrgemZ6m8afAyT5AmYBYhxu05IhXqmoWq0xs 5kE58gFAVWLn06Tn3CsDg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:4VSpWy0RfrU=:CgHM6/Oi2qPXyeOuLN5Fxx +YjdSjgsuCzcKDTFZjctEXNv6/UXQ+8520EuyXRLqc/xxApoLd9llgD0K+dEB00U9T2YDfBtt Gsp3osoOWhwY5kvu/lpGMFqkrZa4f+9isdURNanVCx6ZiUnTB446t2udx5yvkPYI+tU932P9x FyhYN8A8YvRJWEx25qhm383E2X1PbLqW59nlmYvUUOFfi57L0mRtRzVhrYMuetg1lub6Y4T47 2/8AJLU1dA7t2cuu4XlvQDAeeK+HhJXn1KwFR4hVJghKxS0XsA3YWB7le4TUjsoU6hF2zgqgz hEYhav5ktrJ+9EXIAIkWKDpC1GUqGgbBsmzecGNJ9cYK5OFvMeXkXFkKijLov5PQvnM9rzMbU aljgr9M1uWF5h8Y85v7xITOICEEsySy3CiZ9e6LzAIut6KE8gZ1n0tCIx4VsS84ETkhQNEm1t lyL1XjTeO+LwUPh2kO6MZKHlJvfnori4XdZlssHjOg1er1vszvCiK4LGtxhIMZT3y1ee0SiNv ufGAqFQC7t2xqO4F8anoLUylqXoswkHHO92Pp+Qs2Ypq22CLaxDxvsQ+7SFay/nRDougBI3VV Q4MAdEFzD1ct8RlNxfAiWk2jORunU8uqZgTy0knzwsQeMGymyvh1ZRith1RsFk4W+xdz6cr1k UqhgXkk2NQY8SdnwU6fTMdkPGbfN3j2ykE6LiqyFAFZgN3b2qlABLjzd6r354Ov2OddYi8Gv0 g9HssiS8Mpys6aPbY5Mfho2eLJmPmLTybDMMpt1vVG+ap1gZv5MjWYwLNZiINT0ZHICLk8cBY brqmMFcBe86hw1wr5CzpOCOPa32IY7QGJFHxN5yAbUkIZhlZ4+bNcjcKaDwZ48pN4tNQ+UNc0 +v3Lhmb1SxQtnEji+wgpU38mH+0Eh0M2vGQ/Y2e0WREJpDJIRKP/U2LyFjzLBwP6gKb9edwyb yAkKl98kKjuXv0zTNg/m6SMW4T/Xfxf191J+iOk006HQcYWZr2cyAPfUHcA+K7lgRtZe1XnPz tgMNralG0PX2fZkSXy451JYA/PtX+s1+Gm+j1PPs+f3UyAkzzOo4GnarN/n0d/i8ZH3fZV60y dJ560zHANXbTECuA689gCskdZF7+tDWvuiNkJ+pyQkKjBMZVqgCIUswXdqeJ2y0AkqW92rjiX /SJ+rSciFCrhexZHgu+ZlBtKAUFvNzBi5rne4LtmE9YCGU7yllUcq0zhblbvEeHsnPt82hT9f EEr6xWD/HQWllhC/MLv+N+gookg1Yk9UavahPmw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27229 Cc: "Charles A. Roelli" , 27229@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.7 (-) Stefan Kangas writes: > "Charles A. Roelli" writes: > > > From emacs -q, type "(when x y z": COND is highlighted > > instead of BODY. This is a regression from the behavior > > of 24.5 (with eldoc-mode on). > > I can reproduce this on current master. Seems this code is the culprit (`elisp--highlight-function-argument'): | ;; Back to index 0 in ARG1 ARG2 ARG2 ARG3 etc... | ;; like in `setq'. | ((or (and (string-match-p "\\.\\.\\.\\'" argument) | (string= argument (car (last args-lst)))) | (and (string-match-p "\\.\\.\\.\\'" | (substring args 1 (1- (length args)))) | (= (length (remove "..." args-lst)) 2) | (> index 1) (eq (logand index 1) 1))) | (setq index 0)) In general, the problem is that "..." can have different meanings (it's not clear which arguments have to be repeated), so this is not trivial to fix I think. Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 04:31:32 2021 Received: (at 27229) by debbugs.gnu.org; 3 Sep 2021 08:31:33 +0000 Received: from localhost ([127.0.0.1]:42882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4bk-0008Rc-Nm for submit@debbugs.gnu.org; Fri, 03 Sep 2021 04:31:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4bi-0008RJ-9x for 27229@debbugs.gnu.org; Fri, 03 Sep 2021 04:31:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=1H/m8fukbl0FylxwmVVywmpIbsLQwgTmATPWvMhhltY=; b=gqApSph7gIDwG6XlxZLIjb1qNY iEHh8ssO+GqheREI7ia4ORtvxyUzhvaj9xqRQTCWbPtgVbAknGy9Ou8XSl7eT+IoHYLfGAOvafP2c w4WFJcCcUbRpMpXkyNpsif/HJ3h5uEXEgpvQSw35Wgtlj8UzgEmZvcJKyA3HEjdUyal8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM4bY-0000JB-EJ; Fri, 03 Sep 2021 10:31:23 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> Date: Fri, 03 Sep 2021 10:31:19 +0200 In-Reply-To: <87k0w6dg58.fsf@web.de> (Michael Heerdegen's message of "Sun, 04 Oct 2020 01:49:23 +0200") Message-ID: <87o89a12nc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: >> > From emacs -q, type "(when x y z": COND is highlighted >> > instead of BODY. This is a regression from the behavior >> > of 24.5 (with eldoc-mode on). >> >> I can reproduce this on current master [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: "Charles A. Roelli" , Stefan Kangas , 27229@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: -3.3 (---) Michael Heerdegen writes: >> > From emacs -q, type "(when x y z": COND is highlighted >> > instead of BODY. This is a regression from the behavior >> > of 24.5 (with eldoc-mode on). >> >> I can reproduce this on current master. > > Seems this code is the culprit (`elisp--highlight-function-argument'): > > | ;; Back to index 0 in ARG1 ARG2 ARG2 ARG3 etc... > | ;; like in `setq'. > | ((or (and (string-match-p "\\.\\.\\.\\'" argument) > | (string= argument (car (last args-lst)))) > | (and (string-match-p "\\.\\.\\.\\'" > | (substring args 1 (1- (length args)))) > | (= (length (remove "..." args-lst)) 2) > | (> index 1) (eq (logand index 1) 1))) > | (setq index 0)) > > In general, the problem is that "..." can have different meanings (it's > not clear which arguments have to be repeated), so this is not trivial > to fix I think. I wonder -- why is this defined like this, anyway? (defmacro when (cond &rest body) "If COND yields non-nil, do BODY, else return nil. When COND yields non-nil, eval BODY forms sequentially and return value of last one, or nil if there are none. \(fn COND BODY...)" (when COND &rest BODY) is the correct signature, isn't it? Removing the (fn ...) from the doc string makes eldoc do the correct thing. The commit message is helpful: commit 7f67eea000b0ba102dd86c2666041dc395137413 Author: Kim F. Storm AuthorDate: Sun Mar 18 00:44:24 2007 +0000 (when, unless): Doc fix. Anybody know what the point of the (fn...) here is? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 04:31:39 2021 Received: (at control) by debbugs.gnu.org; 3 Sep 2021 08:31:39 +0000 Received: from localhost ([127.0.0.1]:42885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4br-0008Rx-0E for submit@debbugs.gnu.org; Fri, 03 Sep 2021 04:31:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4bp-0008Rb-Og for control@debbugs.gnu.org; Fri, 03 Sep 2021 04:31:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YbB/uhvBVcOTKkwP3qtRjfFwO40fxAMOor4PiFFSmsY=; b=t8oDPWX2NPsQEFYm5l4Gs4h1Sq 6MkBssUyvTzZDSuaMcVChZSQ4LDeB9dm8n+PaD8lh21g6/b5LvCeU97Qrlq3QFwuMzriv9aZe0YPe wT3h8xuA1CWI3dqcFLbOLcUxRq60ULut3UWieMF7VI55TaX9/SR4SKFZWPGtkjVfnphQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM4bh-0000KD-OG for control@debbugs.gnu.org; Fri, 03 Sep 2021 10:31:31 +0200 Date: Fri, 03 Sep 2021 10:31:29 +0200 Message-Id: <87mtou12n2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27229 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27229 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 27229 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 10:20:28 2021 Received: (at submit) by debbugs.gnu.org; 3 Sep 2021 14:20:28 +0000 Received: from localhost ([127.0.0.1]:45660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMA3P-0003Vj-T6 for submit@debbugs.gnu.org; Fri, 03 Sep 2021 10:20:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:49148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMA3O-0003Vc-II for submit@debbugs.gnu.org; Fri, 03 Sep 2021 10:20:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMA3M-0007IQ-IM for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 10:20:26 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMA3J-0003o2-DD for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 10:20:23 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mMA3D-0001jv-LN for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 16:20:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" Date: Fri, 03 Sep 2021 15:20:07 +0100 Message-ID: <86lf4dwxk8.fsf@gmail.com> References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cancel-Lock: sha1:cOefVOz99serNbV4fglIzs32ga0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) 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: -0.9 (/) On Fri 03 Sep 2021, Lars Ingebrigtsen wrote: > Michael Heerdegen writes: > >>> > From emacs -q, type "(when x y z": COND is highlighted >>> > instead of BODY. This is a regression from the behavior >>> > of 24.5 (with eldoc-mode on). >>> >>> I can reproduce this on current master. >> >> Seems this code is the culprit (`elisp--highlight-function-argument'): >> >> | ;; Back to index 0 in ARG1 ARG2 ARG2 ARG3 etc... >> | ;; like in `setq'. >> | ((or (and (string-match-p "\\.\\.\\.\\'" argument) >> | (string= argument (car (last args-lst)))) >> | (and (string-match-p "\\.\\.\\.\\'" >> | (substring args 1 (1- (length args)))) >> | (= (length (remove "..." args-lst)) 2) >> | (> index 1) (eq (logand index 1) 1))) >> | (setq index 0)) >> >> In general, the problem is that "..." can have different meanings (it's >> not clear which arguments have to be repeated), so this is not trivial >> to fix I think. > > I wonder -- why is this defined like this, anyway? > > (defmacro when (cond &rest body) > "If COND yields non-nil, do BODY, else return nil. > When COND yields non-nil, eval BODY forms sequentially and return > value of last one, or nil if there are none. > > \(fn COND BODY...)" > > (when COND &rest BODY) > > is the correct signature, isn't it? Removing the (fn ...) from the doc > string makes eldoc do the correct thing. > > The commit message is helpful: > > commit 7f67eea000b0ba102dd86c2666041dc395137413 > Author: Kim F. Storm > AuthorDate: Sun Mar 18 00:44:24 2007 +0000 > > (when, unless): Doc fix. > > Anybody know what the point of the (fn...) here is? Have a look at (info "(elisp) Function Documentation") which explains this usage. Perhaps eldoc needs fixing to understand that idiom. AndyM From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 10:37:20 2021 Received: (at 27229) by debbugs.gnu.org; 3 Sep 2021 14:37:20 +0000 Received: from localhost ([127.0.0.1]:45682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMAJk-0003zP-I6 for submit@debbugs.gnu.org; Fri, 03 Sep 2021 10:37:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMAJj-0003zD-Aj for 27229@debbugs.gnu.org; Fri, 03 Sep 2021 10:37:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=VNoug/QE+ed9GbtWIKJk5znAEWLdSsSYabMJT3w0NGI=; b=ABsNXuUpiLf8RFkAuuv278n39w yB9L517GBeaaa7L1fa/nSHpbRnLPEYxycZqR9QFfNml/wq2lw3aPjwKRy5mUgY/Szs2/4ZYbkCEH4 3Q4MG53jLT3XYm5jCsxwAbnRFSUL+SbG505LfAdQbVVKkqDBjum22TmfHB3G0LNJxhPU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMAJa-00060z-1D; Fri, 03 Sep 2021 16:37:12 +0200 From: Lars Ingebrigtsen To: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> Date: Fri, 03 Sep 2021 16:37:09 +0200 In-Reply-To: <86lf4dwxk8.fsf@gmail.com> (Andy Moreton's message of "Fri, 03 Sep 2021 15:20:07 +0100") Message-ID: <874kb1wwru.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andy Moreton writes: >> Anybody know what the point of the (fn...) here is? > > Have a look at (info "(elisp) Function Documentation") which explains > this usage. Perhaps eldoc needs fixing to understand that idiom. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: 27229@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: -3.3 (---) Andy Moreton writes: >> Anybody know what the point of the (fn...) here is? > > Have a look at (info "(elisp) Function Documentation") which explains > this usage. Perhaps eldoc needs fixing to understand that idiom. I know what (fn ...) does. I'm asking what's the point of it here, since the (fn ...) just seems to restate what's already the actual parameter list. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 13:09:59 2021 Received: (at submit) by debbugs.gnu.org; 3 Sep 2021 17:09:59 +0000 Received: from localhost ([127.0.0.1]:45868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMChS-0001VG-UR for submit@debbugs.gnu.org; Fri, 03 Sep 2021 13:09:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:60618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMChR-0001V9-Do for submit@debbugs.gnu.org; Fri, 03 Sep 2021 13:09:57 -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 1mMChQ-0006d4-Ch for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 13:09:57 -0400 Received: from ciao.gmane.io ([116.202.254.214]:53672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMChP-0004Kk-3m for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 13:09:56 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mMChM-0006nv-86 for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 19:09:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" Date: Fri, 03 Sep 2021 18:09:46 +0100 Message-ID: <86y28dd1r9.fsf@gmail.com> References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cancel-Lock: sha1:ylncwLafGa+cQiLxOvxXy6Th4Ik= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) 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: -0.9 (/) On Fri 03 Sep 2021, Lars Ingebrigtsen wrote: > Andy Moreton writes: > >>> Anybody know what the point of the (fn...) here is? >> >> Have a look at (info "(elisp) Function Documentation") which explains >> this usage. Perhaps eldoc needs fixing to understand that idiom. > > I know what (fn ...) does. I'm asking what's the point of it here, > since the (fn ...) just seems to restate what's already the actual > parameter list. Without using "fn", it is shown as "(when COND &rest BODY)" which is less helpful than showing "(when COND BODY...)". AndyM From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 02:36:36 2021 Received: (at 27229) by debbugs.gnu.org; 4 Sep 2021 06:36:36 +0000 Received: from localhost ([127.0.0.1]:46268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPI4-00036L-JF for submit@debbugs.gnu.org; Sat, 04 Sep 2021 02:36:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPI2-000361-Tm for 27229@debbugs.gnu.org; Sat, 04 Sep 2021 02:36:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=oFwo+AvJLeIkezDFNl66HqVf92JKN5uBEZ5XeuTeG9Y=; b=oNTG2/GdfMbj/aup4KQ+BeJw9Y dEJA5+RNH/9T5S/dc702lYgKay9WD0PJR0OBTe/w9uEZv/787iNlD3wt3eHP44/pTnlSRIiFc7tDh PUuE63NaiPcFFWaRK8mZOQ/96L6Kq31p2zsdP3gseJTwaLIA/vWd4ukcSW9sLOI9FRtI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMPHu-0006Es-HY; Sat, 04 Sep 2021 08:36:28 +0200 From: Lars Ingebrigtsen To: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> Date: Sat, 04 Sep 2021 08:36:26 +0200 In-Reply-To: <86y28dd1r9.fsf@gmail.com> (Andy Moreton's message of "Fri, 03 Sep 2021 18:09:46 +0100") Message-ID: <87zgssu9sl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andy Moreton writes: > Without using "fn", it is shown as "(when COND &rest BODY)" which is > less helpful than showing "(when COND BODY...)". What do you feel the semantic difference is between the two? And why should `when' have this fn rewrite when we have hundreds of other macros with &rest body that don't have an fn? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: 27229@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: -3.3 (---) Andy Moreton writes: > Without using "fn", it is shown as "(when COND &rest BODY)" which is > less helpful than showing "(when COND BODY...)". What do you feel the semantic difference is between the two? And why should `when' have this fn rewrite when we have hundreds of other macros with &rest body that don't have an fn? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 09:23:36 2021 Received: (at submit) by debbugs.gnu.org; 4 Sep 2021 13:23:36 +0000 Received: from localhost ([127.0.0.1]:46869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMVdw-0004Vw-7a for submit@debbugs.gnu.org; Sat, 04 Sep 2021 09:23:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:44906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMVdv-0004Vq-IW for submit@debbugs.gnu.org; Sat, 04 Sep 2021 09:23:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMVdt-0001pa-Lj for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 09:23:35 -0400 Received: from ciao.gmane.io ([116.202.254.214]:46974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMVds-00061Y-DB for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 09:23:33 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mMVdq-00055U-JW for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 15:23:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" Date: Sat, 04 Sep 2021 14:23:25 +0100 Message-ID: <86wnnwlbjm.fsf@gmail.com> References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cancel-Lock: sha1:/T3pSdiW/koxD+VN9Ep1gz704/M= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) 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: -0.9 (/) On Sat 04 Sep 2021, Lars Ingebrigtsen wrote: > Andy Moreton writes: > >> Without using "fn", it is shown as "(when COND &rest BODY)" which is >> less helpful than showing "(when COND BODY...)". > > What do you feel the semantic difference is between the two? And why > should `when' have this fn rewrite when we have hundreds of other > macros with &rest body that don't have an fn? I think that the difference is whether the user sees it as describing arguments to a function call, or forms in a control structure. The "(when COND BODY...)" version also matches the style used for `if'. Most of the other macros are intended to look like function calls to the user, not control structures. AndyM From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 09:45:31 2021 Received: (at 27229) by debbugs.gnu.org; 4 Sep 2021 13:45:31 +0000 Received: from localhost ([127.0.0.1]:46897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMVz8-00052U-TL for submit@debbugs.gnu.org; Sat, 04 Sep 2021 09:45:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMVz6-00052H-S0 for 27229@debbugs.gnu.org; Sat, 04 Sep 2021 09:45:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=pM23vJ/3EQKojU5F5drLysxtF0jNewJSJ1JwFp6X1LA=; b=WSUIaNuDdRPJR9E3gc7cNiPEnj GtHDfoL6Of6uW5wCXTV/NcV8PuSCJdde43rFaixybF9QGGpepQnCjhXT7+Bi/ALr39SDcX4zq25AI WS+feCh5fSqQM/YYONYJpwS30/UOhPIIaIz3t3D2SN6Jh+QrmEPHR1m/Pwo8cdtnbRbc=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMVyx-0002gS-Ek; Sat, 04 Sep 2021 15:45:22 +0200 From: Lars Ingebrigtsen To: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> Date: Sat, 04 Sep 2021 15:45:17 +0200 In-Reply-To: <86wnnwlbjm.fsf@gmail.com> (Andy Moreton's message of "Sat, 04 Sep 2021 14:23:25 +0100") Message-ID: <875yvgqwsy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andy Moreton writes: > I think that the difference is whether the user sees it as describing > arguments to a function call, or forms in a control structure. The > "(when COND BODY...)" version also matches the style used [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: 27229@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: -3.3 (---) Andy Moreton writes: > I think that the difference is whether the user sees it as describing > arguments to a function call, or forms in a control structure. The > "(when COND BODY...)" version also matches the style used for `if'. > > Most of the other macros are intended to look like function calls to the > user, not control structures. Like... `when-let'? I think it pretty much looks like the (fn) in `when' (and `unless') is a bug (it certainly trips up eldoc here, which would do the correct thing if (fn) is removed). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 05:45:25 2021 Received: (at control) by debbugs.gnu.org; 3 Oct 2021 09:45:25 +0000 Received: from localhost ([127.0.0.1]:32881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWy3g-0003gH-Rr for submit@debbugs.gnu.org; Sun, 03 Oct 2021 05:45:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWy3f-0003ZE-Ai for control@debbugs.gnu.org; Sun, 03 Oct 2021 05:45:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PwbMtV8O5cMg2WCNBacB+SwXv56Xd+Tdx7zYcnRlcTI=; b=j0iJtM4Ar3o7GGZq4e/pNhtH21 do2z02xue27veVEfB34oVfbPKw4JhmreQV/giwZ/4EU8iBRISipyhPM8UzYmE5ceQhel4uQYWKEhR 6Eoa/zZkJIh927ljV1zhQHOOCLgW3ox3G/7fze32cnAfYJ7QlGaG/zpF1uCdpDCaqNTI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWy3X-0005SK-TX for control@debbugs.gnu.org; Sun, 03 Oct 2021 11:45:17 +0200 Date: Sun, 03 Oct 2021 11:45:15 +0200 Message-Id: <87r1d2qw5w.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27229 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27229 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 27229 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 06:31:10 2022 Received: (at 27229) by debbugs.gnu.org; 2 May 2022 10:31:10 +0000 Received: from localhost ([127.0.0.1]:34948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlTKf-0008Ar-Pv for submit@debbugs.gnu.org; Mon, 02 May 2022 06:31:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlTKd-0008AO-H2 for 27229@debbugs.gnu.org; Mon, 02 May 2022 06:31:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=gJN9pzpbIhhaWBlVnLOaDC3UDDoZiex8gLu2pw8b0po=; b=FAGOI+AKzccVQvcmIWChpVaWaJ QUSoLYyGHnP1WN8jqYTyG4ckH0kyAOD5SfkWPG66nWK2OeuMLiC0QfNsFbeapN8tkE6nB6AE78Q17 6QpTXG73DmEXjMqMCp6bns2iukzMHbYmbvFWqJ22Bc9bU1LRG4JeZ1irt49/Ywr5XVG0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlTKV-00082N-1v; Mon, 02 May 2022 12:31:01 +0200 From: Lars Ingebrigtsen To: Andy Moreton Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> X-Now-Playing: Pet Shop Boys's _Inner Sanctum (2)_: "Home And Dry-The Enigma" Date: Mon, 02 May 2022 12:30:56 +0200 In-Reply-To: <875yvgqwsy.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 04 Sep 2021 15:45:17 +0200") Message-ID: <87y1zk1b1b.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I think it pretty much looks like the (fn) in `when' (and `unless') is a > bug (it certainly trips up eldoc here, which would do the correct thing > if (fn) is removed). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: 27229@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: -3.3 (---) Lars Ingebrigtsen writes: > I think it pretty much looks like the (fn) in `when' (and `unless') is a > bug (it certainly trips up eldoc here, which would do the correct thing > if (fn) is removed). So I've now done this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 06:31:13 2022 Received: (at control) by debbugs.gnu.org; 2 May 2022 10:31:13 +0000 Received: from localhost ([127.0.0.1]:34951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlTKj-0008B8-00 for submit@debbugs.gnu.org; Mon, 02 May 2022 06:31:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlTKh-0008Ah-QO for control@debbugs.gnu.org; Mon, 02 May 2022 06:31:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vIxWqnrf35aEo32ipsEkw0uy+eVgPDIzlhlyG3EbTAI=; b=hrole+FNfTOnsqiZYDICV2124h pFpxOi7H7TrB43kR62Y7NpBejDCr3i4aiHBLw5j1iQhBX+hyHh1wocXspeK3zIoVM+Oy/tvKo5ll2 4NXBApiTaMYbZE7mWuxr1UhOQI4lN9Yws2gzCQCuFHfNLW5WQpX6UTOf4OpwN4u+lc3Y=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlTKa-00082Y-6x for control@debbugs.gnu.org; Mon, 02 May 2022 12:31:06 +0200 Date: Mon, 02 May 2022 12:31:03 +0200 Message-Id: <87wnf41b14.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27229 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 27229 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 27229 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 12:04:49 2022 Received: (at 27229) by debbugs.gnu.org; 2 May 2022 16:04:49 +0000 Received: from localhost ([127.0.0.1]:37728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlYXZ-0007OH-2k for submit@debbugs.gnu.org; Mon, 02 May 2022 12:04:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlYXX-0007O1-8i for 27229@debbugs.gnu.org; Mon, 02 May 2022 12:04:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlYXQ-0006MY-Lm; Mon, 02 May 2022 12:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PBEwBzjC2qvB/jUIOrMPyH1xOWZqrYRiz0uSn+l+Ofk=; b=lAtmX2pTmy1O g9FUXQ5wzuFkNKmpMjdCesx419WPUYD97i6HGTPCtLvERRCWcV3rt18bMq5ksLLxxD40BzQDr9q/L uLphVu1rEjcb66lhY7S0AbjkxItiI163HTlD3ShAQZybwvpc3EjZY6Lrbl0NhiEa/0EcERUh3TdDc uHNBZACVoX+PM4kwhSlppRt/qoPCmS3jMacLTZmrK1m6TNF/CZwKpAA79+LJ3oc7w+71H+EGSukeJ Vq6p3LCAg2BN6dHAt+wsw1RWmRHjCXLyrydzeTX2uFygIhO5PGQBLDX3xXaPfNUVP+vwTpfDshDpr 1L0C/icWugNAf+o45f6p/g==; Received: from [87.69.77.57] (port=1970 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlYXQ-0003KB-3L; Mon, 02 May 2022 12:04:40 -0400 Date: Mon, 02 May 2022 19:04:49 +0300 Message-Id: <835ymn6hum.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87y1zk1b1b.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 02 May 2022 12:30:56 +0200) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) > Resent-From: Lars Ingebrigtsen > Original-Sender: "Debbugs-submit" > Resent-CC: bug-gnu-emacs@gnu.org > Resent-Sender: help-debbugs@gnu.org > From: Lars Ingebrigtsen > Date: Mon, 02 May 2022 12:30:56 +0200 > Cc: 27229@debbugs.gnu.org > > Lars Ingebrigtsen writes: > > > I think it pretty much looks like the (fn) in `when' (and `unless') is a > > bug (it certainly trips up eldoc here, which would do the correct thing > > if (fn) is removed). > > So I've now done this in Emacs 29. So now "C-h f when" says (when COND &rest BODY) where it previously said (when COND BODY...) Isn't this a regression? From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 05:05:23 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 09:05:23 +0000 Received: from localhost ([127.0.0.1]:38648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nloT5-0002xl-ND for submit@debbugs.gnu.org; Tue, 03 May 2022 05:05:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nloT4-0002xS-2U for 27229@debbugs.gnu.org; Tue, 03 May 2022 05:05:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=8m7eNuvuipTntdfIk7KuXl0gCU35iz+w+XjRqVHHUgE=; b=gjPu0iniJ3qePxwlGPXJk3hDM6 tKKSY/HNi/nv+t/R1V9WQbolSaBhF6QSsFhwjBJV4h3XgpkQBwi2JTBk4LmoJMFAh24gbfJQfnmmn JY5oRCzK+ER4EpDGLHL3nRxcKmb1MhwsIsp8L9aC5hPHLaQwAEiFIcYOrcip+W+b7nFI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nloSu-0003XP-B3; Tue, 03 May 2022 11:05:07 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVTKi2kKjm6QkzJ jJb///9f8wvTAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFAwkDG3gF0wEAAAG6SURBVDjLbZTtucMg CIWJWUDMAgoLpLL/bveAkrb3aX6kxpePI0KJ8mFmoiY9v+t7vxKLjjeAIR3sgJua3m9LXm8+sD9V NmhuGg7MaiacoUQG76f5fv0Bps3xC1wdagcf/8EQKioqIcbBHJ6/iciFHOZ2FfIdyAIvM2QJAJUA 4kBEAeCyQ9cNPFKCIADi3v79ujyWLOSqZIPJ8JjbBUCncACpZOngyT+eWh6PbzBI12IBbq5pBGiS sQivtYdLqVQkXQDCfhe1fHjE4fKmP8A6Q/0GHioiPaC9QSwzxSN+n2NsjwJ9nMXaZ077EVqEv4Av MonsUEGO0JnVab7q4dEQp2YveXO2uWQxHY0/gdmQlp18JBBCKxs/J4HmBZDD7Lqz/1DUkaEA7uj9 U8o8ogG8iFwRyfpBp00qVnpL4FNhN3XBKCnZjeZYoAnmqHugG0o0hod32c2gSRGmyPTWWslxPDVP PUs3hdEcW5VOna7/Ll3d+7Wami+d5lN/evJOu62Q4zKZfuyze32ZnpK0aTHznYo3A0XDYKJaw34U xPCDP4E1OH4JuuoXobiuzHE7T10BtD8gpud52kjwB71NYRuukxQhAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIyLTA1LTAzVDA5OjAzOjI3KzAwOjAw3q4eIgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0w NS0wM1QwOTowMzoyNyswMDowMK/zpp4AAAAASUVORK5CYII= X-Now-Playing: Depeche Mode's _Speak & Spell_: "Tora! Tora! Tora!" Date: Tue, 03 May 2022 11:05:02 +0200 In-Reply-To: <835ymn6hum.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 02 May 2022 19:04:49 +0300") Message-ID: <87fslr0ywx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > So now "C-h f when" says > > (when COND &rest BODY) > > where it previously said > > (when COND BODY...) > > Isn't this a regression? In what way? We have &rest BODY all over the place, and it's the correct syntax to specify that there's a body, so I don't understand what you mean. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) Eli Zaretskii writes: > So now "C-h f when" says > > (when COND &rest BODY) > > where it previously said > > (when COND BODY...) > > Isn't this a regression? In what way? We have &rest BODY all over the place, and it's the correct syntax to specify that there's a body, so I don't understand what you mean. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 07:03:41 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 11:03:41 +0000 Received: from localhost ([127.0.0.1]:38762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqJh-0008QO-Jd for submit@debbugs.gnu.org; Tue, 03 May 2022 07:03:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqJf-0008QB-QM for 27229@debbugs.gnu.org; Tue, 03 May 2022 07:03:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqJX-0002Y4-Of; Tue, 03 May 2022 07:03:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uIs2J76cCHQxjAtBtGujH2AjJEK8Vxxx61ygpgKX47I=; b=HXxqTYLo4yn/ VuFtUWqd6LYQFHc/RJclidsCUGlnijqPRpwHdsG136YPDxREb9P1Bs7SuGZSoPNARySy4Iph9Oo6D eF+4AC0zah4GsCpTzVgd+vS0F8MJ2/Vi83KCJNoogVchEypw1Glwgde6hAQ/FtFWhsU+Vdiue2ER7 N3N6ZFzwfKcEKiLtUFwFItRFLwD7zel/n1d83Y4aKvtwqK4siJz6mIVBQC5/wJGzn0x2vH8M/zMod j5n4qauzXLRzIuSLXMSpIKbHAZuS1rrlI3CLpRbbD1vrR0rbvAsvK7eC0DQWVWaqtiC1mZwNF9SUO 8UdYc3m+nRXaanwgJyhNSg==; Received: from [87.69.77.57] (port=4366 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqJO-000213-8D; Tue, 03 May 2022 07:03:24 -0400 Date: Tue, 03 May 2022 14:03:32 +0300 Message-Id: <83r15a514r.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87fslr0ywx.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 03 May 2022 11:05:02 +0200) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: andrewjmoreton@gmail.com, 27229@debbugs.gnu.org > Date: Tue, 03 May 2022 11:05:02 +0200 > > Eli Zaretskii writes: > > > So now "C-h f when" says > > > > (when COND &rest BODY) > > > > where it previously said > > > > (when COND BODY...) > > > > Isn't this a regression? > > In what way? We have &rest BODY all over the place, and it's the > correct syntax to specify that there's a body, so I don't understand > what you mean. But when and unless aren't functions, they are "special forms". So using &rest there is less self-explanatory for those who aren't necessarily privy to the internals. IOW, the removed (fn ..." stuff was there for a reason. The original bug report here wasn't about how we display the doc string, it was about what eldoc does. So IMO the fix should have been in eldoc, which would also avoid this negative effect. From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 07:09:51 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 11:09:51 +0000 Received: from localhost ([127.0.0.1]:38766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqPf-00007O-9s for submit@debbugs.gnu.org; Tue, 03 May 2022 07:09:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqPc-00007A-MX for 27229@debbugs.gnu.org; Tue, 03 May 2022 07:09:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=dzXLnonxTIDLQx5yF6ruQhFHUUJzMZ8HYVcJIV/JdFw=; b=cjM1B3qdFXEfQXgEIJBPdgvE8H M4W/jK+tps1KgKc7QcjGJDcMRK4X7M45qEPZvcDcbKqOrbmDNqFG2MUPPraHwSy39Jl1pL4VVLcPt ondcBNdbR7Gq5gF9nuv9slt1qitXREkGvSCSDcgfvEOOYfhAY9tcUGoKqMIaByOwrbRI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlqPT-0004YE-EY; Tue, 03 May 2022 13:09:41 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUQFBg5TF1VcZBv hp3Bwr////9uWi7SAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFAwsHAeKPOxEAAAGySURBVDjLdZMB muIwCIVh9gJA9wCFeIBJ4gXcnfufaR9J1GrdWLVf/vIID0pESh8XqwquM9CxhM8RkhH4+0/EWUzd wgLsQ3JTE/qQX8hpPwM8y2r+ITvSI4eQTGF7O5ev+5g3eFABnKuNEs3DEY8FzuxKhgMIcXhIxidg 6NL3l6R2An2CPBZPH49AOYEOkOoj94yQuxucWVWZeSRHjlVbrFXGqeC4z+osDstXNbKE/BVwgohz RIIXoZhpE3B72Z59w49sh+0sbQBHxFAqvcWO6XgAkgFKd9TEonepWAAuk4o++5Ngm4MyXMuOZBcg RYLqk+TMRMNntMfXOE7DW+mQraOfAEMjSuvROlaro20ISol+WHW0jXi3UvobQITwftymCTBKxvtz uy2ArG6uT/C97QPoG7jeSjrq94iZA4VdbigzTTRtCXBJvlby+1aGMQBR8epIvgfohF7+2gH4fDty 7H5+ZAKkSKnpU1i7Avzq8CojDPlLSZeiX/4QQHuAVXnguERb1mHmFd8NXk9QhbbSskCrcGVLL3ov /SoAfQCtqjt7DgMiGtED4LA5u/yYgi9Y8g/BjluI0nu+VwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy Mi0wNS0wM1QxMTowNzowMCswMDowMJfLtbAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDUtMDNU MTE6MDc6MDArMDA6MDDmlg0MAAAAAElFTkSuQmCC X-Now-Playing: Depeche Mode's _Some Great Reward_: "Master And Servant" Date: Tue, 03 May 2022 13:09:38 +0200 In-Reply-To: <83r15a514r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 May 2022 14:03:32 +0300") Message-ID: <87tua6yirx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > But when and unless aren't functions, they are "special forms". So > using &rest there is less self-explanatory for those who aren't > necessarily privy to the internals. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) Eli Zaretskii writes: > But when and unless aren't functions, they are "special forms". So > using &rest there is less self-explanatory for those who aren't > necessarily privy to the internals. 'defmacro.*&rest.body' gives me 487 results, and only `when' and `until' had that odd (fn). If we want *Help* to display &rest body in a different way, then we should fix that in help-mode, not mess up the calling convention string. > IOW, the removed (fn ..." stuff was there for a reason. The original > bug report here wasn't about how we display the doc string, it was > about what eldoc does. So IMO the fix should have been in eldoc, > which would also avoid this negative effect. As the bug report explains, there is no fix possible, since the "..." syntax is ambiguous: We use it both for "and then there's more" and "there are alternating pairs of arguments". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 07:21:31 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 11:21:31 +0000 Received: from localhost ([127.0.0.1]:38789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqax-0002eT-37 for submit@debbugs.gnu.org; Tue, 03 May 2022 07:21:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqav-0002eE-DX for 27229@debbugs.gnu.org; Tue, 03 May 2022 07:21:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqaq-0006zd-3g; Tue, 03 May 2022 07:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=W0qNOQEu2LBCgkpA9iFyIFoS6KGvGOnvHm9A1yAX/4I=; b=ezwn79czlo+Z /kBBIzTlv587UKFML6B2zhUZyiKpYJn3CNguCb8U0h8bb2pAJjr+RE+6bXjlhXIRTQAepKE00AScR ptrqrZcgURdPQnxIiVIFQO0bHrzG7pjk5dwLjVwqBOuuBJLgDxUev/T8W4fAp3fq0xFG5m0pz422P tUwzw5b5H4eC1hNFmj15wzvmUQovQ6m+zfgkLskmQO51MWBT8qtw3fCbZW1RtE8MbTxWRu4b5LRuP R2NAV030Gis3vQ5mJgvpLvVkuG+JQOfbcz87s+eAbWqDJ2x8Omi+5FbHSjiM+TJyOfjN77s+QkG3X qQXpAK5f69gopKXQualyNw==; Received: from [87.69.77.57] (port=1656 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqap-0006hs-J5; Tue, 03 May 2022 07:21:23 -0400 Date: Tue, 03 May 2022 14:21:35 +0300 Message-Id: <83pmku50ao.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87tua6yirx.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 03 May 2022 13:09:38 +0200) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: andrewjmoreton@gmail.com, 27229@debbugs.gnu.org > Date: Tue, 03 May 2022 13:09:38 +0200 > > If we want *Help* to display &rest body in a different way, then we > should fix that in help-mode, not mess up the calling convention string. > > > IOW, the removed (fn ..." stuff was there for a reason. The original > > bug report here wasn't about how we display the doc string, it was > > about what eldoc does. So IMO the fix should have been in eldoc, > > which would also avoid this negative effect. > > As the bug report explains, there is no fix possible, since the "..." > syntax is ambiguous: We use it both for "and then there's more" and > "there are alternating pairs of arguments". So you are saying that we cannot use "(fn ..." because eldoc doesn't like that? Doesn't sound reasonable to me. eldoc is a minor, albeit important, mode; it isn't right for a minor mode to dictate our documentation formats. From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 07:24:26 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 11:24:27 +0000 Received: from localhost ([127.0.0.1]:38795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqdm-0002jP-J9 for submit@debbugs.gnu.org; Tue, 03 May 2022 07:24:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqdk-0002jB-M4 for 27229@debbugs.gnu.org; Tue, 03 May 2022 07:24:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=fbFgkYRWhE5jv9kLu9dmdY//ngEy4pxTKSvKgyGSU60=; b=k67XPlfPpabli9RgPxOfRrJA9m 3/atVfZWFu0lGu8RYgCxlxYKMmXWMRvnlbRBLpfJHPPv1eAlhXm0vWOdqPpaZdlXEMV34IIIAtLZn FIe7+16KPd1Mqzf0cLw/dah9wEvZFhIcTj1Ez3Vc9mfP5B6VUvCYMsI+tcPEEnefLuHw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlqdb-0004hX-NA; Tue, 03 May 2022 13:24:17 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> <83pmku50ao.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEXr4NT+/e3ItbEf HBtXQB+qnJpmWliKdmvWxrOulHb////tTZYyAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YFAwsWH0tZ JWIAAAGvSURBVDjLvdNBb9sgFABgYimVj2aHna03Efk8iNNzodGOE6ldH6s44Oaaqsl2Q5bSca60 Vf63g26dIVtv1d7Blvn8eJiHEUIYo5fA7iGbYB8IvxJvDe/oSwguxDwEIQTngjN/PwHuX/4bxuA0 Bs30pt248ZYuTjLY7xQWZOAECmvNr21JTQDXe81p97WqDrKYfQzhUO31drBWGvSwDuBJAYB+tFaR POkD+OGguNo9fVbHHJERMrIGsB8Wdb5z1dUIPQCpyGqZJjcITc8DOAJUpNUmWRg0vYkyoDCtbhKW J2e3I9i9E+BM2Tqv2wBSLoEQStfW1Q6h5xdQ1ZSWTYrQ+3kIpSRXh66TfrPKEY6cquKuG4ZHNz6p A3CzCCr08F26uZKg+HM3NnQ7+CIogqVrIl9ui9SE0HPfui+wOUj7D2hMP5N9HoEb1vNemtW93Z2C XH9TR66gQyZaLpWSSMIvq9IEGciBkgVYTlnZ3wcddFBKAJ9ZrhYxMNf22fOJu4yBlnB95291BP58 Kmjd9dNDNBVzn8i0T8ynwbbj6k80WdZgPHntH/wf4Fc1eSvIfgJyrqrKKTCSdAAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0wNS0wM1QxMToyMjozMSswMDowMAF2y2IAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMDUtMDNUMTE6MjI6MzErMDA6MDBwK3PeAAAAAElFTkSuQmCC X-Now-Playing: Depeche Mode's _The Singles 81-85_: "Dreaming Of Me" Date: Tue, 03 May 2022 13:24:15 +0200 In-Reply-To: <83pmku50ao.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 May 2022 14:21:35 +0300") Message-ID: <87fslqyi3k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > So you are saying that we cannot use "(fn ..." because eldoc doesn't > like that? Doesn't sound reasonable to me. eldoc is a minor, albeit > important, mode; it isn't right for a minor mode to dicta [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) Eli Zaretskii writes: > So you are saying that we cannot use "(fn ..." because eldoc doesn't > like that? Doesn't sound reasonable to me. eldoc is a minor, albeit > important, mode; it isn't right for a minor mode to dictate our > documentation formats. No, I'm saying that the (fn ... in when/unless was wrong in any case, and shouldn't have been there. Since we don't use that in the hundreds of other &rest body macros, it serves to confuse the users who will wonder why when/unless look odd. Like I said, if we want to change how we present &rest body to the users, then we should do so for all of these macros, and not just two. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 07:31:26 2022 Received: (at 27229) by debbugs.gnu.org; 3 May 2022 11:31:26 +0000 Received: from localhost ([127.0.0.1]:38801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqkY-0004Hy-C9 for submit@debbugs.gnu.org; Tue, 03 May 2022 07:31:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlqkW-0004CM-SG for 27229@debbugs.gnu.org; Tue, 03 May 2022 07:31:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqkR-0000ax-FD; Tue, 03 May 2022 07:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=igzkGYgJuc26vtVVhRbmvud/5wbFYWYOQccUb6spgO4=; b=iB0AUIhwk/9R rjFUbh23oL6wFaw4NLQWZpfhD9hKZclth5CHxnpn6MMVoV+UptJpAAkltUXVa8lvRnngztVHnf8tK 5A7o34L0WUdLMrOGkzqoMJpeQCUNoLSzFpN+Uq+W8HCy2SFaTGVn416+GSgVDrSVzYn+9z2w428vD x5bZQkKtNpwNapUYbBFBr7jj8dzImAARXQq7dBlRp1+ASUi++7LBDEGctVfb+ntC0/2VpNbTVxQQW Xm4W7UsRhhTI364h1moE6P9FHizenLzi1pqq0ZNqCN195UxR3aENZccbZXxrg48mUJTd6otRFIq58 ZTV50m1zkn3saY95MOjwYg==; Received: from [87.69.77.57] (port=2264 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlqkQ-0008Hh-UL; Tue, 03 May 2022 07:31:19 -0400 Date: Tue, 03 May 2022 14:31:29 +0300 Message-Id: <83o80e4zu6.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87fslqyi3k.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 03 May 2022 13:24:15 +0200) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> <83pmku50ao.fsf@gnu.org> <87fslqyi3k.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: andrewjmoreton@gmail.com, 27229@debbugs.gnu.org > Date: Tue, 03 May 2022 13:24:15 +0200 > > Eli Zaretskii writes: > > > So you are saying that we cannot use "(fn ..." because eldoc doesn't > > like that? Doesn't sound reasonable to me. eldoc is a minor, albeit > > important, mode; it isn't right for a minor mode to dictate our > > documentation formats. > > No, I'm saying that the (fn ... in when/unless was wrong in any case, and > shouldn't have been there. What about the more general case of using that in any other place? Are you saying that it will work in other places, and just in those two places didn't work? > Since we don't use that in the hundreds of other &rest body macros, > it serves to confuse the users who will wonder why when/unless look > odd. I'm not worried too much about these two, I'm more worried about the ability to use the advertised-signature feature in general. > Like I said, if we want to change how we present &rest body to the > users, then we should do so for all of these macros, and not just two. What about if I want to change that only for a specific case, not in general? Is this now "verboten"? From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 03:46:45 2022 Received: (at 27229) by debbugs.gnu.org; 4 May 2022 07:46:45 +0000 Received: from localhost ([127.0.0.1]:41641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nm9if-0000ms-3W for submit@debbugs.gnu.org; Wed, 04 May 2022 03:46:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nm9id-0000mc-E8 for 27229@debbugs.gnu.org; Wed, 04 May 2022 03:46:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=rt21wXhOiBdgnLbgCGu3TWopliUkdb1Gr6EClSlVn2Y=; b=LfaHqsBv4LVLH2v9ISrNqIIJCj eH5gI0yR3TEalMJOJ5s49eLRALzHs16SN8uIUYAq9ov3f57YQS3+h75+ProyUTV8kbvrpq0TmKMwW sSSyvKhImleZrImzzstntrzx8qjf1I6WcdTsTwJB4lNhAkV9aQG7OQPAuwRA41pCSyVs=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nm9iU-0008LB-6l; Wed, 04 May 2022 09:46:36 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> <83pmku50ao.fsf@gnu.org> <87fslqyi3k.fsf@gnus.org> <83o80e4zu6.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVpQUqNbGehgnmr j4ykPFb////1tcpiAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFBAcqAs9h8ZkAAAG7SURBVDjLbZOL ecMwCIRR3QEALRChBWqpA3T/qXqAZLsPJfmS6AcdcDIVMR0qWNbnnPgMfM1BImpTzcbwvT7Ooh4w AUSbrNX6/KBjZbBIYbzxEul9gdMzpID6NnTmC6BDhoo81xwAY5j0J1CIGdNh0Bz0jFdEAgwzMSp3 TYirlekN5Zr91FDFUepdyi/QAQT7dT41mjRtjMMtRxL17xRhP6P1884gX4Vpr62RO4XeP/8Fwsf8 BST/MH09AKKvgl38zrhARbmKdhoahBkO/AWwq3Yg7pUQpyPeuSmmGxqPubxI+2kiS9xtDIrpljrQ u5ee8WVnvCmcGlkPRRqnxqFznKjHEzwNzbg+jKowquUc4k1xlXzsZwBXxikZ7gBN9BBfwIsoPhLV NYwYTl65EhmzntH5AviB+2I+UAD13Q2Yo9x3H9XapYJxHlwWwLVwgLO8TZLXNR65AIJJWgmjbsCF 1r0ygVHpCfljsw30JycaXBm3szH2uH2a4GEUMmpbR+l2sIV4lXOBq8TMqG3kUZRGXfequsgfYFdV YTm5r9nO3aADTlOdAPgDEpWGc1sjnUvA9+VJwNn5I/4xxG+tY0pqahonDQAAACV0RVh0ZGF0ZTpj cmVhdGUAMjAyMi0wNS0wNFQwNzo0MjowMiswMDowMJa32oEAAAAldEVYdGRhdGU6bW9kaWZ5ADIw MjItMDUtMDRUMDc6NDI6MDIrMDA6MDDn6mI9AAAAAElFTkSuQmCC X-Now-Playing: Simple Minds's _New Gold Dream (81-82-83-84)_: "Someone Somewhere In Summertime" Date: Wed, 04 May 2022 09:46:32 +0200 In-Reply-To: <83o80e4zu6.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 May 2022 14:31:29 +0300") Message-ID: <877d71wxif.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I'm not worried too much about these two, I'm more worried about the > ability to use the advertised-signature feature in general. There is no general case here -- the advertised convention in these two cases were with all the other macros that have this signature, and removed information to boot. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) Eli Zaretskii writes: > I'm not worried too much about these two, I'm more worried about the > ability to use the advertised-signature feature in general. There is no general case here -- the advertised convention in these two cases were with all the other macros that have this signature, and removed information to boot. >> Like I said, if we want to change how we present &rest body to the >> users, then we should do so for all of these macros, and not just two. > > What about if I want to change that only for a specific case, not in > general? Is this now "verboten"? Not if the advertised convention is an improvement. It wasn't here. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 04:28:10 2022 Received: (at 27229) by debbugs.gnu.org; 4 May 2022 08:28:10 +0000 Received: from localhost ([127.0.0.1]:41723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAMk-0001rH-Hn for submit@debbugs.gnu.org; Wed, 04 May 2022 04:28:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAMi-0001r4-Vd for 27229@debbugs.gnu.org; Wed, 04 May 2022 04:28:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAMd-0000Pr-Lk; Wed, 04 May 2022 04:28:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=f/i79Hx2rnkLihW3k8Lu+uh+BGS3stLeta+nLqiMMTk=; b=m0PQW/51Z3nV B9N9y7tm9OwH+5Fge/g+gbVXw+o1GyE0/Ce07KSa+T7A6dTu/n772Feybklj9atOrZY+UcX2ZhONe VzFPvC5iqWjuEoEeMwJQaEa4wtqIYuSXWVzgpzShe5IRPP+iKYroQgyNh4AJWye9QmbSDyNPiFueX ZOjP52AP5+JbawSZCs9NaG1SwaMcXowkb9AWXT1rsXEyp1WKTMuMjwpL0o/dwMPrLNqlt+18EsK8P L5Sgv0exJsrRHLCIGSyb0he2fRBSiriK6XZ7vKXGPZZJGe44VCMyTPdO9hdIEhBdc7ttK0mrfkU5i igkrpAfbyyh/I7UXYJUtyw==; Received: from [87.69.77.57] (port=4146 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAMd-0006L6-4K; Wed, 04 May 2022 04:28:03 -0400 Date: Wed, 04 May 2022 11:28:16 +0300 Message-Id: <8335hp4s7z.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <877d71wxif.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 04 May 2022 09:46:32 +0200) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> <83pmku50ao.fsf@gnu.org> <87fslqyi3k.fsf@gnus.org> <83o80e4zu6.fsf@gnu.org> <877d71wxif.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: andrewjmoreton@gmail.com, 27229@debbugs.gnu.org > Date: Wed, 04 May 2022 09:46:32 +0200 > > > What about if I want to change that only for a specific case, not in > > general? Is this now "verboten"? > > Not if the advertised convention is an improvement. It wasn't here. So you are saying that adding (fn FOO BODY...) in other cases will _not_ trip eldoc as it did with 'when' and 'unless'? From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 05:07:08 2022 Received: (at 27229) by debbugs.gnu.org; 4 May 2022 09:07:08 +0000 Received: from localhost ([127.0.0.1]:41768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAyS-0002wF-CS for submit@debbugs.gnu.org; Wed, 04 May 2022 05:07:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAyR-0002vi-4L for 27229@debbugs.gnu.org; Wed, 04 May 2022 05:07:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=P3P2uEa8+hjzfMw8SZLd4kQOGyv4qV5p8MPN/Ya2pdA=; b=hV/sVOFHRnoylCxi7ED2fekazG tFoaGS4MUDU2GdY+5CjCkY+2lo2aKp0yij/8yQN4DV7Wo9slovaNh2oCJxCs5Sdhk6jgJYHO4bpn9 0UwgKe0TAZAezojVtIpJ6sMPibdN0j2Qa7pBVWMpxjNiMeRGf4R2722n+7X9nUuRI298=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmAyH-0000lB-Lj; Wed, 04 May 2022 11:07:00 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> <87tua6yirx.fsf@gnus.org> <83pmku50ao.fsf@gnu.org> <87fslqyi3k.fsf@gnus.org> <83o80e4zu6.fsf@gnu.org> <877d71wxif.fsf@gnus.org> <8335hp4s7z.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUPDAxdQUGiTEK3 rrD////dQ46/AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFBAkEHDT36NwAAAF3SURBVDjLzVNbcsMw CATpAmBdQI8LWN77362LlKSJO/3tlElizLK8I9q0y7e4uJvYYXJUOUSUGkWbLVBSI7gcfRPoRis/ dX/V7REqnsmk78cKTZtrr2pPxk5tTgt5yuhh4fewTvd6JIt6uvReSY6CemO4diSt6odFYFP+tFVW Y5IkyU2rubUARnfWFFU5u7AkbdQ0WEC5MCrGBVxQ6mNSAbqUApxYMjPGUgqmyQhgv2PYRsZVJBhX 23bk8lBQLIBxkrsAvGTP1MpZXRVH9TViF9U9uhIOOj/28tvL/xZlmz9tq8Vy3gHOxQQV82bPNIBo vjde1BQGK2/AUqFVuEPreEsbhaCdTA3SPgvKOJ02zLepW1AKTstQrv8FlBlYobcik/bog5s8AwAY Dbm+OudFmGMxEq+iyTN3xhVGbloNk0t/Agm8hYsOETrL/i+tHKzc2GG+HmOUb2A7M8RxG6pjATY/ x8e7nZv5457W/YXDXdJvazb5G/kCjvwxnChOt34AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUt MDRUMDk6MDQ6MjgrMDA6MDA3w43HAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTA0VDA5OjA0 OjI4KzAwOjAwRp41ewAAAABJRU5ErkJggg== X-Now-Playing: Fine Young Cannibals's _Fine Young Cannibals_: "Move To Work" Date: Wed, 04 May 2022 11:06:54 +0200 In-Reply-To: <8335hp4s7z.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 May 2022 11:28:16 +0300") Message-ID: <87levhvf81.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > So you are saying that adding > > (fn FOO BODY...) > > in other cases will _not_ trip eldoc as it did with 'when' and > 'unless'? No? But I don't know whether we have any other cases like that in the code base. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: andrewjmoreton@gmail.com, 27229@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: -3.3 (---) Eli Zaretskii writes: > So you are saying that adding > > (fn FOO BODY...) > > in other cases will _not_ trip eldoc as it did with 'when' and > 'unless'? No? But I don't know whether we have any other cases like that in the code base. Let's see... the only other instance we seem to have is in rx.el. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 18:47:56 2022 Received: (at 27229) by debbugs.gnu.org; 4 May 2022 22:47:56 +0000 Received: from localhost ([127.0.0.1]:43919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmNml-0001KD-OV for submit@debbugs.gnu.org; Wed, 04 May 2022 18:47:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmNmj-0001JT-S9 for 27229@debbugs.gnu.org; Wed, 04 May 2022 18:47:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmNme-00038V-Ed; Wed, 04 May 2022 18:47:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=wSF6cWK7wpitVhTcvRqCIahSCkcOD1g9VvwAu12x7S0=; b=dzkIteb7AKdZ IL1OvuXkIRyvR9bA75kBqO+jfHffUiFzg/5niUAAOluENATvHPP3/2hsi57fyuPqd8sULYoIFe+pz I7toDxFCHthzzGjfa0ZoczoHlnhOfyyHHxglTVlOFD3cKsRjInz5D5R98M+MYv6TfNvLhEJ7J+Qup G7LHQldZoSf7AorhbVNQpT6JjgPM3f1Wm1Gl7cqgViMisFnn18Hv0CG4zHVc61snwEb2jMMIO3LS4 VQGF2A+6Aed3LsTQz1KmUYq4LtxaRL8fgdEvgSc0Hd8dWsqGgFTz5BLTP0IzpesN0fsBAQRQre7zP DNSgYICo3Arazk8AjlroxA==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nmNme-0006pa-5I; Wed, 04 May 2022 18:47:48 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-Reply-To: <83r15a514r.fsf@gnu.org> (message from Eli Zaretskii on Tue, 03 May 2022 14:03:32 +0300) Subject: Re: bug#27229: eldoc wrong highlighting for "when" References: <87k0w6dg58.fsf@web.de> <87o89a12nc.fsf@gnus.org> <86lf4dwxk8.fsf@gmail.com> <874kb1wwru.fsf@gnus.org> <86y28dd1r9.fsf@gmail.com> <87zgssu9sl.fsf@gnus.org> <86wnnwlbjm.fsf@gmail.com> <875yvgqwsy.fsf@gnus.org> <87y1zk1b1b.fsf@gnus.org> <835ymn6hum.fsf@gnu.org> <87fslr0ywx.fsf@gnus.org> <83r15a514r.fsf@gnu.org> Message-Id: Date: Wed, 04 May 2022 18:47:48 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27229 Cc: larsi@gnus.org, andrewjmoreton@gmail.com, 27229@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: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > So now "C-h f when" says > > > > > > (when COND &rest BODY) > > > > > > where it previously said > > > > > > (when COND BODY...) > > > > > > Isn't this a regression? > > > > In what way? We have &rest BODY all over the place, and it's the > > correct syntax to specify that there's a body, so I don't understand > > what you mean. > But when and unless aren't functions, they are "special forms". So > using &rest there is less self-explanatory for those who aren't > necessarily privy to the internals. That is right. The keywords &rest and &optional are for arguments, and they imply that the values are evaluated in the usual way. A special form is a syntactic construct, not a function call. Its parts are not arguments to a function. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From unknown Mon Aug 18 14:20:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 02 Jun 2022 11:24:05 +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