From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jacob Faibussowitsch Newsgroups: gmane.emacs.bugs Subject: bug#50338: [Emacs 28.0.50 Trunk] Error running timer =?UTF-8?Q?=E2=80=98jit-lock-stealth-fontify=E2=80=99:?= wrong-type-argument timerp Date: Thu, 2 Sep 2021 10:00:11 -0500 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_8640816E-963B-403E-A0D5-E0C74B98F0BD" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11409"; mail-complaints-to="usenet@ciao.gmane.io" To: 50338@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 02 17:01:13 2021 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 1mLoDJ-0002mq-3u for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 17:01:13 +0200 Original-Received: from localhost ([::1]:33230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLoDH-0004eb-Re for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 11:01:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLoD8-0004dc-Qy for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 11:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLoD8-00052i-Jb for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 11:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLoD8-000569-IW for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 11:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jacob Faibussowitsch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Sep 2021 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50338 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163059482219518 (code B ref -1); Thu, 02 Sep 2021 15:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2021 15:00:22 +0000 Original-Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLoCT-00054k-Qc for submit@debbugs.gnu.org; Thu, 02 Sep 2021 11:00:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLoCR-00054c-DF for submit@debbugs.gnu.org; Thu, 02 Sep 2021 11:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLoCR-0004So-4C for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 11:00:19 -0400 Original-Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:35448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLoCM-0004Cq-NQ for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 11:00:18 -0400 Original-Received: by mail-io1-xd2f.google.com with SMTP id a15so2846485iot.2 for ; Thu, 02 Sep 2021 08:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:message-id:date:to; bh=/IGFj0IgwBFc6nlN7lzgdoNfpqq6rzgf5wgvDi2iQgM=; b=H2pee8gzX9zK1NZ7ITu40TqzlHhvK/C+vSH34TfGeW/rarg0CWc5aI+cZeM3L/QeJq 04zVn+bx7iwaiYD4/yyHzh6EQEXMDwYBWKDmi7ENN2EmDmvEsfDiwRcwOWrN/nxSXasP HGrJbYdRLoLf/dtjW4ucmMyl6saS9qzfqBWDF1Dj47tpkQxDVSQMO6KvhB1HFnOTrgcb TsTn7/KoYu+8gjOxYqHj9Jyftbj/249sNn/6D2FPNz/md5vFrp15nKPXQyIm8bkRS3sN r21N60+reRKeq5cUA49D5v6z7U50iROtT8BzpgaVMeuhJmdqxY6I3PK2JhT2h5aD46p6 iRJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=/IGFj0IgwBFc6nlN7lzgdoNfpqq6rzgf5wgvDi2iQgM=; b=L8g/nW/f643SeG0srafAJd91ta44JkJKj30TFpbsWuEjWfMxrNfhOZNbxzqvQ6UVM5 FZGuSWjKc99IpHZz8eIJzg9yd0yWgUn/E4uh+XF6x8YFloB3YjhSuz8d8poTmfndR5Ze 6TTG9eopXSTyW8h5piQbcOj5xZHbyWE8N11ElR15woRgJ+TszKWw7Q5RX/skoBEfP/U0 zEcOaAkjVbMzalfRSyPXUBNc3Q25D/AtV+JH49HTpPRxoTlBiY/7LqlX3qE6yX8Ga9nf KJLzm63mcSizajYWq8qo5h/ZizLxcQkBJclxhR9CiFXLdd1zrkPtB4L/QNRWhRhZg+He 7ttQ== X-Gm-Message-State: AOAM533f9emFmFRheDbVqaQkfraaTb5jkR6FK7QGd9lsPLq1uOztnx7l q90uQWO53O+geriqzCAsz+L8iPSHYiSGOw== X-Google-Smtp-Source: ABdhPJwanh6mSL8YIB305FFOAgAOh5pMkQiaE86eho77vq/aGwoQIp6Anx4JJMHyHqax+7wuS7JHtw== X-Received: by 2002:a05:6638:419a:: with SMTP id az26mr3175102jab.70.1630594812857; Thu, 02 Sep 2021 08:00:12 -0700 (PDT) Original-Received: from smtpclient.apple (node-17-233.flex.volo.net. [76.191.17.233]) by smtp.gmail.com with ESMTPSA id b10sm1070193ils.13.2021.09.02.08.00.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Sep 2021 08:00:12 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2f; envelope-from=jacob.fai@gmail.com; helo=mail-io1-xd2f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:213275 Archived-At: --Apple-Mail=_8640816E-963B-403E-A0D5-E0C74B98F0BD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, Full error message: Error running timer =E2=80=98jit-lock-stealth-fontify=E2=80=99: = (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=E2=80=99t 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=E2=80=99ve also gotten the following related errors (but don=E2=80=99t = 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 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=E2=80=99t able to figure out exactly what = about this PR caused the error). Best regards, Jacob Faibussowitsch (Jacob Fai - booss - oh - vitch) --Apple-Mail=_8640816E-963B-403E-A0D5-E0C74B98F0BD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello,

Full= error message:
Error running timer = =E2=80=98jit-lock-stealth-fontify=E2=80=99: (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=E2=80=99t 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=E2=80=99ve also gotten the following = related errors (but don=E2=80=99t 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=E2=80=99t = able to figure out exactly what about this PR caused the = error).

Best regards,

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

= --Apple-Mail=_8640816E-963B-403E-A0D5-E0C74B98F0BD--