From: Boruch Baum <boruch_baum@gmx.com>
To: 44108@debbugs.gnu.org
Subject: bug#44108: Patch for this bug
Date: Thu, 22 Oct 2020 03:45:09 -0400 [thread overview]
Message-ID: <20201022074509.osc4xbrequyx5wpn@E15-2016.optimum.net> (raw)
In-Reply-To: <20201020230219.k4lxuzhpsfl5euvm@E15-2016.optimum.net>
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
Attached.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[-- Attachment #2: calc-dedicated-windows.patch --]
[-- Type: text/x-diff, Size: 973 bytes --]
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)
next prev parent reply other threads:[~2020-10-22 7:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-20 23:02 bug#44108: calc windows should be marked as dedicated Boruch Baum
2020-10-20 23:09 ` bug#44108: Needs to be performed whenever windows are created Boruch Baum
2020-10-22 7:45 ` Boruch Baum [this message]
2020-10-31 7:54 ` bug#44108: Patch for this bug Eli Zaretskii
2020-11-07 8:17 ` Eli Zaretskii
2020-11-07 8:59 ` martin rudalics
2020-11-14 13:04 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201022074509.osc4xbrequyx5wpn@E15-2016.optimum.net \
--to=boruch_baum@gmx.com \
--cc=44108@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).