From: Sujith <m.sujith@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 30182@debbugs.gnu.org
Subject: bug#30182: Update
Date: Sun, 21 Jan 2018 07:45:43 +0530 [thread overview]
Message-ID: <87mv182bzk.fsf@gmail.com> (raw)
In-Reply-To: <5A634E53.7010205@gmx.at>
martin rudalics <rudalics@gmx.at> writes:
> Is running w3m absolutely necessary for reproducing the crash? Do you
> have any idea whether w3m does strange things with the mode line?
I am not familiar with w3m internals, sorry.
But, without starting w3m, the crash doesn't happen.
I think w3m updates the mode-line based on the title of the
HTML page that is displayed.
> Anyway, if you evaluate the function below before moving the mouse to
> the mode line does the crash go away?
>
> martin
>
>
> (defun mode-line-default-help-echo (window)
> "Return default help echo text for WINDOW's mode-line."
> (condition-case nil
> (let* ((frame (window-frame window))
> (line-1a
> ;; Show text to select window only if the window is not
> ;; selected.
> (not (eq window (frame-selected-window frame))))
> (line-1b
> ;; Show text to drag modeline if and only if it can be done.
> (or (window-in-direction 'below window)
> (let ((mini-window (minibuffer-window frame)))
> (and (eq frame (window-frame mini-window))
> (or (minibuffer-window-active-p mini-window)
> (not resize-mini-windows))))))
> (line-2
> ;; Show text make window occupy the whole frame
> ;; only if it doesn't already do that.
> (not (eq window (frame-root-window frame))))
> (line-3
> ;; Show text to delete window only if that's possible.
> (not (eq window (frame-root-window frame)))))
> (if (or line-1a line-1b line-2 line-3)
> (concat
> (when (or line-1a line-1b)
> (concat
> "mouse-1: "
> (when line-1a "Select window")
> (when line-1b
> (if line-1a " (drag to resize)" "Drag to resize"))
> (when (or line-2 line-3) "\n")))
> (when line-2
> (concat
> "mouse-2: Make window occupy whole frame"
> (when line-3 "\n")))
> (when line-3
> "mouse-3: Remove window from frame"))
> ""))
> (error "")))
The crash still happens after evaluating this code.
next prev parent reply other threads:[~2018-01-21 2:15 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-20 6:26 bug#30182: 27.0.50; Crash when doing mouse-over on modeline Sujith
2018-01-20 6:28 ` bug#30182: Update Sujith
2018-01-20 10:35 ` martin rudalics
2018-01-20 10:45 ` Sujith
2018-01-20 14:12 ` martin rudalics
2018-01-20 15:27 ` Eli Zaretskii
2018-01-21 2:15 ` Sujith [this message]
2018-01-21 3:39 ` Eli Zaretskii
2018-01-21 3:55 ` Sujith
2018-01-21 16:15 ` Eli Zaretskii
2018-01-21 18:29 ` Sujith
2018-01-22 9:15 ` martin rudalics
2018-01-22 15:09 ` Sujith
2018-01-22 17:37 ` Eli Zaretskii
2018-01-22 18:59 ` martin rudalics
2018-01-22 20:40 ` Eli Zaretskii
2018-01-23 18:44 ` martin rudalics
2018-01-23 19:53 ` Eli Zaretskii
2018-01-24 8:39 ` martin rudalics
2018-01-23 2:49 ` Sujith
2018-01-23 16:18 ` Eli Zaretskii
2018-01-23 17:07 ` Sujith
2018-01-23 17:25 ` Eli Zaretskii
2018-01-23 18:10 ` Eli Zaretskii
2018-01-23 18:45 ` martin rudalics
2018-01-23 19:51 ` Eli Zaretskii
2018-01-24 8:38 ` martin rudalics
2018-01-24 19:10 ` Eli Zaretskii
2018-01-24 20:05 ` martin rudalics
2018-01-23 18:44 ` martin rudalics
2018-01-23 19:59 ` Eli Zaretskii
2018-01-24 8:39 ` martin rudalics
2018-01-24 19:13 ` Eli Zaretskii
2018-01-24 20:06 ` martin rudalics
2018-01-27 8:26 ` martin rudalics
2018-01-28 0:53 ` Sujith
2018-01-28 8:26 ` martin rudalics
2018-01-29 5:13 ` Sujith
2018-01-29 10:04 ` martin rudalics
2018-01-29 15:50 ` Eli Zaretskii
2018-01-30 8:30 ` martin rudalics
2018-01-30 13:32 ` Eli Zaretskii
2018-01-31 9:31 ` martin rudalics
2018-01-31 14:43 ` Eli Zaretskii
2018-02-01 2:29 ` Sujith
2018-02-01 9:26 ` martin rudalics
2018-02-01 17:44 ` Eli Zaretskii
2018-02-02 8:28 ` martin rudalics
2018-02-02 8:37 ` martin rudalics
2018-02-02 16:00 ` Eli Zaretskii
2018-02-03 9:03 ` martin rudalics
2018-02-03 10:29 ` Eli Zaretskii
2018-02-04 10:01 ` martin rudalics
2018-02-04 18:21 ` Eli Zaretskii
2018-02-06 9:28 ` martin rudalics
2018-02-10 9:47 ` martin rudalics
2018-02-02 14:14 ` Noam Postavsky
2018-02-02 16:11 ` Eli Zaretskii
2018-02-03 9:04 ` martin rudalics
2018-02-03 10:30 ` Eli Zaretskii
2018-02-04 10:01 ` martin rudalics
2018-02-04 18:01 ` Eli Zaretskii
2018-01-29 15:53 ` Eli Zaretskii
2018-01-30 8:30 ` martin rudalics
2018-01-30 13:34 ` Eli Zaretskii
2018-01-31 9:31 ` martin rudalics
2018-01-31 14:44 ` Eli Zaretskii
2018-01-21 18:37 ` Sujith
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=87mv182bzk.fsf@gmail.com \
--to=m.sujith@gmail.com \
--cc=30182@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).