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: Fri, 28 Oct 2022 22:18:26 +0300 Message-ID: <838rkzkb99.fsf@gnu.org> References: <877d0j3ix1.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37589"; 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 Fri Oct 28 21:19:44 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 1ooUtM-0009Wa-AE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Oct 2022 21:19:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooUsm-0003PN-98; Fri, 28 Oct 2022 15:19:08 -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 1ooUsj-0003G5-Oj for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 15:19:06 -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 1ooUsg-0003Ei-88 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 15:19:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooUsf-0001uD-J4 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 15:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Oct 2022 19:19:01 +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.16669847237298 (code B ref 58843); Fri, 28 Oct 2022 19:19:01 +0000 Original-Received: (at 58843) by debbugs.gnu.org; 28 Oct 2022 19:18:43 +0000 Original-Received: from localhost ([127.0.0.1]:34298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooUsK-0001tb-8x for submit@debbugs.gnu.org; Fri, 28 Oct 2022 15:18:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooUsG-0001tK-MQ for 58843@debbugs.gnu.org; Fri, 28 Oct 2022 15:18:39 -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 1ooUsB-0003BN-Ab; Fri, 28 Oct 2022 15:18:31 -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=BPxthAcXT0Dd8mENQR7+RS7rLcp+APKIMMs6/gk8LlQ=; b=W9+rf06nw2// 1zYGXP5BZOhqwkfE0QmW2x8DmQ0LZgwHuPQA5UwBho0BFBL7pXUUJwC5i/nd9RMMBhghtWqU5p2mF LU5Ixi0FZRohBx3R7XNjAiis9RVY5Gebk+GQOLnpSo99D8WY/DqdZyKWlMGOSvjTZCNAWW38zeHgM ImiH7+ST/YAa20EYa65G37DYzihLcJgbLEiDNhbUutJ5DpVQmuAtq/2mT3cDq7XZuMV+yg9wvCoz/ WJSFGpxjV8IBKAXqiMpWUezJlnyy4YGMPh4yOIfr7FPZHpOn5AMj/DWU6IJpr3kzHt1Ya5GfKTfgk wDSLNcDds/lJ3oieEjxozw==; 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 1ooUsA-0001sH-JQ; Fri, 28 Oct 2022 15:18:30 -0400 In-Reply-To: <877d0j3ix1.fsf@posteo.net> (message from Philip Kaludercic on Fri, 28 Oct 2022 18:24:58 +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:246449 Archived-At: > From: Philip Kaludercic > Date: Fri, 28 Oct 2022 18:24:58 +0000 > > Tags: patch > > > When someone sends you rot13'ed text but the buffer is read-only, it > seems the next best thing one can do is to print the decrypted text. I > don't think it makes sense in general for `translate-region' to do the > same, so I just modified the code in rot13.el. Thanks, but I see no patch in your message. I see a complete rot13.el file.