From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48409: Text runs away before user can copy it Date: Tue, 18 May 2021 16:13:19 +0300 Message-ID: <83bl98rxqo.fsf@gnu.org> References: <87cztt4yg9.5.fsf@jidanni.org> <83fsypztd4.fsf@gnu.org> <87cztt9qdj.fsf@mail.linkov.net> <83mtsxxfo8.fsf@gnu.org> <87h7j12j93.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 48409@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 15:14:27 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lizYJ-0009MC-4b for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 15:14:27 +0200 Original-Received: from localhost ([::1]:36824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lizYI-0005IL-3A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 09:14:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lizXu-0005Hq-Nl for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 09:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lizXu-0006xo-EZ for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 09:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lizXu-00071q-9O for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 09:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 13:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48409 X-GNU-PR-Package: emacs Original-Received: via spool by 48409-submit@debbugs.gnu.org id=B48409.162134360426965 (code B ref 48409); Tue, 18 May 2021 13:14:02 +0000 Original-Received: (at 48409) by debbugs.gnu.org; 18 May 2021 13:13:24 +0000 Original-Received: from localhost ([127.0.0.1]:54640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lizXI-00070r-Bn for submit@debbugs.gnu.org; Tue, 18 May 2021 09:13:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lizXF-00070d-Ek for 48409@debbugs.gnu.org; Tue, 18 May 2021 09:13:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34552) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lizX9-0006VD-3j; Tue, 18 May 2021 09:13:15 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1834 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lizX8-0000Dw-JH; Tue, 18 May 2021 09:13:14 -0400 In-Reply-To: <87h7j12j93.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 17 May 2021 23:53:12 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206773 Archived-At: > From: Juri Linkov > Cc: Alan Mackenzie , 48409@debbugs.gnu.org > Date: Mon, 17 May 2021 23:53:12 +0300 > > Something strange is going on here: > > 1. when the shell output displayed in the echo area is only 1 line: > > M-! echo -e "line1" RET > > then clicking on the echo area displays the *Messages* buffer correctly. > > 2. But when the output has more lines: > > M-! echo -e "line1\nline2" RET > > then clicking on the echo area signals an error: > > mouse-minibuffer-check: Minibuffer window is not active You don't need M-! for this, 'message' is enough: emacs -Q (message "line1\nline2") C-x C-e click mouse-1 in the mini-window Alan, are you looking into this? My guess is that this has something to do with the fact the the echo-area buffer is displayed in the mini-window, and the view-echo-area-messages binding is only active in the minibuffer, not in an echo-area buffer. But that's a guess.