all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "J.P." <jp@neverwas.me>
To: 63595@debbugs.gnu.org
Cc: emacs-erc@gnu.org
Subject: bug#63595: 30.0.50; ERC 5.6: Add buffer-list and nick-list modules
Date: Sun, 31 Mar 2024 22:58:37 -0700	[thread overview]
Message-ID: <87ttklpqsy.fsf__49112.1085522295$1711951174$gmane$org@neverwas.me> (raw)
In-Reply-To: <87h6glg8p4.fsf@neverwas.me> (J. P.'s message of "Sun, 31 Mar 2024 18:42:15 -0700")

"J.P." <jp@neverwas.me> writes:

> It's also been reported that the dframe timer can signal a
>
>   (wrong-type-argument window-live-p nil)
>
> which then gets trapped by the
>
>   (with-demoted-errors "DFRAME TIMER ERROR: %S"...)
>
> in `dframe-timer-fn'. Unfortunately, remediation is trickier here
> because we've got to inspect calls to `window-live-p' stemming from
> `speedbar-timer-fn', possibly via `erc-speedbar-insert-user'. (What we
> really need is a backtrace from the bug reporter.)

Actually, I think my initial "analysis" is flawed. Of the two obvious
paths to `window-live-p' from `speedbar-timer-fn', namely

  internal--after-save-selected-window
  save-selected-window
  speedbar-center-buffer-smartly
  erc-speedbar-expand-channel
  erc-speedbar-buttons
  speedbar-update-special-contents
  speedbar-timer-fn
  dframe-timer-fn
  timer-event-handler

and

  window-normalize-window
  unrecord-window-buffer
  replace-buffer-in-windows
  kill-buffer
  format-spec
  erc-nicks--gen-key-from-format-spec and let*
  erc-nicks--highlight save-current-buffer and let* let
  erc-speedbar--compose-nicks-face apply
  speedbar-make-tag-line
  erc-speedbar-insert-user
  erc-speedbar-expand-channel
  erc-speedbar-buttons
  speedbar-update-special-contents
  speedbar-timer-fn
  dframe-timer-fn
  timer-event-handler

neither seems capable of producing a `wrong-type-argument' error for
`window-live-p' (especially not directly, since that function appears to
accept any lisp object without protest).

Rather, I think the error may originate from some other function that
tests for `window-live-p' and signals a `wrong-type-argument' somehow,
possibly via something like CHECK_LIVE_WINDOW, which appears in a
handful of related definitions, such as `set-frame-selected-window'. In
any case, because this line of reasoning may also be nonsense, I think
we need a reliable repro recipe before proceeding further.






  parent reply	other threads:[~2024-04-01  5:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 19:25 bug#63595: 30.0.50; ERC 5.6: Add buffer-list and nick-list modules J.P.
2023-05-19 20:47 ` J.P.
2023-07-14  2:07 ` J.P.
2023-07-25 13:32 ` J.P.
     [not found] ` <87o7k0yv4b.fsf@neverwas.me>
2023-07-29  0:00   ` J.P.
2023-08-16 14:04 ` J.P.
     [not found] ` <87jztvdqxh.fsf@neverwas.me>
2023-08-20 17:23   ` Corwin Brust
     [not found]   ` <CAJf-WoRybO12qgFH7Hd1AZA4jKAeGTLuHdzcQisceLOrPwBd-w@mail.gmail.com>
2023-08-20 19:56     ` J.P.
     [not found]     ` <87350da3o1.fsf@neverwas.me>
2023-08-21 13:55       ` Corwin Brust
     [not found]       ` <CAJf-WoSXYGWpM0_x_KbAJ+8VbKzwy4UPvNAy2gTt3ZP2vxh5DA@mail.gmail.com>
2023-08-31 13:33         ` J.P.
2023-08-31 13:30 ` J.P.
2023-12-07  7:26 ` J.P.
2024-01-19  2:42 ` J.P.
     [not found] ` <875xzqqc0g.fsf@neverwas.me>
2024-01-25 21:41   ` J.P.
2024-04-01  1:42 ` J.P.
     [not found] ` <87h6glg8p4.fsf@neverwas.me>
2024-04-01  5:58   ` J.P. [this message]
2024-04-09 18:17   ` J.P.

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='87ttklpqsy.fsf__49112.1085522295$1711951174$gmane$org@neverwas.me' \
    --to=jp@neverwas.me \
    --cc=63595@debbugs.gnu.org \
    --cc=emacs-erc@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.