From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#34318: 26.1.90; Strange behavior of two line message with running shell Date: Tue, 05 Feb 2019 09:36:08 +0100 Message-ID: <5C594AF8.2040107@gmx.at> References: <5C5889D7.5020102@gmx.at> <874l9j9oyq.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232658"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34318@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 05 09:43:59 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqwKl-000yNj-AN for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 09:43:59 +0100 Original-Received: from localhost ([127.0.0.1]:56493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqwKk-0001W6-93 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 03:43:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqwE6-0004tm-6z for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 03:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqwE5-0005hL-CC for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 03:37:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqwE3-0005gQ-4S for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 03:37:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqwE2-0002L3-JY for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 03:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Feb 2019 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34318 X-GNU-PR-Package: emacs Original-Received: via spool by 34318-submit@debbugs.gnu.org id=B34318.15493557838927 (code B ref 34318); Tue, 05 Feb 2019 08:37:02 +0000 Original-Received: (at 34318) by debbugs.gnu.org; 5 Feb 2019 08:36:23 +0000 Original-Received: from localhost ([127.0.0.1]:60007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqwDP-0002Jv-LD for submit@debbugs.gnu.org; Tue, 05 Feb 2019 03:36:23 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:37357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqwDN-0002Jj-SJ for 34318@debbugs.gnu.org; Tue, 05 Feb 2019 03:36:22 -0500 Original-Received: from [192.168.1.101] ([212.95.5.206]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lcj9b-1haU5x18tz-00kA8S; Tue, 05 Feb 2019 09:36:14 +0100 In-Reply-To: <874l9j9oyq.fsf@igel.home> X-Provags-ID: V03:K1:Z/OSGKez3qdjwZzrIFKwqwQak59/2EtJN5lpqp43TiY3L6VDUNE QVWnRjbGBXMqqm2eCwDiAbvSsox2msGvMWtilIbI81hAmlZyOaHCcEkgnAqqCLv/j/qLABR pUAN7JSxYJa2oMe+bTI1BPSs7rtTtd4u0mnFLjP0oPUBW1yX+ZfMM5EJ/gABaOnIPDPuJZq lWj0g9xBYfa4Sk+d+/75A== X-UI-Out-Filterresults: notjunk:1;V03:K0:ubQC9Iya85A=:T+YoB34Fw+H9dBsRVZB7RM f0kG4f7POQuGkqOlLimjtThubc+FhdBVp+zIx26EH74R7OdvXypD/V/9AIfuj4YEjR7Hl5kX8 r9Pw5OLn3NUG8p/ySduodp3ZY/rY95orZb3ZUf0l+oAODqTTFSA/EN39fpOns009qH/3wkeYw f0g3eRi+xG+zTgAsjIxlkvo2Ri5J2kiLb0hrtDIlp/hAkyOu52Eaw+qb8KyGi/CVIAa6h8MmO 0uTTdeZiokVl4RCdJi0k8qoG3Y47J55i1DK/OHzeJgGY+/dc/r562jmcrPwrIF7VJzo3isu9e +9x0nLnyJGNJh0SSbjfLcbQnuGQJdHIjHxjLG1FE0vWDrsL4LDDu86IMmA6HqNE7ARe9FZjGk JLC1eH4gNtZoHFxtvffTi0j5WWwU+9aSHUs56mpc9G9VG/VoZZg6jrrRcUKUXiSmOs4TluT4d +FW7u2pKa8QyVtYYzDTDdHJsdBvQVZlIKO7LcavsOyaps3xvwHTKPVEAqCn09qMSDPRNcJEH2 PkbhDm43R1jSaq36CSDOYOYv8R+i80pwp6XJXth9s1EA8L5gQ2zw/j4Z7Gj3G/ZMDqbBCAw73 A4npWTHRodmK9lnjzCIbM91LTSdg/7vzJ7CtJLYWGn+YiKJL6qAFU8N5fB0SMXrjAe3BHuFhv 0SusfJJfBSjCfmkvAZMH6uuD/WzXSN5LTpO6XVNkaOQPESVgN/2M8P+9OWMFusfpwfGEJN2iz P+fHVQtoUzxmpAd2NXxsRrt3dtCM0AemVRjii543B5yQ1NMDHt7bpoFJJ8SE1GRN/Z5KvLuv X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155108 Archived-At: >> With emacs -Q evaluate >> >> (message "2\n3") > > How do you evaluate it? With M-:? With C-x C-e? With C-M-x? Any of them. No difference. >> This gets me a two line message >> >> "1 >> 2" >> >> in the minibuffer. > > I don't see that here (with 26.1.91). Sorry - I messed up the the numbers from two different experiments so the report makes no sense. Note: What matters is the _two lines vs one line_ behavior. I'll rephrase the report now, hopefully correct this time: With emacs -Q evaluate (message "2\n3") This gets me a two line message "2 3" in the minibuffer window. Now do M-x: shell and reevaluate the form above. This gets me a one line message "2\n3" in the minibuffer window. Reliably reproducible with today's build of Emacs 26.1.91 on GNU/Linux with the GTK, Lucid and Motif toolkits and on Windows XP. Two further observations: Once the shell has been entered, exiting it and killing the *shell* buffer does not change the behavior. The *Messages* buffer reliably reflects the behavior. Below see the entire buffer with the first 5 lines after evaluating the form before invoking shell and the final three lines after evaluating the form after invoking shell. ----------------------------------------------------------------- For information about GNU Emacs and the GNU system, type C-h C-a. 2 3 "2 3" 2 3 "2\n3" ----------------------------------------------------------------- martin PS: The scenario provided by Glenn is much simpler so let's stick to that.