From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#22107: 25.1; Wrong docstring for this-single-command-keys Date: Sun, 13 Dec 2015 20:53:39 +0000 Message-ID: References: <838u54dgg2.fsf@gnu.org> <83mvtkb882.fsf@gnu.org> <83io47blbq.fsf@gnu.org> <83egeu9lze.fsf@gnu.org> <83eget8gos.fsf@gnu.org> <83poyd6m1b.fsf@gnu.org> <837fkk6qyq.fsf@gnu.org> <83vb8367jj.fsf@gnu.org> <83d1ua5ph9.fsf@gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fc260537b960526cdc098 X-Trace: ger.gmane.org 1450040059 23655 80.91.229.3 (13 Dec 2015 20:54:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 20:54:19 +0000 (UTC) Cc: John Wiegley , 22107@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 13 21:54:10 2015 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 1a8Dej-00073R-OS for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 21:54:10 +0100 Original-Received: from localhost ([::1]:56576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Dej-0007L3-21 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 15:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Def-0007Kr-EB for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Dec-0004xC-8Z for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:54:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Dec-0004x8-5x for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8Dec-0007Ve-0L for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2015 20:54:01 +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.145004002728844 (code B ref 22107); Sun, 13 Dec 2015 20:54:01 +0000 Original-Received: (at 22107) by debbugs.gnu.org; 13 Dec 2015 20:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:50617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8DeN-0007VA-E8 for submit@debbugs.gnu.org; Sun, 13 Dec 2015 15:53:47 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:34067) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8DeM-0007Uy-6u for 22107@debbugs.gnu.org; Sun, 13 Dec 2015 15:53:46 -0500 Original-Received: by lfcy184 with SMTP id y184so34969638lfc.1 for <22107@debbugs.gnu.org>; Sun, 13 Dec 2015 12:53:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=K4Onb8u1S6uXJelacV9Sk9/VFyUs6Fl19wf0B+7ACg8=; b=SZbVrquAwcLEHQowajcZQXiO4QCAJcK5agmzfN6wtwG0iUusHr6p7PSv/i5s5F5HK5 SUGcZTTFbDSWxoY4C3wRK69eegV0kptJV6S/4Xt36AlTNvt0i9ona+K7eaK5EdXQ5O1P 0a46jQEUhv4Kfss9weE62E7LGRO1thL4Ii+2OFOCH9VD4I/iKhyB4j8Jc2+uz9YFuiPv uzIgjNJaHY9UXglOYiKQ089feGoZf+MyTBJObsYzPvPUODtOMk3Bv0VPqEV5m1fVyrsC 9YngRazB0pm51scMb4jYniqct/IGmLX5LlmArMwQnpFmBgq2m+0TsXHemVVqS+rEOJSe lm/A== X-Received: by 10.25.137.7 with SMTP id l7mr9489505lfd.63.1450040020398; Sun, 13 Dec 2015 12:53:40 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sun, 13 Dec 2015 12:53:39 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sun, 13 Dec 2015 12:53:39 -0800 (PST) In-Reply-To: <83d1ua5ph9.fsf@gnu.org> X-Google-Sender-Auth: Xa9eW7jZf_LbJnvOShw-9j4y968 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109959 Archived-At: --001a113fc260537b960526cdc098 Content-Type: text/plain; charset=UTF-8 On 13 Dec 2015 3:37 pm, "Eli Zaretskii" wrote: > > Do you have a suggestion for how to fix this-command-keys? AFAIU, the > last part of this discussion was trying to find a way of doing that. Define a variable (current-prefix-arg-keys, maybe) that gets set and cleared in the same way as current-prefix-arg. This variable holds the keys that were used to invoke the prefix args. Then this-command-keys simply needs to check that variable and prepend it to the return value. --001a113fc260537b960526cdc098 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 13 Dec 2015 3:37 pm, "Eli Zaretskii" <eliz@gnu.org> wrote:
>
> Do you have a suggestion for how to fix this-command-keys?=C2=A0 AFAIU= , the
> last part of this discussion was trying to find a way of doing that.

Define a variable (current-prefix-arg-keys, maybe) that gets= set and cleared in the same way as current-prefix-arg. This variable holds= the keys that were used to invoke the prefix args.

Then this-command-keys simply needs to check that variable a= nd prepend it to the return value.

--001a113fc260537b960526cdc098--