From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: kbd macro fails evaluation Date: Wed, 19 May 2021 15:02:50 +0100 Message-ID: <87pmxmzur9.fsf@yandex.com> References: <87pmxn193h.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8994"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 19 16:04:09 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljMnw-00028O-O3 for ged-emacs-devel@m.gmane-mx.org; Wed, 19 May 2021 16:04:08 +0200 Original-Received: from localhost ([::1]:57168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljMnv-0004bt-QL for ged-emacs-devel@m.gmane-mx.org; Wed, 19 May 2021 10:04:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljMmo-00033V-5o for emacs-devel@gnu.org; Wed, 19 May 2021 10:02:58 -0400 Original-Received: from forward105j.mail.yandex.net ([2a02:6b8:0:801:2::108]:48532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljMmm-0000Ci-4A for emacs-devel@gnu.org; Wed, 19 May 2021 10:02:57 -0400 Original-Received: from myt6-93965afc2133.qloud-c.yandex.net (myt6-93965afc2133.qloud-c.yandex.net [IPv6:2a02:6b8:c12:5525:0:640:9396:5afc]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 738DBB22619; Wed, 19 May 2021 17:02:53 +0300 (MSK) Original-Received: from myt6-efff10c3476a.qloud-c.yandex.net (myt6-efff10c3476a.qloud-c.yandex.net [2a02:6b8:c12:13a3:0:640:efff:10c3]) by myt6-93965afc2133.qloud-c.yandex.net (mxback/Yandex) with ESMTP id EH7022OcAf-2rJKrRG8; Wed, 19 May 2021 17:02:53 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1621432973; bh=UzEE3D9zIBXpWi5TAkYCLt7k7Lgtj3ryxZplmQf54WQ=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=We5mezvRaZFcv/ln3BNghq2BK6WsPxn7LLRxZ8fEqBe+8bSjy24lxjp1sSjTiIB5m CWg51eSJ4eKbgJpGK1XKIo9yL+1UnMGiSSpfSMS7RcK9ARTjRRPlfHfIzEWD2wMFlf v8Wt/O91aQJQPEB4a6pZOIDOLHFbQ3o01LwW9qyw= Authentication-Results: myt6-93965afc2133.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by myt6-efff10c3476a.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id TKNF3vnq5e-2qMeTstk; Wed, 19 May 2021 17:02:52 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: (Stefan Monnier's message of "Wed, 19 May 2021 09:15:15 -0400") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEX+zAACCWMDCV// //+gVfjHAAAAAWJLR0QDEQxM8gAAAAlwSFlzAAAK8AAACvABQqw0mAAAAAd0SU1FB+UFEAozLa6H RO0AAAAxSURBVBjTY2BgSA1hYA0FgylAhgMDCGATC4WLhVAght88Yu1NpYpbSBfDb28Kae4DAFmN Rd86mlkDAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTE2VDEwOjUxOjQ1KzAxOjAwnF1NHQAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0xNlQxMDo1MTo0NSswMTowMO0A9aEAAAAASUVORK5C YII= Received-SPF: pass client-ip=2a02:6b8:0:801:2::108; envelope-from=m43cap@yandex.com; helo=forward105j.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269481 Archived-At: >>>>> Stefan Monnier writes: > Colin Baxter [2021-05-19 08:22:26] wrote: >> With emacs-28 >> >> 1. emacs -Q 2. 3. C-x 8 FULLWIDTH FULL STOP >> 4. 5. C-x C-k n 6. myfullstop >> 7. Change to scratch buffer if necessary. 8. M-x >> insert-kbd-macro 9. myfullstop >> >> This gives: >> >> #+begin_src elisp (fset 'myfullstop (kmacro-lambda-form [?\C-x ?8 >> return ?F ?U ?L ?L ?W ?I ?D ?T ?H ? ?F ?U ?L ?L ? ?S ?T ?O ?P >> return] 0 "%d")) #+end_src >> >> An eval (C-j with point at end) of the above expression gives the >> error: > Oh, sorry I didn't see that those `0 "%d"` arg could occur so I > mistakenly removed them. Could you `M-x report-emacs-bug` so I > have a bug number to point to in the commit? Done.