From: David Ponce <da_vid@orange.fr>
To: 65147@debbugs.gnu.org
Subject: bug#65147: 30.0.50; timer--activate: Invalid or uninitialized timer
Date: Tue, 8 Aug 2023 12:47:13 +0200 [thread overview]
Message-ID: <5d1b5a8d-764f-42a5-99ea-028ce6b56245@orange.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]
Hello,
On current master I constantly receive messages "timer--activate:
Invalid or uninitialized timer" as soon as a tooltip is requested to be
displayed, for example by just hovering tool-bar items with mouse.
After digging into the issue, I found that, in function
`tooltip-start-delayed-tip', call to `run-with-timer' is missing the
REPEAT argument.
The attached a patch that fixed the issue for me.
Thanks!
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-08-08
Repository revision: eeda9eff1aa1ad973851d6589c5bcf6020a090e8
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: Fedora Linux 38 (KDE Plasma)
Configured using:
'configure --prefix=/home/dponce --with-cairo --with-xwidget
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
Important settings:
value of $LC_TIME: fr_FR.utf8
value of $LANG: fr_FR.UTF-8
locale-coding-system: utf-8-unix
Major mode: Messages
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
buffer-read-only: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs ...)
Memory information:
((conses 16 39708 18141) (symbols 48 5207 0) (strings 32 13407 1256)
(string-bytes 1 376858) (vectors 16 9418)
(vector-slots 8 151276 16576) (floats 8 31 17) (intervals 56 174 67)
(buffers 992 11))
[-- Attachment #2: tooltip.el.patch --]
[-- Type: text/x-patch, Size: 543 bytes --]
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 0881a7c7bf9..6f8a489e60c 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -200,7 +200,7 @@ tooltip-cancel-delayed-tip
(defun tooltip-start-delayed-tip ()
"Add a one-shot timeout to call function `tooltip-timeout'."
(setq tooltip-timeout-id
- (run-with-timer (tooltip-delay) 'tooltip-timeout nil)))
+ (run-with-timer (tooltip-delay) nil 'tooltip-timeout nil)))
(defun tooltip-timeout (_object)
"Function called when timer with id `tooltip-timeout-id' fires."
next reply other threads:[~2023-08-08 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 10:47 David Ponce [this message]
2023-08-08 12:36 ` bug#65147: 30.0.50; timer--activate: Invalid or uninitialized timer Eli Zaretskii
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=5d1b5a8d-764f-42a5-99ea-028ce6b56245@orange.fr \
--to=da_vid@orange.fr \
--cc=65147@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 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.