unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
To: kjonca@poczta.onet.pl (Kamil Jońca)
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs25 - w3m-idle-images-show annoyance
Date: Wed, 21 Dec 2016 21:35:46 +0100	[thread overview]
Message-ID: <87vaudrpel.fsf@zigzag.favinet> (raw)
In-Reply-To: <87twa5liii.fsf@alfa.kjonca> ("Kamil \=\?utf-8\?Q\?Jo\=C5\=84ca\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 15 Dec 2016 09:10:45 +0100")

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


() 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2016-12-21 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15  8:10 emacs25 - w3m-idle-images-show annoyance Kamil Jońca
2016-12-21 20:35 ` Thien-Thi Nguyen [this message]
2017-01-02 13:04 ` Kamil Jońca

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=87vaudrpel.fsf@zigzag.favinet \
    --to=ttn@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kjonca@poczta.onet.pl \
    /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.
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).