From: Eli Zaretskii <eliz@gnu.org>
To: Boruch Baum <boruch_baum@gmx.com>
Cc: 44108@debbugs.gnu.org
Subject: bug#44108: Patch for this bug
Date: Sat, 31 Oct 2020 09:54:16 +0200 [thread overview]
Message-ID: <83mu0296fr.fsf@gnu.org> (raw)
In-Reply-To: <20201022074509.osc4xbrequyx5wpn@E15-2016.optimum.net> (message from Boruch Baum on Thu, 22 Oct 2020 03:45:09 -0400)
> Date: Thu, 22 Oct 2020 03:45:09 -0400
> From: Boruch Baum <boruch_baum@gmx.com>
>
> 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?
next prev parent reply other threads:[~2020-10-31 7:54 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 ` bug#44108: Patch for this bug Boruch Baum
2020-10-31 7:54 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mu0296fr.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=44108@debbugs.gnu.org \
--cc=boruch_baum@gmx.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.