Subject: Re: bug#32536: displayed width of man pages

From: martin rudalics <[email-masked]>
Date: Tue, 04 Sep 2018 09:51:31 +0200

>> I can't follow you here.  Shouldn't we remove the hook _when_ a Man
 >> buffer is not displayed anymore.  That is, when
 >> 'Man-window-size-change' detects that no Man buffer is displayed
 >> anymore, remove it from 'window-size-change-functions' and re-add it
 >> as soon as a Man buffer gets displayed again.
 >
 > How to know the moment when a Man buffer gets displayed again?
 > Is there a corresponding hook for this event?

'window-configuration-change-hook' I presume.  Though this raises the
question how to remove anything from there when finishing browsing.

martin