Subject: 26.1.90; Strange behavior of two line message with running shell

From: martin rudalics <[email-masked]>
Date: Mon, 04 Feb 2019 19:52:07 +0100

The following behavior might be considered a minor bug.  It is,
however, disconcerting because I have not been able to reveal its
cause.

With emacs -Q evaluate

(message "2\n3")

This gets me a two line message

"1
2"

in the minibuffer.  Now do M-x: shell and re-evaluate the form above.
This gets me a one line message

"1\n2"

Is this on purpose?  Emacs 26 is currently the only version here to
exhibit such behavior.

martin