From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: libnettle/libhogweed WIP Date: Wed, 19 Apr 2017 10:48:55 -0400 Message-ID: References: <83a89gq3us.fsf@gnu.org> <87bmtjiv0w.fsf_-_@lifelogs.com> <83o9xjn06c.fsf@gnu.org> <87shmeb5ln.fsf_-_@lifelogs.com> <83y3w5z1ez.fsf@gnu.org> <87lgr6yakj.fsf@lifelogs.com> <87wpamww9k.fsf@lifelogs.com> <8337daggnj.fsf@gnu.org> <87d1cdwxt6.fsf@lifelogs.com> <83tw5pg1q3.fsf@gnu.org> <87zifhulc2.fsf@lifelogs.com> <83h91og80k.fsf@gnu.org> <87pogbuhoe.fsf@lifelogs.com> <834lxndmd9.fsf@gnu.org> <87efwrug6z.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492613489 20770 195.159.176.226 (19 Apr 2017 14:51:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2017 14:51:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 16:51:24 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0qwz-0005CO-IA for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2017 16:51:21 +0200 Original-Received: from localhost ([::1]:48590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0qx5-0002Y7-9H for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2017 10:51:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0quk-0001Nd-Ft for emacs-devel@gnu.org; Wed, 19 Apr 2017 10:49:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0qug-000451-K2 for emacs-devel@gnu.org; Wed, 19 Apr 2017 10:49:02 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0qug-00043h-F9 for emacs-devel@gnu.org; Wed, 19 Apr 2017 10:48:58 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v3JEmug0026322; Wed, 19 Apr 2017 10:48:56 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CF551662E0; Wed, 19 Apr 2017 10:48:55 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Wed, 19 Apr 2017 16:16:39 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6003=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6003> : inlines <5813> : streams <1741881> : uri <2412394> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214122 Archived-At: > But Emacs does have functions already that are rather... vague... about > what they do in this area and people seem to live with the ambiguity: > (base64-decode-string (base64-encode-string "H=C3=A9llo")) > =3D> "H\351llo" Yes, we have such cases of permissiveness in many places. I think they're all errors and would rather not make it worse. > The less confusion in this area the better, and especially for > encryption functions where you really want to get the correct text back > again, I think it would be better, long-term, to not allow non-unibyte > text inputs. My thoughts exactly. Stefan