From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 11:00:37 2018 Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 15:00:37 +0000 Received: from localhost ([127.0.0.1]:39526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9AXt-0005aW-2u for submit@debbugs.gnu.org; Sun, 07 Oct 2018 11:00:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9AXq-0005aJ-FF for submit@debbugs.gnu.org; Sun, 07 Oct 2018 11:00:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9AXj-0007wS-1h for submit@debbugs.gnu.org; Sun, 07 Oct 2018 11:00:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9AXi-0007wB-GM for submit@debbugs.gnu.org; Sun, 07 Oct 2018 11:00:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9AXh-0004vK-Iz for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 11:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9AXb-0007qF-S6 for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 11:00:25 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:49964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9AXZ-0007ls-VV for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 11:00:19 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w97EwjqC092873 for ; Sun, 7 Oct 2018 15:00:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=27C5BxLFFaZScejKS2alw8lcTAome1eggENHD60IzQs=; b=BLM0jPczwPgNbzeg4cwPWpzFUebT6DKUoU5t+nr0+tXywO2UM+IXE44WYSvfc+/9ZyrS HkFsXDA52r9jMvZBZp+lEtfMZWTvogzb03ffwLHPJRH2KhhqfwrPRubBUcU9MUn+LnLd hn+w7kg7ffds2tHWMtRQ5WloOMM5JUl3Co+ZcZJPsEfiFsl/kul2qKM7PhculR2b9yep PV0ABgSfUMznSUyWdwu0JVjPdDjeOvOy3y9Zzu1n5y+unzrT3FmmHClCiJ9bG0kFTTPV 4CzVVU8QiLemIaL1kiYHe2zTmNqzMaWV+6a9PJLSqovK9KfFuGoDvsQi8WF5kRrPnG8S rg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2mxmftay7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 07 Oct 2018 15:00:16 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w97F0FOq014630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 7 Oct 2018 15:00:15 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w97F0FQh032121 for ; Sun, 7 Oct 2018 15:00:15 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 7 Oct 2018 15:00:14 +0000 (UTC) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; doc string of `this-command-keys-vector' (minor) X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9038 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810070154 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Doc string: this-command-keys-vector is a built-in function in 'C source code'. (this-command-keys-vector) Return the key sequence that invoked this command, as a vector. However, if the command has called 'read-key-sequence', it returns the last key sequence that has been read. See also 'this-command-keys'. This function does not change global state, including the match data. It would be clearer, I think, if the order of the last two sentences were reversed. And perhaps they should not even be in the same paragraph. The current order can lead to thinking that "this function" means `this-command-keys', and that it is only `this-command-keys', not also `this-command-keys-vector', that does not change global state. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:55:42 2019 Received: (at 32970) by debbugs.gnu.org; 11 Jul 2019 15:55:42 +0000 Received: from localhost ([127.0.0.1]:38451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbQ6-0006pB-9G for submit@debbugs.gnu.org; Thu, 11 Jul 2019 11:55:42 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbQ4-0006p3-K0 for 32970@debbugs.gnu.org; Thu, 11 Jul 2019 11:55:41 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlbPz-00053Y-Ls; Thu, 11 Jul 2019 17:55:38 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#32970: 26; doc string of `this-command-keys-vector' (minor) References: Date: Thu, 11 Jul 2019 17:55:35 +0200 In-Reply-To: (Drew Adams's message of "Sun, 7 Oct 2018 15:00:14 +0000 (UTC)") Message-ID: <87ef2w36rs.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Drew Adams writes: > Doc string: > > this-command-keys-vector is a built-in function in 'C source code'. > > (this-command-keys-vector) > > Return the key sequence that invoked this command, as a vector. > However, if t [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 32970 Cc: 32970@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > Doc string: > > this-command-keys-vector is a built-in function in 'C source code'. > > (this-command-keys-vector) > > Return the key sequence that invoked this command, as a vector. > However, if the command has called 'read-key-sequence', it returns > the last key sequence that has been read. > > See also 'this-command-keys'. > This function does not change global state, including the match data. > > It would be clearer, I think, if the order of the last two sentences > were reversed. And perhaps they should not even be in the same > paragraph. The current order can lead to thinking that "this function" > means `this-command-keys', and that it is only `this-command-keys', not > also `this-command-keys-vector', that does not change global state. The current help buffer is: -- this-command-keys-vector is a built-in function in =E2=80=98src/keyboard.c= =E2=80=99. (this-command-keys-vector) This function does not change global state, including the match data. Return the key sequence that invoked this command, as a vector. However, if the command has called =E2=80=98read-key-sequence=E2=80=99, it = returns the last key sequence that has been read. See also =E2=80=98this-command-keys=E2=80=99. -- So this has been fixed. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:55:51 2019 Received: (at control) by debbugs.gnu.org; 11 Jul 2019 15:55:51 +0000 Received: from localhost ([127.0.0.1]:38454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbQF-0006pa-Id for submit@debbugs.gnu.org; Thu, 11 Jul 2019 11:55:51 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbQD-0006pS-KM for control@debbugs.gnu.org; Thu, 11 Jul 2019 11:55:49 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlbQB-00053f-0y for control@debbugs.gnu.org; Thu, 11 Jul 2019 17:55:48 +0200 Date: Thu, 11 Jul 2019 17:55:46 +0200 Message-Id: <87d0ig36rh.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32970 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 32970 fixed close 32970 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: 0.0 (/) 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: -1.0 (-) tags 32970 fixed close 32970 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 13:12:07 2019 Received: (at 32970) by debbugs.gnu.org; 11 Jul 2019 17:12:07 +0000 Received: from localhost ([127.0.0.1]:38554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlcc2-0004he-QU for submit@debbugs.gnu.org; Thu, 11 Jul 2019 13:12:07 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:40980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlcc0-0004h7-83 for 32970@debbugs.gnu.org; Thu, 11 Jul 2019 13:12:05 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6BH91A2162022; Thu, 11 Jul 2019 17:11:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=uw8BolcNzb+y/4tgTmSlDnRAQ39X6Sj7BsYo9uvfik0=; b=SI69ZecY6cONCoHS6m9sSCO3xmqQ2L59su6ZGduwbuhVzJhSZu/CFdOMHjQ4VZ7OUgP9 Xv+X12h29Kob+HatKLRFCdqMhgkGUJCrNRY98T08Pcss7g2c8eIejo7iNpuP1qm7sIcP flNAGnICZwQmM6dq6a68Gz65VUydB5U3Y2EUXYfYTQ/G2CRQI4W5n/mqOhNK/8UMTZIj 5Sf5bRyiHKUvn4xrTDTWD5uwy8CmnljNg78hvGtXmC4sidy+vcBOVkMNzJsaFom5rIRt nStiwm/5S+JzsDM0jyYcU5zk2zxQCA4NuuPK0FI8wiHXgOdEGmwFbTTG9lbv8bMSXN0J 1A== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2tjm9r1b59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Jul 2019 17:11:58 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6BH8KOB099943; Thu, 11 Jul 2019 17:11:57 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2tmwgy7q46-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Jul 2019 17:11:57 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6BHBudp006397; Thu, 11 Jul 2019 17:11:56 GMT MIME-Version: 1.0 Message-ID: <6cee3e8e-e197-495c-bb8c-275e3f426d1c@default> Date: Thu, 11 Jul 2019 10:11:55 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#32970: 26; doc string of `this-command-keys-vector' (minor) References: <87ef2w36rs.fsf@mouse.gnus.org> In-Reply-To: <87ef2w36rs.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9315 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907110190 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9315 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907110190 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32970 Cc: 32970@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 (---) > > this-command-keys-vector is a built-in function in 'C source code'. > > > > (this-command-keys-vector) > > > > Return the key sequence that invoked this command, as a vector. > > However, if the command has called 'read-key-sequence', it returns > > the last key sequence that has been read. > > > > See also 'this-command-keys'. > > This function does not change global state, including the match data. > > > > It would be clearer, I think, if the order of the last two sentences > > were reversed. And perhaps they should not even be in the same > > paragraph. The current order can lead to thinking that "this function" > > means `this-command-keys', and that it is only `this-command-keys', not > > also `this-command-keys-vector', that does not change global state. >=20 > The current help buffer is: >=20 > -- >=20 > this-command-keys-vector is a built-in function in =E2=80=98src/keyboard.= c=E2=80=99. >=20 > (this-command-keys-vector) >=20 > This function does not change global state, including the match data. >=20 > Return the key sequence that invoked this command, as a vector. > However, if the command has called =E2=80=98read-key-sequence=E2=80=99, i= t returns > the last key sequence that has been read. >=20 > See also =E2=80=98this-command-keys=E2=80=99. > -- >=20 > So this has been fixed. For some definition of "fixed". ;-) Yes, the original problem is gone. Unfortunately, a worse problem was introduced: putting that statement about the match data before doc string itself. Such info belongs at the end, but separated from the doc string, e.g., by a horizontal line. Anyway, yes, this can be closed. (On n'arrete pas le progres.) From unknown Sun Jun 22 07:58:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Aug 2019 11:24:07 +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