[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does set-window-dedicated-p cause raising frames?
From: |
emacser |
Subject: |
Re: Does set-window-dedicated-p cause raising frames? |
Date: |
Mon, 11 Jan 2021 06:57:45 +0000 |
The small test code below shows the problem.
If I have a separate info frame which is
(set-frame-parameter nil 'unsplittable t)
(set-window-dedicated-p nil t)
and I switch to this info frame, eval the below code (M-:) and switch to an
other app
then my main emacs frame is raised automatically when the timer runs.
Is this a bug?
(run-with-timer
3 nil
(lambda ()
(with-current-buffer "*test*"
(erase-buffer))
(set-process-sentinel
(start-process-shell-command
"test" "*test*" "dir d:")
(lambda (process event)
(switch-to-buffer "*test*")
(goto-char (point-min))
))))