GNU bug report logs - #30182
27.0.50; Crash when doing mouse-over on modeline

Previous Next

Package: emacs;

Reported by: Sujith <m.sujith <at> gmail.com>

Date: Sat, 20 Jan 2018 06:27:02 UTC

Severity: normal

Found in version 27.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #104 received at 30182 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: m.sujith <at> gmail.com, 30182 <at> debbugs.gnu.org
Subject: Re: bug#30182: Update
Date: Wed, 24 Jan 2018 21:05:48 +0100
>>   > So if using a string instead of a function the returns a string solves
>>   > the problem, then I guess we should try and understand why a function
>>   > causes the problem.
>>
>> Apparently because evaluating that function creates a timer.
>
> You mean, mode-line-default-help-echo creates a timer?  If it does, I
> don't see where it does that.

Sorry.  I meant `w3m-modeline-title' creates a timer when trying to
shorten the title.  In order to do that it has to run
`format-mode-line' first which calls `mode-line-default-help-echo'.

> What I don't understand is how is the above :eval form related to
> mode-line-default-help-echo.  They are both properties of parts of the
> mode line, but how is that relevant to the issue at hand?

Because if it's not done, the crash doesn't happen according to the
OP:

  If I change the default value of w3m-use-title-buffer-name and
  set it to non-nil, then the crash doesn't seem to happen.

martin




This bug report was last modified 7 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.