GNU bug report logs - #64784
30.0.50; Eglot: Lisp error: (wrong-type-argument number-or-marker-p return) in eglot--post-self-insert-hook

Previous Next

Package: emacs;

Reported by: Tassilo Horn <thorn <at> fastmail.fm>

Date: Sat, 22 Jul 2023 05:11:02 UTC

Severity: normal

Found in version 30.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: João Távora <joaotavora <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Tassilo Horn <thorn <at> fastmail.fm>, 64784 <at> debbugs.gnu.org
Subject: bug#64784: 30.0.50; Eglot: Lisp error: (wrong-type-argument number-or-marker-p return) in eglot--post-self-insert-hook
Date: Sat, 22 Jul 2023 10:05:17 -0400
>> Stefan, am I right?  Can last-command-event, when accessed from
>> post-self-insert-hook, ever be something other than a character?

In theory it's possible, but in practice, `last-command-event` is what
`self-insert-command` uses as "the char to insert", so it's definitely
more correct than `last-input-event`.


        Stefan





This bug report was last modified 1 year and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.