bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31312: Segmentation fault with doom-emacs, NeoTree and Zoom


From: Andrea Cardaci
Subject: bug#31312: Segmentation fault with doom-emacs, NeoTree and Zoom
Date: Wed, 2 May 2018 17:14:04 +0200

If what Martin suggested somehow doesn't fit the bill

It doesn't, because it deals with advising `select-window` while the main issue here is that I resize windows in the `window-size-change-functions` hook (albeit using a guard to avoid infinite recursion) and I can't come up any workarounds for that.

On 2 May 2018 at 17:06, Eli Zaretskii <address@hidden> wrote:
> From: Andrea Cardaci <address@hidden>
> Date: Wed, 2 May 2018 15:27:12 +0200
> Cc: address@hidden, Noam Postavsky <address@hidden>,
>       martin rudalics <address@hidden>, address@hidden
>
> Any advice on this part? I needed to force the size of windows and hooking `select-window` (via `advice-add`)
> is apparently not enough to catch all the cases.
>
> Is there a better way to achieve what I want?

If what Martin suggested somehow doesn't fit the bill, and no other
ideas are brought up, then I prefer to discuss new features or
infrastructure to satisfy similar needs, rather than force
applications to use such fragile techniques.  E.g., we could provide
some customizable controls in the code that resizes windows when
needed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]