From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp's future Date: Wed, 08 Oct 2014 03:32:21 +0900 Message-ID: <8738azspca.fsf@uwakimon.sk.tsukuba.ac.jp> References: <54193A70.9020901@member.fsf.org> <87tx3tmi3t.fsf@fencepost.gnu.org> <834mvttgsf.fsf@gnu.org> <87lhp5m99w.fsf@fencepost.gnu.org> <87h9ztm5oa.fsf@fencepost.gnu.org> <87d2ahm3nw.fsf@fencepost.gnu.org> <871tqneyvl.fsf@netris.org> <87d2a54t1m.fsf@yeeloong.lan> <83lhotme1e.fsf@gnu.org> <871tql17uw.fsf@yeeloong.lan> <838uktm9gw.fsf@gnu.org> <87h9zgarvp.fsf@fencepost.gnu.org> <87mw97rjwm.fsf@yeeloong.lan> <874mvfc2h0.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1412706804 24949 80.91.229.3 (7 Oct 2014 18:33:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2014 18:33:24 +0000 (UTC) Cc: Richard Stallman , Andreas Schwab , dmantipov@yandex.ru, emacs-devel@gnu.org, handa@gnu.org, monnier@iro.umontreal.ca, Mark H Weaver , Eli Zaretskii To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 07 20:33:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XbZZT-00048C-IS for ged-emacs-devel@m.gmane.org; Tue, 07 Oct 2014 20:33:15 +0200 Original-Received: from localhost ([::1]:60358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbZZT-0008Af-78 for ged-emacs-devel@m.gmane.org; Tue, 07 Oct 2014 14:33:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbZZ7-00084m-Ce for emacs-devel@gnu.org; Tue, 07 Oct 2014 14:33:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbZYz-0003gD-Rp for emacs-devel@gnu.org; Tue, 07 Oct 2014 14:32:53 -0400 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:41657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbZYk-0003a4-2k; Tue, 07 Oct 2014 14:32:30 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTP id E894B1C393B; Wed, 8 Oct 2014 03:32:21 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id D9F881A2888; Wed, 8 Oct 2014 03:32:21 +0900 (JST) In-Reply-To: <874mvfc2h0.fsf@fencepost.gnu.org> X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175091 Archived-At: David Kastrup writes: > Just bombing out in some predetermined manner in some fixed location is > not a substitute for properly planned behavior. Nobody proposed that, so please stop arguing against it. > Unless told differently, a tool like GUILE or Emacs, when used as a > filter, should do exactly _those_ filtering operations you tell it. Right. All Mark and I want is to default safely. Ie, if you invoke an encoding named "utf-8", you get strictly conformant output. When Emacs is being used as a filter, you just have to use the 'utf-8-with-rawbytes coding system, and when Emacs is being used for what is presumably valid text, you use the 'utf-8 coding system. IOW, it's use of the *-with-rawbytes coding systems that turns Emacs into a filter. I think that is way preferable to the alternative where 'utf-8 gives rawbytes, and you have to use 'utf-8-strict to get validation.