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.devel Subject: Re: master ae9bfaa: Simplify condition in kbd Date: Sun, 17 Oct 2021 13:00:08 +0300 Message-ID: <83zgr8eztj.fsf@gnu.org> References: <20211016202528.4293.79873@vcs0.savannah.gnu.org> <20211016202529.E509E209AA@vcs0.savannah.gnu.org> <87k0icf809.fsf@linux-m68k.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 17 12:03:31 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 1mc30t-00031R-6x for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Oct 2021 12:03:31 +0200 Original-Received: from localhost ([::1]:35230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc30r-00060k-AE for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Oct 2021 06:03:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc2yF-0003TW-Kh for emacs-devel@gnu.org; Sun, 17 Oct 2021 06:00:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48928) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc2yD-0001bd-7V; Sun, 17 Oct 2021 06:00:46 -0400 Original-Received: from [87.69.77.57] (port=3664 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc2xZ-0005Ap-7i; Sun, 17 Oct 2021 06:00:37 -0400 In-Reply-To: <87k0icf809.fsf@linux-m68k.org> (message from Andreas Schwab on Sun, 17 Oct 2021 09:03:18 +0200) 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:277207 Archived-At: > From: Andreas Schwab > Date: Sun, 17 Oct 2021 09:03:18 +0200 > Cc: Stefan Kangas > > On Okt 16 2021, Stefan Kangas wrote: > > > branch: master > > commit ae9bfaa891c4f3cacb118aef6e35432d5fbeb88d > > Author: Stefan Kangas > > Commit: Stefan Kangas > > > > Simplify condition in kbd > > That's too much simplification. > > Loading /home/andreas/src/emacs/emacs/lisp/emacs-lisp/tabulated-list.el (source)... > Wrong type argument: number-or-marker-p, M-left > make[2]: *** [Makefile:858: bootstrap-emacs.pdmp] Error 255 > make[2]: Leaving directory '/home/andreas/src/emacs/test/src' > make[1]: *** [Makefile:450: src] Error 2 > make[1]: Leaving directory '/home/andreas/src/emacs/test' > make: *** [Makefile:1148: bootstrap] Error 2 Indeed. And the test suite in test/lisp/subr-tests.el now also fails. Basically, (kbd "M-") => error Here's the backtrace: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p M-left) #f(compiled-function (ch) #)(M-left) mapcar(#f(compiled-function (ch) #) (M-left)) kbd("M-") (progn (kbd "M-")) eval((progn (kbd "M-")) t) elisp--eval-last-sexp(t) eval-last-sexp(t) eval-print-last-sexp(nil) funcall-interactively(eval-print-last-sexp nil) call-interactively(eval-print-last-sexp nil nil) command-execute(eval-print-last-sexp)