[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-ot
From: |
Lars Ingebrigtsen |
Subject: |
bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang |
Date: |
Mon, 25 Apr 2022 09:56:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Derek Upham <derek_upham@mailfence.com> writes:
> * Starting Emacs in server mode allocates a headless terminal frame
> ("F1"). That hidden frame contains a window that displays *scratch*
> (because that's the default thing to display).
>
> * The reuseable-frames parameter directs Emacs to reuse that terminal
> frame. After all, the frame is showing the *scratch* buffer. It's a
> valid candidate according to the code.
>
> * Emacs can't actually display the headless terminal frame. It hangs.
>
> At it's broadest, the bug here is that the reuseable-frames logic
> doesn't understand that there are frames that you will never see in your
> display, and that the code should avoid them. The most conservative
> approach is to filter out any frame not handled by on your display.
> That has interesting implications for X11, where two X11 frames look the
> same to the user, whether or not they share the same client connection.
> ("Why is this not reusing my frame that's right there?")
Yes, I don't think Emacs can, in general, know whether a frame is
visible on the same actual display as another frame.
But in this case, I think it should be possible to avoid that initial
dummy frame, surely. I've added Martin to the CCs; perhaps he has some
comments here.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, Derek Upham, 2022/04/24
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang,
Lars Ingebrigtsen <=
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, Po Lu, 2022/04/25
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, martin rudalics, 2022/04/25
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, Lars Ingebrigtsen, 2022/04/25
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, martin rudalics, 2022/04/25
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, Derek Upham, 2022/04/26
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, martin rudalics, 2022/04/26
- bug#55103: 29.0.50; Server mode + reuseable-frames + switch-to-buffer-other-window + *scratch* => hang, Lars Ingebrigtsen, 2022/04/26