From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?H=C3=A9ctor?= Lahoz Newsgroups: gmane.emacs.help Subject: Re: Is there a way to convert a keyboard macro to a string? Date: Wed, 26 Jul 2017 09:20:07 +0200 Message-ID: <20170726072007.GA2016@ordenador31> References: <87a83r4t43.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1501053653 7776 195.159.176.226 (26 Jul 2017 07:20:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2017 07:20:53 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 26 09:20:49 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 1daGcj-0001o1-37 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2017 09:20:49 +0200 Original-Received: from localhost ([::1]:36477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daGco-0006Aj-Of for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2017 03:20:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daGcH-0006AR-JW for help-gnu-emacs@gnu.org; Wed, 26 Jul 2017 03:20:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daGcC-0001DS-L0 for help-gnu-emacs@gnu.org; Wed, 26 Jul 2017 03:20:21 -0400 Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:34556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daGcC-00019W-EN for help-gnu-emacs@gnu.org; Wed, 26 Jul 2017 03:20:16 -0400 Original-Received: by mail-wm0-x242.google.com with SMTP id c184so6257577wmd.1 for ; Wed, 26 Jul 2017 00:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8CtlDcISIvZ+knJOUarZeOF9fmPUv6ChrB9m9ZZ48v4=; b=B3mAuaX2A4tdwhP//BqCb/v3vNjKUHcJO4FNzyzccGbpbM5CLG2z4CMJRlMMiIFUkq JjpTY2wJw0dgglRlKGXMw3Lsl0JFn7f7Cs3GxTW18/Y2mVaLRQMi9UjVrJ5WMdLHiMfg h/Sw/pGkuZDHhmye8VWzQt4rpFDZAidoLmWApcbwqkDpb+nhG9jTyCoS0HzFKNed+IZg HZ+hEyXOWwSkIAzHti2r2SJrJ4yqpXsYh4CGaq+UEokFUyMY5QaSzTm89swXimF/P6AX Kgti8INwSxhbb+lZJRbxPFg9MEfPIiWsSHa9yYskqfWVCQn2Btn4NmYQi3R0dbwvZKTe TJ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=8CtlDcISIvZ+knJOUarZeOF9fmPUv6ChrB9m9ZZ48v4=; b=QwIR+8hScL7pUZPzqoPafRd0gKLw+Kz0Yjo7JVkuilZEoDi/iuBCDf8avXXRYMSo0T aXojgdDvhcFL3CrZx1iEbZst/d0viL8HGya54BmKtBkgRQ4Cpra07cpVU+26jD2acszx VbJMJ+9OTwhWItzJB490ZAprSwADUyQxkPBe9+MnTVceHwHBe3DjZG0UDiSBFSxpWxa+ mtaVDeesNUiAr5MLTYu9ir3Me218MTXYuslrgtP6uFRtXU8zCgKTYYelMxL+bGXOMpn4 7CdhJJ+xmyaprLIp3J3uJWldZhGr8V406PKctAzaaczT0+DaMb7MoXoUreXDZDqV+Lj5 fmzA== X-Gm-Message-State: AIVw113ugPJQP7dbjQg7T3KhsJDNEoyskUEbn7IodTRrcaqkKuRgwK4v yQA+ifYmbDdBOVDs X-Received: by 10.28.0.84 with SMTP id 81mr33591wma.58.1501053613584; Wed, 26 Jul 2017 00:20:13 -0700 (PDT) Original-Received: from ordenador31 ([159.147.104.72]) by smtp.gmail.com with ESMTPSA id c34sm26103794wra.80.2017.07.26.00.20.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 00:20:12 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87a83r4t43.fsf@jane> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 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:113871 Archived-At: Marcin Borkowski wrote: > Hi all, > > execute-kbd-macro accepts a string as MACRO. However, if I record > a macro using F3 ... F4 and look at last-kbd-macro, it is a vector and > not a string. How do I convert it to a string representing the same key > sequence? This might be helpful. Section of the manual: info elisp "Strings of events"