From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Sat, 14 Feb 2015 21:25:06 +0200 Message-ID: <833868wb1p.fsf@gnu.org> References: <85k31coixa.fsf@stephe-leake.org> <85oapy5kt6.fsf@stephe-leake.org> <83y4oiiw81.fsf@gnu.org> <838ugdf251.fsf@gnu.org> <54D80098.3020209@cs.ucla.edu> <54D85304.1030600@cs.ucla.edu> <54D9AC29.2020603@cs.ucla.edu> <54DA8539.1020905@cs.ucla.edu> <87zj8ktq8f.fsf@lifelogs.com> <54DD6413.1000403@cs.ucla.edu> <83wq3m436s.fsf@gnu.org> <834mqowbnh.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423941923 12852 80.91.229.3 (14 Feb 2015 19:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2015 19:25:23 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 14 20:25: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 1YMiL5-0002sY-4g for ged-emacs-devel@m.gmane.org; Sat, 14 Feb 2015 20:25:15 +0100 Original-Received: from localhost ([::1]:60932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMiL4-0002pC-Ir for ged-emacs-devel@m.gmane.org; Sat, 14 Feb 2015 14:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMiL0-0002p6-G3 for emacs-devel@gnu.org; Sat, 14 Feb 2015 14:25:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMiKx-0005oW-9z for emacs-devel@gnu.org; Sat, 14 Feb 2015 14:25:10 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:46057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMiKx-0005lC-0R for emacs-devel@gnu.org; Sat, 14 Feb 2015 14:25:07 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NJS009000KQL700@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 14 Feb 2015 21:25:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJS0099J0LTJJ30@a-mtaout23.012.net.il>; Sat, 14 Feb 2015 21:25:05 +0200 (IST) In-reply-to: <834mqowbnh.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:183072 Archived-At: > Date: Sat, 14 Feb 2015 21:12:02 +0200 > From: Eli Zaretskii > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > > The above means that most of the C source files under modules/ should > be thoroughly rewritten. They are currently written as if the code > were an integral part of Emacs on one of the Emacs C files. Btw, one thing that the current code in modules/ entirely ignores is encoding of file names, URLs, and buffer/string text: the current code simply hands C pointers to string/buffer internals to C APIs. Modules should encode/decode them when they communicate with C library APIs, otherwise the result will be subtle bugs with non-ASCII text.