unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jacob Faibussowitsch <jacob.fai@gmail.com>
To: 50338@debbugs.gnu.org
Subject: bug#50338: [Emacs 28.0.50 Trunk] Error running timer ‘jit-lock-stealth-fontify’: wrong-type-argument timerp
Date: Thu, 2 Sep 2021 10:00:11 -0500	[thread overview]
Message-ID: <E9AB2044-7A11-4CCD-94E7-B5FE415C9222@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

Hello,

Full error message:
Error running timer ‘jit-lock-stealth-fontify’: (wrong-type-argument timerp [t nil nil nil nil nil nil nil nil])

To reproduce:
1. Build latest trunk
2. Paste the following into some file, lets call it custom-test.el (I couldn’t figure out a better way to do this)
(custom-set-variables
 '(jit-lock-stealth-time 1))
3. Then load this file and open another file which would trigger fortification:
$ emacs -q --load ./custom-test.el ./lorem.py
4. Check *Messages*, the error should come up every second now

I’ve also gotten the following related errors (but don’t know how to precisely trigger them):
- File mode specification error: (wrong-type-argument timerp [t nil nil nil nil nil nil nil nil])
- custom-initialize-reset: Wrong type argument: timerp, [t nil nil nil nil nil nil nil nil]

Reverting to right before commit 50765f3f511d467ff024dda7c84530c759253d18:
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date:   Tue Aug 31 03:04:22 2021 +0200

    Make run-at-time try harder to run at integral multiples

    * lisp/emacs-lisp/timer.el (timer): Add new slot integral-multiple.
    (timerp): Adjust.
    (timer-event-handler): Recompute the delay if requested
    (bug#39099).
    (run-at-time): Mark the timer as recomputable if given a t
    parameter.

    * src/keyboard.c (decode_timer): Adjust.

Seemed to fix it (but I wasn’t able to figure out exactly what about this PR caused the error).

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)


[-- Attachment #2: Type: text/html, Size: 3334 bytes --]

             reply	other threads:[~2021-09-02 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02 15:00 Jacob Faibussowitsch [this message]
2021-09-02 16:01 ` bug#50338: [Emacs 28.0.50 Trunk] Error running timer ‘jit-lock-stealth-fontify’: wrong-type-argument timerp Lars Ingebrigtsen
2021-09-02 16:17   ` Jacob Faibussowitsch
2021-09-02 16:26     ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E9AB2044-7A11-4CCD-94E7-B5FE415C9222@gmail.com \
    --to=jacob.fai@gmail.com \
    --cc=50338@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).