From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kritixi Lithos Newsgroups: gmane.emacs.bugs Subject: bug#38775: (kbd "C-x ( ... C-x )") gulps "C-x (" and "C-x )" Date: Sat, 28 Dec 2019 21:36:34 +0200 Message-ID: References: <783E4006-081B-404D-A606-30862A0BA1CF@gmail.com> <87woagzc4u.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170392"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38775@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 28 22:56:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilK4C-000iAD-PJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 22:56:12 +0100 Original-Received: from localhost ([::1]:46620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilK4B-0007xY-4u for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 16:56:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36336) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilK43-0007xI-DQ for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 16:56:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilK42-0004WZ-BZ for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 16:56:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilK42-0004Uz-5W for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 16:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilK42-0003ib-4g for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kritixi Lithos Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2019 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38775 X-GNU-PR-Package: emacs Original-Received: via spool by 38775-submit@debbugs.gnu.org id=B38775.157757014014263 (code B ref 38775); Sat, 28 Dec 2019 21:56:02 +0000 Original-Received: (at 38775) by debbugs.gnu.org; 28 Dec 2019 21:55:40 +0000 Original-Received: from localhost ([127.0.0.1]:59038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilK3f-0003hz-QN for submit@debbugs.gnu.org; Sat, 28 Dec 2019 16:55:40 -0500 Original-Received: from mail-qk1-f171.google.com ([209.85.222.171]:34550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilHtA-0000PE-7I for 38775@debbugs.gnu.org; Sat, 28 Dec 2019 14:36:40 -0500 Original-Received: by mail-qk1-f171.google.com with SMTP id j9so24197078qkk.1 for <38775@debbugs.gnu.org>; Sat, 28 Dec 2019 11:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Dips8WKvWyruHWhW8iw+mdiHRqOO+rwmL/w8+ilAcrw=; b=aKnPEoja+dEL6ER5irGN6F2f/XA9ma9JXEmIO6Dn0/sgn9nlUKIGfydsW+ZWvGtp2m QBHTJlJLrJvdzXolohdAK1oYNGUmN7y3l99JYWrOMsQduEWQ+2e6wB0Bz1yniSul9yaP Dp566yUXTcZw6dKyuzulAScSTPrdzXjOl38uLeNLUzPFY1JpDoCCRNW1aNQcWEIN1Yb0 CZ6WswaVTY8K7+XebcBVDospx3VsjUFWH4irGckwMA5fI37f3dZTFkReG6T981zen1+Q 7DHgTBQGzOJGPAff0WAFOhzecSaLTlphwEP1pc99sCxC6VU5BiVWMFK54EYruVm+2npO SyCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Dips8WKvWyruHWhW8iw+mdiHRqOO+rwmL/w8+ilAcrw=; b=WbIP76wur8GhuI3G1Nv7+3LssWdVDANZal3G+ZqOShv2BY1oaiX4PiZeT6iFILVzyn rewrcUjroxv871nCtNVHKRWfxPH0gbTKkdHISlhnghC9wlIVJHs+r4PGXYXm9xQcvnjA djaZqeJGZZagih3Xd0XVrwozijxjAB3H2GCdB9tTUibOSnfiRrNhOArwqZ4ytvrSZpoJ diAwM28ulTf17bFP/BKXQN3kdnznpyS0J1PHV0zBpUSaiJhLIyY2DH8yAugs0Ye3MPaw CCzBeXXinsUDPA2kL4XdoJdaYwFkOmqklKO2XMVx3wbxU8hGYHvB9y+2oNzqCxaNooWn U8aQ== X-Gm-Message-State: APjAAAUrjRMJMGg0M6UV4AdhdJxoK8lvStYcnFKTTGw4yaj/tJOjNBzA i8gZUA5KyWeXe/pyKw1DgTYeOP1V4UiqtKmuCSoZ5A== X-Google-Smtp-Source: APXvYqzOw5yOpfGqRqQgnOygZinmNZuD86a20nRG9bfbpDzS3RSO2IwoCPNpkW9rNcnnV8min4kYBIcO2X+t03wZ7/Y= X-Received: by 2002:a05:620a:128d:: with SMTP id w13mr47970522qki.289.1577561794577; Sat, 28 Dec 2019 11:36:34 -0800 (PST) Original-Received: by 2002:aed:22b0:0:0:0:0:0 with HTTP; Sat, 28 Dec 2019 11:36:34 -0800 (PST) In-Reply-To: <87woagzc4u.fsf@igel.home> X-Mailman-Approved-At: Sat, 28 Dec 2019 16:55:38 -0500 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: 209.51.188.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:173868 Archived-At: > That's because kbd is just a wrapper around read-kbd-macro. Ah, intended behaviour then, read-kbd-macro's help file documents this so that resolves the issue. Thank you all for your swift replies. So how would you solve the original problem of calling emacs keystrokes with potential keyboard macros inside them? `command-execute` appears to use `execute-kbd-macro` according to the source, so trying `command-execute` on each keystroke does not work as intended with `C-x ( ... C-x )` among the commands.