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: Fri, 14 May 2021 10:07:03 +0300 Message-ID: <83fsypztd4.fsf@gnu.org> References: <87cztt4yg9.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48409-done@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 09:07:11 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 1lhRuh-0007hh-3n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 09:07:11 +0200 Original-Received: from localhost ([::1]:40812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhRuf-0005yR-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 03:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhRuY-0005xt-UR for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 03:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhRuY-0007cg-0g for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 03:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhRuX-0006lk-SX for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 03:07:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 07:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48409 X-GNU-PR-Package: emacs Mail-Followup-To: 48409@debbugs.gnu.org, eliz@gnu.org, jidanni@jidanni.org Original-Received: via spool by 48409-done@debbugs.gnu.org id=D48409.162097601926007 (code D ref 48409); Fri, 14 May 2021 07:07:01 +0000 Original-Received: (at 48409-done) by debbugs.gnu.org; 14 May 2021 07:06:59 +0000 Original-Received: from localhost ([127.0.0.1]:44803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhRuU-0006lP-RW for submit@debbugs.gnu.org; Fri, 14 May 2021 03:06:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhRuT-0006lD-GT for 48409-done@debbugs.gnu.org; Fri, 14 May 2021 03:06:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44786) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhRuN-0007VF-4C; Fri, 14 May 2021 03:06:52 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1339 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 1lhRuK-00041B-Pq; Fri, 14 May 2021 03:06:51 -0400 In-Reply-To: <87cztt4yg9.5.fsf@jidanni.org> 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:206483 Archived-At: > From: 積丹尼 Dan Jacobson > > Date: Fri, 14 May 2021 14:32:54 +0800 > > Do e.g., > M-! cat /etc/motd > > OK now in the minibuffer are several lines of juicy text. > > Now grab the mouse and attempt to copy that text. > > Alas, upon clicking, the text disappears. > > Pro users know better, but average bumpkin users will be frustrated. > > So maybe have the minibuffer stay put / stay open during this sequence of events. Please RTFM. The doc string of M-! says, inter alia: If COMMAND ends in ‘&’, execute it asynchronously. The output appears in the buffer ‘*Async Shell Command*’. That buffer is in shell mode. You can also use ‘async-shell-command’ that automatically adds ‘&’. Otherwise, COMMAND is executed synchronously. The output appears in the buffer ‘*Shell Command Output*’. If the output is short enough to display in the echo area (which is determined by the variables ‘resize-mini-windows’ and ‘max-mini-window-height’), it is shown there, but it is nonetheless available in buffer ‘*Shell Command Output*’ even though that buffer is not automatically displayed. (The user manual has a similar text.) So the text you want is still available in an Emacs buffer, and you can take it from there. Closing.