From: Philip Kaludercic <philipk@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58843@debbugs.gnu.org
Subject: bug#58843: Print "decrypted" rot13 text is buffer is read-only
Date: Sat, 29 Oct 2022 06:28:43 +0000 [thread overview]
Message-ID: <87k04j16uc.fsf@posteo.net> (raw)
In-Reply-To: <835yg3jhxm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2022 08:51:49 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: 58843@debbugs.gnu.org
>> Date: Fri, 28 Oct 2022 19:37:28 +0000
>>
>> >> 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.
>>
>> Oops, I must have selected the wrong file.
>
> 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?
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.
> This also needs a NEWS entry, I think.
Will do.
next prev parent reply other threads:[~2022-10-29 6:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 18:24 bug#58843: Print "decrypted" rot13 text is buffer is read-only Philip Kaludercic
2022-10-28 19:18 ` Eli Zaretskii
2022-10-28 19:37 ` Philip Kaludercic
2022-10-29 5:51 ` Eli Zaretskii
2022-10-29 6:28 ` Philip Kaludercic [this message]
2022-10-29 7:08 ` Eli Zaretskii
2022-10-29 15:32 ` Philip Kaludercic
2022-10-29 15:50 ` Eli Zaretskii
2022-10-29 16:03 ` Philip Kaludercic
2022-10-29 16:12 ` Eli Zaretskii
2022-10-29 16:25 ` Philip Kaludercic
2022-10-29 16:45 ` Eli Zaretskii
2022-10-30 14:17 ` Philip Kaludercic
2022-11-04 23:09 ` Philip Kaludercic
2022-10-30 14:44 ` Stefan Kangas
2022-10-30 14:52 ` Philip Kaludercic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k04j16uc.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=58843@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.