unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: juntaka@protonmail.com, 47718@debbugs.gnu.org
Subject: bug#47718: Fix epa-file-insert-file-contents substring error
Date: Tue, 13 Apr 2021 09:01:30 +0200	[thread overview]
Message-ID: <87im4qu0qd.fsf@gnus.org> (raw)
In-Reply-To: <83o8ej3ebk.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Apr 2021 14:57:51 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Actually, I wonder whether this is TRT: why should we silently accept
> invalid inputs when substring itself doesn't?

insert-file-contents does not signal an error in this case, so
epa-file-insert-file-contents shouldn't either.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-04-13  7:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  4:20 bug#47718: Fix epa-file-insert-file-contents substring error juntaka via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-12  8:14 ` Lars Ingebrigtsen
2021-04-12 11:57   ` Eli Zaretskii
2021-04-12 12:57     ` juntaka via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-12 13:23       ` Eli Zaretskii
2021-04-13  0:27         ` juntaka via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-13  7:01     ` Lars Ingebrigtsen [this message]
2021-04-12 12:51   ` juntaka via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-13  7:02     ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im4qu0qd.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47718@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=juntaka@protonmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).