Subject: Re: bug#44108: Patch for this bug

From: Eli Zaretskii <[email-masked]>
Date: Sat, 31 Oct 2020 09:54:16 +0200

> Date: Thu, 22 Oct 2020 03:45:09 -0400
> From: Boruch Baum <[email-masked]>
> 
> diff --git a/calc.el b/calc.el
> index 4bebd5f..90dcce6 100644
> --- a/calc.el
> +++ b/calc.el
> @@ -1472,6 +1472,7 @@ commands given here will actually operate on the *Calculator* stack."
>        (and (windowp full-display)
>             (window-point full-display)
>             (select-window full-display))
> +      (set-window-dedicated-p nil t)
>        (calc-check-defines)
>        (when (and calc-said-hello interactive)
>          (sit-for 2)
> @@ -2136,7 +2137,8 @@ the United States."
>                (if calc-trail-window-hook
>                    (run-hooks 'calc-trail-window-hook)
>                  (let ((w (split-window nil (/ (* (window-width) 2) 3) t)))
> -                  (set-window-buffer w calc-trail-buffer)))
> +                  (set-window-buffer w calc-trail-buffer)
> +                  (set-window-dedicated-p w t)))
>                (calc-wrapper
>                 (setq overlay-arrow-string calc-trail-overlay
>                       overlay-arrow-position calc-trail-pointer)

Thanks.

Would people who routinely use Calc please chime in and comment on
this?  Could this have some adverse consequences in some use cases?
Should we have a user option for controlling this behavior?