From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.emacs.devel Subject: Re: Emacs rewrite in a maintainable language Date: Fri, 16 Oct 2015 17:25:24 +0200 Message-ID: <87bnbykf8b.fsf@gnu.org> References: <561A19AB.5060001@cumego.com> <87io6dl0h0.fsf@wanadoo.es> <87lhb82qxc.fsf@gmail.com> <87oag4jk74.fsf@wanadoo.es> <87k2qrki45.fsf@wanadoo.es> <8737xf9je9.fsf@fencepost.gnu.org> <87pp0fm0j3.fsf@gnu.org> <83r3kv54bg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445009175 3170 80.91.229.3 (16 Oct 2015 15:26:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Oct 2015 15:26:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 16 17:26:15 2015 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 1Zn6tW-0004hU-3q for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 17:26:10 +0200 Original-Received: from localhost ([::1]:54403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn6tU-0002rV-T0 for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 11:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn6ss-0002oY-M3 for emacs-devel@gnu.org; Fri, 16 Oct 2015 11:25:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn6sp-00017f-Ij for emacs-devel@gnu.org; Fri, 16 Oct 2015 11:25:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn6sp-00017b-FY for emacs-devel@gnu.org; Fri, 16 Oct 2015 11:25:27 -0400 Original-Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:46296 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Zn6so-0004sz-B6; Fri, 16 Oct 2015 11:25:26 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?utf-8?Q?Vend=C3=A9miaire?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <83r3kv54bg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Oct 2015 16:30:11 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:191764 Archived-At: Eli Zaretskii skribis: >> From: ludo@gnu.org (Ludovic Court=C3=A8s) >> Date: Fri, 16 Oct 2015 14:03:39 +0200 >>=20 >> David Kastrup skribis: >>=20 >> > This needs an overhaul of GUILE's string handling (which delegates par= ts >> > of it to helper libraries, some of those being under control of GNU, >> > some not). >>=20 >> String handling is partly delegated to GNU libunistring. There=E2=80=99= s no >> other library involved. > > Yes, but libunistring is not a good basis for Emacs's i18n features, > because it relies on the underlying C library for most of its > features. That doesn't allow writing programs that behave exactly the > same on any platform, something that Emacs must support. It also is > too locale-dependent, which is a Bad Thing on platforms which don't > have the glibc new-locale feature (and is IMO inelegant in use even on > glibc platforms). Well yes, libguile relies on things like iconv, either via libunistring or directly. Locale-dependent code is limited to the (ice-9 i18n) module, which is about locales. I don=E2=80=99t think it=E2=80=99s the end of the world, though. Emacs cou= ld pretty much keep using its own text I/O routines if those of Guile don=E2=80=99t f= it the bill. > Another minor point is that Guile still doesn't allow to control the > EOL format of text I/O independently of binary I/O mode, again > something that Emacs must (and does) have. Guile=E2=80=99s I/O ports could be extended to handle that, but again, even= if they don=E2=80=99t, Emacs could do its own thing. I doubt there are major blockers. Surely things will need to be tweaked here and there, but only hacking can tell. :-) Ludo=E2=80=99.