help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs25 - w3m-idle-images-show annoyance


From: Thien-Thi Nguyen
Subject: Re: emacs25 - w3m-idle-images-show annoyance
Date: Wed, 21 Dec 2016 21:35:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() kjonca@poczta.onet.pl (Kamil Jońca)
() Thu, 15 Dec 2016 09:10:45 +0100

   And after some time I got:

   Debugger entered--Lisp error: (wrong-type-argument timerp nil)
     signal(wrong-type-argument (timerp nil))
     cancel-timer(nil)
     w3m-idle-images-show()
     apply(w3m-idle-images-show nil)
     timer-event-handler([t 0 1 0 t w3m-idle-images-show nil idle 0])

   since then this message appears every 5-10 sec or so, which
   is really annoying.  What can I do with that?

In my copy of w3m.el (‘emacs-w3m-version’ => "1.4.483"), there
are three instances of:

 (cancel-timer w3m-idle-images-show-timer)

What you can do is replace those w/:

 (w3m-cancel-timer w3m-idle-images-show-timer)

and add somewhere to w3m.el the definition:

 (defun w3m-cancel-timer (timer)
   "If TIMER is non-nil, pass it to `cancel-timer'."
   (when timer
     (cancel-timer timer)))

If this works after some personal testing, you can then submit
a patch to the w3m.el maintainers (possibly as part of a bug
report that describes the motivation for the patch), and
continue the conversation there.

So, that's what you can do.  Question is: What will you do?

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (type via)
   (case type
     (technical (eq 'mailing-list via))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]