From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67182: 29.1; read-kbd-macro always return a vector Date: Wed, 15 Nov 2023 14:14:10 +0200 Message-ID: <83fs17rz71.fsf@gnu.org> References: <20231115020535.7dd8b316@jcubic> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67182@debbugs.gnu.org To: "Jakub T. Jankiewicz" , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 15 17:29:43 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1r3Ilr-0007PZ-9K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Nov 2023 17:29:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3IlJ-0002Ue-2U; Wed, 15 Nov 2023 11:29:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3IlH-0002UM-T6 for bug-gnu-emacs@gnu.org; Wed, 15 Nov 2023 11:29:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3IlH-0006Dl-KN for bug-gnu-emacs@gnu.org; Wed, 15 Nov 2023 11:29:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3IlG-0002Bd-Mr for bug-gnu-emacs@gnu.org; Wed, 15 Nov 2023 11:29:06 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Nov 2023 16:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67182 X-GNU-PR-Package: emacs Original-Received: via spool by 67182-submit@debbugs.gnu.org id=B67182.17000656898206 (code B ref 67182); Wed, 15 Nov 2023 16:29:06 +0000 Original-Received: (at 67182) by debbugs.gnu.org; 15 Nov 2023 16:28:09 +0000 Original-Received: from localhost ([127.0.0.1]:53124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3IkK-00028C-TB for submit@debbugs.gnu.org; Wed, 15 Nov 2023 11:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3IQi-0001QS-Tr for 67182@debbugs.gnu.org; Wed, 15 Nov 2023 11:07:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Emj-00053y-HK; Wed, 15 Nov 2023 07:14:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=idKpNHaWbvpV/HcX6xcAyDwllgLIVCPDe9QkFJaCl5c=; b=UIVwfhEbOl13 0Xbd5VQtRPPzhPaG4x+zg3R4qVxL3YYyTkeu6xkwiXjbLAepbLUP5InmT9JenIl3d4FqGq2ONcSNa /V8T1hGGvzXHaLyIPKUXCpOC9hg3mo/VWyXlAMWux7lsfuAlYL2IkibPApAh6zVeI8FocbFSf8UHG guvW2KBAsfXxZAWjHXxSu7Qikpg3mrZg1p5+Of1Yov1pMXJNs/qza9pN9H3ncpr9NweiOXLrgpalx A07+wFCpMRtqHsTf5anM96YMJVfCXZwDmXuor6dofRbVmGV6iz0L5jSr7xFeDb2oY5ZvI9S8kYDeM kAiIW+De5sTvITUKDdP4/w==; In-Reply-To: <20231115020535.7dd8b316@jcubic> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274377 Archived-At: > Date: Wed, 15 Nov 2023 02:05:35 +0100 > From: "Jakub T. Jankiewicz" > > This is the code I was always using in Emacs to send raw keys > to modes like ansi-term: > > (defun raw (str) > (interactive "sSend Raw Key: ") > (term-send-raw-string (read-kbd-macro str))) > > But this doesn't work anymore it throw an error [3] when calling: > > (raw "C-c") > > According to documentation `C-h f read-kbd-macro` > "The result will be a string if possible" but it seems that in new > GNU Emacs it's always a vector. Thanks. Stefan, this is due to your change in edmacro-parse-keys as part of commit 87789330, whose log message says nothing about edmacro-parse-keys. Did you really intend to make that backward-incompatible change? If so, why?