all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: stefan@marxist.se, emacs-devel@gnu.org
Subject: Re: master ae9bfaa: Simplify condition in kbd
Date: Sun, 17 Oct 2021 13:00:08 +0300	[thread overview]
Message-ID: <83zgr8eztj.fsf@gnu.org> (raw)
In-Reply-To: <87k0icf809.fsf@linux-m68k.org> (message from Andreas Schwab on Sun, 17 Oct 2021 09:03:18 +0200)

> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Sun, 17 Oct 2021 09:03:18 +0200
> Cc: Stefan Kangas <stefan@marxist.se>
> 
> On Okt 16 2021, Stefan Kangas wrote:
> 
> > branch: master
> > commit ae9bfaa891c4f3cacb118aef6e35432d5fbeb88d
> > Author: Stefan Kangas <stefan@marxist.se>
> > Commit: Stefan Kangas <stefan@marxist.se>
> >
> >     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-<left>") => error

Here's the backtrace:

  Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p M-left)
    #f(compiled-function (ch) #<bytecode 0xcfc0ba503130cc2>)(M-left)
    mapcar(#f(compiled-function (ch) #<bytecode 0xcfc0ba503130cc2>) (M-left))
    kbd("M-<left>")
    (progn (kbd "M-<left>"))
    eval((progn (kbd "M-<left>")) 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)



  reply	other threads:[~2021-10-17 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211016202528.4293.79873@vcs0.savannah.gnu.org>
     [not found] ` <20211016202529.E509E209AA@vcs0.savannah.gnu.org>
2021-10-17  7:03   ` master ae9bfaa: Simplify condition in kbd Andreas Schwab
2021-10-17 10:00     ` Eli Zaretskii [this message]
2021-10-17 11:27       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zgr8eztj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.