unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44108: calc windows should be marked as dedicated
@ 2020-10-20 23:02 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
  0 siblings, 2 replies; 7+ messages in thread
From: Boruch Baum @ 2020-10-20 23:02 UTC (permalink / raw)
  To: 44108

Windows that display calc buffers (ie. the stack buffer and the trail
buffer) are typically small-sized single-use windows, yet they are not
marked as dedicated. The consequence is that functions that perform
`pop-to-buffer' or `display-buffer' can use one of them as targets,
which will always be undesirable. A simple example, the one that
prompted this bug report, is when I was in a calc buffer and issued calc
command "u v" to display a 'units description' buffer. This is a long
and wide buffer, yet was displayed in the short and narrow calc trail
window. I vaguely recall having this also happen in the past with help
buffers, but was only motivated now to submit the report.

The solution is that when the calc and calc trail buffers are created,
they should be marked (set-window-dedicated-p)

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7'286 0036 9E45 1595 8BC0





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-14 13:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-11-07  8:17     ` Eli Zaretskii
2020-11-07  8:59       ` martin rudalics
2020-11-14 13:04       ` Eli Zaretskii

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).