Subject: Re: bug#34614: 26.1.92; When reading input in mini-buffer, message to each area overide the input prompt

From: HaiJun Zhang <[email-masked]>
Date: Tue, 12 Nov 2019 00:49:22 +0000

在 2019年11月11日 +0800 AM5:23，Juri Linkov <[email-masked]>，写道：
tags 34614 + fixed
close 34614 27.0.50
thanks

Thanks. I think it will be better if emacs can record the last
buffer(Including minibuffer) selected manually by the user and provide
a function like selected-buffer to return this buffer.
And minibuffer-message can use this.

old-selected-window does exactly the same - it records the last window,
and getting its buffer is easy with just window-buffer.

Doesn’t set-buffer and with-current-buffer change the current buffer in the window? They are not selected manually by user.