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#58843: Print "decrypted" rot13 text is buffer is read-only Date: Sat, 29 Oct 2022 10:08:00 +0300 Message-ID: <83o7tvhzu7.fsf@gnu.org> References: <877d0j3ix1.fsf@posteo.net> <838rkzkb99.fsf@gnu.org> <87zgdf20zr.fsf@posteo.net> <835yg3jhxm.fsf@gnu.org> <87k04j16uc.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33135"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58843@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 09:25:30 2022 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 1oogDg-0008NI-Hn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 09:25:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oogCQ-0007W2-H3; Sat, 29 Oct 2022 03:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oofxm-0004X9-U5 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 03:09:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oofxm-0007Az-E4 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oofxm-0003YF-7f for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 03:09: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: Sat, 29 Oct 2022 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58843 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58843-submit@debbugs.gnu.org id=B58843.166702729213589 (code B ref 58843); Sat, 29 Oct 2022 07:09:02 +0000 Original-Received: (at 58843) by debbugs.gnu.org; 29 Oct 2022 07:08:12 +0000 Original-Received: from localhost ([127.0.0.1]:34860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oofwx-0003X6-N4 for submit@debbugs.gnu.org; Sat, 29 Oct 2022 03:08:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oofwt-0003WR-K3 for 58843@debbugs.gnu.org; Sat, 29 Oct 2022 03:08:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oofwo-00072u-9z; Sat, 29 Oct 2022 03:08:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZcSs55gm+S7Tefo8dRGjRPBsvCZAPBlXNqlRbaWvNmg=; b=VOUlX5x7AnfG 0ZNB85NUxR+C1x/6D+jvTFyKmLdlXQALsUO6mgLETVOhUKwWkOgpFay4nwsAuNasCTszgwPivKQkE 7I54Mma3aE0ORcLktBW4Qoc2cZlVhlU/1vs2WplDr6CRWVS+bxGTrS7S5Sb9GbCazJGkle3b/1o1f 9ftlGKKxVWVdbFHS8O9NllkIApTcetL5S8Xbcy03WGt61irOcDyQ389GWMJmea4v8inCPZl4vHy9q W6RaD34NDlmh9Zoj8ifAkLcX2XLoQKxx/HP87fDDKqDky55NKrtUtrEdcFXPTIGAtmWQ5HCyhruT7 KYDxriWhIip2+D8aZNo1SQ==; Original-Received: from [87.69.77.57] (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 1oofwn-0003xM-P5; Sat, 29 Oct 2022 03:08:02 -0400 In-Reply-To: <87k04j16uc.fsf@posteo.net> (message from Philip Kaludercic on Sat, 29 Oct 2022 06:28:43 +0000) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246493 Archived-At: > From: Philip Kaludercic > Cc: 58843@debbugs.gnu.org > Date: Sat, 29 Oct 2022 06:28:43 +0000 > > Eli Zaretskii writes: > > > Showing the result in the echo-area is a good idea, but echo-area is > > not really suitable for displaying arbitrarily long text. How about > > popping a window with a temporary buffer instead? > > Is there a way to re-use shell-command's behaviour of displaying short > messages in the echo area and longer messages in a separate buffer? It's a few lines in shell-command, so you could reuse them, or make a utility function out of them. > Popping up a buffer just for one or two lines can be annoying, > especially if the information is not something you want to keep around. Sure, that would be even better. Although in that case we'd need to change what the manual says about the command, because it explicitly says we show the encoded text in another window.