From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44108: Patch for this bug Date: Sat, 31 Oct 2020 09:54:16 +0200 Message-ID: <83mu0296fr.fsf@gnu.org> References: <20201020230219.k4lxuzhpsfl5euvm@E15-2016.optimum.net> <20201022074509.osc4xbrequyx5wpn@E15-2016.optimum.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44108@debbugs.gnu.org To: Boruch Baum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 08:55:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYljQ-0001Nr-T8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 08:55:24 +0100 Original-Received: from localhost ([::1]:53344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYljP-0006Ig-PN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 03:55:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYlj4-0006IS-IV for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYlj4-0001zg-58 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYlj4-0002rk-4N for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44108-submit@debbugs.gnu.org id=B44108.160413087810976 (code B ref 44108); Sat, 31 Oct 2020 07:55:02 +0000 Original-Received: (at 44108) by debbugs.gnu.org; 31 Oct 2020 07:54:38 +0000 Original-Received: from localhost ([127.0.0.1]:60475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlig-0002qy-In for submit@debbugs.gnu.org; Sat, 31 Oct 2020 03:54:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlif-0002ql-BN for 44108@debbugs.gnu.org; Sat, 31 Oct 2020 03:54:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35042) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYliZ-0001q3-QN; Sat, 31 Oct 2020 03:54:31 -0400 Original-Received: from [176.228.60.248] (port=1704 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYliZ-0000Tg-9W; Sat, 31 Oct 2020 03:54:31 -0400 In-Reply-To: <20201022074509.osc4xbrequyx5wpn@E15-2016.optimum.net> (message from Boruch Baum on Thu, 22 Oct 2020 03:45:09 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192245 Archived-At: > Date: Thu, 22 Oct 2020 03:45:09 -0400 > From: Boruch Baum > > 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?