From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#22107: this-command-keys no longer returns prefix argument Date: Fri, 13 May 2016 11:52:41 +0000 Message-ID: References: <83eg98bsmb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d35b00d13ca0532b7ea93 X-Trace: ger.gmane.org 1463140409 26285 80.91.229.3 (13 May 2016 11:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 May 2016 11:53:29 +0000 (UTC) Cc: 22107@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 13 13:53:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b1Bec-0008RT-Iu for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 13:53:15 +0200 Original-Received: from localhost ([::1]:34030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Bec-0000Gb-0j for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 07:53:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1BeW-0000Am-Bx for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 07:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1BeQ-0004DJ-FH for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 07:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1BeQ-0004DF-Bu for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1BeQ-0000YI-3Q for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2016 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22107-submit@debbugs.gnu.org id=B22107.14631403782112 (code B ref 22107); Fri, 13 May 2016 11:53:02 +0000 Original-Received: (at 22107) by debbugs.gnu.org; 13 May 2016 11:52:58 +0000 Original-Received: from localhost ([127.0.0.1]:49597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1BeM-0000Y0-9Z for submit@debbugs.gnu.org; Fri, 13 May 2016 07:52:58 -0400 Original-Received: from mail-oi0-f44.google.com ([209.85.218.44]:35883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1BeK-0000Xm-G8 for 22107@debbugs.gnu.org; Fri, 13 May 2016 07:52:56 -0400 Original-Received: by mail-oi0-f44.google.com with SMTP id x201so166430112oif.3 for <22107@debbugs.gnu.org>; Fri, 13 May 2016 04:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T35872cD7Ym9TQpQyvXEbbcFIoFjL3wyRR4cBgMqLk4=; b=nwJFS1nNeamTDlqAubUtGSfwGYwG6q9/Vdo46/Nm/qPVBWZs4VrkURYxvxI/fXSSFg u7pNoGBcZyhWa3IYHGZJhAZaQIuTDjyrhSTQYLcpyTxiqsUvlnAxQefXjRFNOJ8HFMM4 Tb+BPMMkaZ3M9vlg2wOGAXYxrVjERBPCINNs3YRLE1f4fbJMwWenXj+rsJ5XNDHovhtU RUHYmuI9yVEj6uQE/JbuZAIkW4DGgsKi8c0B9lomzJ2VjFakr/ejDIM6GUNAAt/EjUQh /4e3OFCX10zmy42mrspY7a3JGZEr0+U9rmCfhghSCWJnINlzde1fOgc5+JgWIyAqNe6E yy3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T35872cD7Ym9TQpQyvXEbbcFIoFjL3wyRR4cBgMqLk4=; b=FNeZXTZEWvNSq1jJON8eYl/OOPfdjy1+WjCk41o5Fjc/786CZp0+E/ALiRoXQkjNdO iuiDQYy8taYC9X/cHvPoDV1o1T5qJCmLFzRSbMvq+dWCj+BXnqGgkuR5qvw+tTFYZ9s4 40Aqyqbv/EVS/RSChtANVzxg94UXvXg+RcfirekNn6EHCEGvy9GMhHnm7YWtyptZXmES vkwNqI71RAuQQdkKVsmXjOhFo2xkMEPWtmXVgvtTlY8/C8FoyIu0Sa1z5KdlVpfoSvwa UL4mfDL2uGJ6kQKk7erbGX/32vhKGUiuX/tWdKO+XO1dsdBDYvFvoB0pZ9jYB9x4oOke trAw== X-Gm-Message-State: AOPr4FWdd4iRWEQQf1hwoPvpC/b6WFINFlgOgROeUIJRHKNUOKbuViD2+rDwD7QBSjIQjaVh7exajGDRE6atsQ== X-Received: by 10.202.88.86 with SMTP id m83mr8378282oib.52.1463140370670; Fri, 13 May 2016 04:52:50 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118194 Archived-At: --001a113d35b00d13ca0532b7ea93 Content-Type: text/plain; charset=UTF-8 On Wed, May 11, 2016, 10:22 AM Stefan MonnierOnonnier@iro.umontreal.ca> wrote: > You mean, are this-command-keys-vector and this-single-command-keys > 100% equivalent all the time? I wish I was able to give you an answer. > They appear to be > At this point it is a documentation bug. this-command-keys and this-single-command-keys are equivalent. But the documentaion still says that this-single-command-keys does not return prefix argument unlike this-command-keys. In fact, none of them return the prefix arg. So (1) The docstring of this-single-command-keys needs to be fixed. (2) NEWS also needs to mention that this-command-keys no longer returns prefix arg. Going forward (not for this bug or emacs-25): If someone can review that this-command-keys-vector and this-single-command-keys are ACTUALLY the same, can then this-single-command-keys be marked obsolete and an alias to the other for the next release? If that seems like the next action, I can file a separate bug report for that. > -- -- Kaushal Modi --001a113d35b00d13ca0532b7ea93 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, May 11, 2016, 10:22= AM Stefan MonnierOnonn= ier@iro.umontreal.ca> wrote:
You mean, are this-command-keys-vector and this-single-command-keys
100% equivalent all the time?=C2=A0 I wish I was able to give you an answer= .
They appear to be

At this point i= t is a documentation bug. this-command-keys and this-single-command-keys ar= e equivalent. But the documentaion still says that this-single-command-keys= does not return prefix argument unlike this-command-keys. In fact, none of= them return the prefix arg.

So=C2=A0
(1) The docstring of this-single-command-keys needs to be fixe= d.
(2) NEWS also needs to mention that this-command-keys no = longer returns prefix arg.=C2=A0

Going forward (no= t for this bug or emacs-25): If someone can review that=C2=A0this-command-k= eys-vector and this-single-command-keys are ACTUALLY the same, can then thi= s-single-command-keys be marked obsolete and an alias to the other for the = next release? If that seems like the next action, I can file a separate bug= report for that.
--

--
Kaushal Modi

--001a113d35b00d13ca0532b7ea93--