From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#58843: Print "decrypted" rot13 text is buffer is read-only Date: Sat, 29 Oct 2022 16:25:07 +0000 Message-ID: <87eduqppgc.fsf@posteo.net> References: <877d0j3ix1.fsf@posteo.net> <838rkzkb99.fsf@gnu.org> <87zgdf20zr.fsf@posteo.net> <835yg3jhxm.fsf@gnu.org> <87k04j16uc.fsf@posteo.net> <83o7tvhzu7.fsf@gnu.org> <87zgdeprwl.fsf@posteo.net> <83leoyhbnl.fsf@gnu.org> <87ilk2pqg4.fsf@posteo.net> <83ilk2halz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58843@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 18:26: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 1ooofG-0008Lf-3x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 18:26:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oooet-0000XC-Du; Sat, 29 Oct 2022 12:26:07 -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 1oooep-0000X1-9K for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 12:26:03 -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 1oooep-0002Lt-1S for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 12:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oooeo-0007mC-Gg for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 16:26: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.166706072129842 (code B ref 58843); Sat, 29 Oct 2022 16:26:02 +0000 Original-Received: (at 58843) by debbugs.gnu.org; 29 Oct 2022 16:25:21 +0000 Original-Received: from localhost ([127.0.0.1]:36461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oooe8-0007lG-K7 for submit@debbugs.gnu.org; Sat, 29 Oct 2022 12:25:20 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oooe5-0007kx-F6 for 58843@debbugs.gnu.org; Sat, 29 Oct 2022 12:25:18 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3006F240105 for <58843@debbugs.gnu.org>; Sat, 29 Oct 2022 18:25:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667060711; bh=PqnjIlRluL8NcgeiZIifIXlMx+XAgmH1AKpSiJpcW/0=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=SVnWmL5Y/XullUxZ7ZXoA6JFhBXxpR05N35zHAbIfwxM64FPj7lyx/3pG9zr+cHBN v1RJfr6ybBHwUxH0Uo85geHorqxAiIkvC1NBWTlbIgGPgjF8TnnsQscCFZIKav8MFa /y26XUE1DZQKsJOSggGFNg3p1fAHi3eeFlqWkngtdrpDHLNYuBJaxPRAcAQlsZB7vO y5L3HxrXOo5MMWgwutiXal5yhWeBzW7i7XDIeD6zfWef7/ICI/j6WVeBot2QIET0SE dRgNS57auCO5xlPfkKGrdEVu9hhS0XIz1YcPfrUudYUZ3EnhM180DEA9i1iKVzo7yH kFMyd0QJ6HDKg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N04Wp2kzbz9rxG; Sat, 29 Oct 2022 18:25:07 +0200 (CEST) In-Reply-To: <83ilk2halz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2022 19:12:56 +0300") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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:246552 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: 58843@debbugs.gnu.org >> Date: Sat, 29 Oct 2022 16:03:39 +0000 >> >> Eli Zaretskii writes: >> >> > LGTM, but what about the suitable change to the user manual? >> >> I can't appear to find anything in the manual mentioning rot13. Are you >> suggesting creating a new node? > > No, this is described in the "Rmail Rot13" node. Ah yes. How does this look like: --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index e38bde036a..4939f5597c 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi @@ -1409,6 +1409,13 @@ Rmail Rot13 rot13-other-window}. This displays the current buffer in another window which applies the code when displaying the text. +@findex rot13-region + If you are only interested in a region, the command @kbd{M-x +rot13-region} might be preferable. This will decrypt the active +region in place. If the buffer is read-only, it will attempt to +display the plain text in the echo area. If the text is too long, a +separate buffer will be used. + @node Movemail @section @command{movemail} program @cindex @command{movemail} program --=-=-=--