From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Is there a way to convert a keyboard macro to a string? Date: Tue, 08 Aug 2017 06:56:11 +0200 Message-ID: <87poc6lkt0.fsf@jane> References: <87a83r4t43.fsf@jane> <878tjb3vue.fsf@jane> <87y3ra2ybn.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502168241 5802 195.159.176.226 (8 Aug 2017 04:57:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Aug 2017 04:57:21 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 08 06:57:07 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dewZm-0000mZ-Qc for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Aug 2017 06:57:06 +0200 Original-Received: from localhost ([::1]:40756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dewZs-0002xt-PL for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Aug 2017 00:57:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dewZK-0002x3-CP for help-gnu-emacs@gnu.org; Tue, 08 Aug 2017 00:56:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dewZF-0000e6-CQ for help-gnu-emacs@gnu.org; Tue, 08 Aug 2017 00:56:38 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:45945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dewZF-0000bK-53 for help-gnu-emacs@gnu.org; Tue, 08 Aug 2017 00:56:33 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 1958DE6B46; Tue, 8 Aug 2017 06:56:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TAow88j9FqiF; Tue, 8 Aug 2017 06:56:20 +0200 (CEST) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id EA73AE6213; Tue, 8 Aug 2017 06:56:19 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113955 Archived-At: On 2017-07-27, at 14:54, Stefan Monnier wrote: >> Well, I was too concise, sorry. I mean that if seq-into works, its >> result would be fed to insert, and if not, the result of key-description >> would be fed into execute-kbd-macro. This _should_ work, no? > > I don't think this will work, but then I don't know what you're trying > to do. Well, you were right and wrong at the same time. It didn't "just work", but after some modifications it did what I wanted it to do. Here's the thing described: http://mbork.pl/2017-08-07_demo-it_recording Thanks, -- Marcin Borkowski