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

From: martin rudalics <[email-masked]>
Date: Tue, 12 Nov 2019 09:10:59 +0100

> Thanks. I think it will be better if emacs can record the last
 > buffer(Including minibuffer) selected manually by the user

That will be next to impossible.

 > 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?

No.  Only set_window_buffer does that.

 > They are not selected manually by user.

How would you know?

martin