bug#81575: 31.0.91; Regression in window-deletable-p when Emacs is started as a daemon

martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
 > I tried your patch, and it seems to work.

Thanks for checking.  Please consider marking the bug as done if you see
not further issues.

 > (And, I think it's even better/closer
 > to what I think the semantics of window-deletable-p are trying to express.)

It was a plain bug to call 'frame-list' without checking the frames'
terminals.  'next-frame' did that that automatically but had other
problems that caused bugs I cited earlier.

Your patch would have worked too but might have failed on ttys where the
initial frame is handled like every other frame on that terminal.  That
is, when you have two frames on the same terminal - the initial frame
and another one - 'frame-deletable-p' should be able to return non-nil
for the initial frame too.

martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.