From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Compiling Elisp to a native code with a GCC plugin Date: Fri, 17 Sep 2010 15:17:37 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87bp805ecr.fsf@gmail.com> <87bp7zhu0j.fsf@lola.goethe.zz> <8739tbhsiz.fsf@lola.goethe.zz> <83vd6423er.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284729552 3695 80.91.229.12 (17 Sep 2010 13:19:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 13:19:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 15:19:11 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwaqM-0006WL-N8 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 15:19:11 +0200 Original-Received: from localhost ([127.0.0.1]:54898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwaqM-0003J2-06 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 09:19:10 -0400 Original-Received: from [140.186.70.92] (port=42983 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwapE-0002p3-9q for emacs-devel@gnu.org; Fri, 17 Sep 2010 09:18:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owap9-0003pw-Vx for emacs-devel@gnu.org; Fri, 17 Sep 2010 09:18:00 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49243) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owap9-0003pk-MH for emacs-devel@gnu.org; Fri, 17 Sep 2010 09:17:55 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Owap4-0005nh-QX for emacs-devel@gnu.org; Fri, 17 Sep 2010 15:17:50 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Sep 2010 15:17:50 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Sep 2010 15:17:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEW+sqD9+ecJCw4ABQgn HiBeTUUBBwt57iBIAAACQklEQVQ4jXVTwa7bIBBcV+HuSM292mJ/QHnyOUXsnVjsD+An/v8TOgt2 +nooimzCsDPDLKb7fwbZY6brH/0DzDeWPLuUEvskeboAVyJ7eYiWFDFLKQ/AJebIMQkVzJKqRkNo 2qNXLcwq0QMuQuTARr93UVHdOXofWQRYF6G8C90SF4Eys4/+Au47C3YmSVETL6LstQNTklgWOCrR g4+lwLsBzyXHIupSkd3IUO/TCwCL8zcll5aXY1/YKj1kiJ9FSWeHo2WnE00zLOCMBP85F8ogGOT3 HoRR3SCftShM+ZfJFl7SBACaEQE5SfBsNZiVF7FxAFoKe8pSDElKT4rfkCfXn82cIsk9T7MoZdpL Sj804swZWabFyTRn557kCk6Wy9mfGfE+HzDypOzv9Jjm0bY7shS9qQg0li83AOya9eaSZhL6AjyQ Gjr1XRHB6+udeajep9vLXl/3g2qC1pxnXCNC85Wu4fJ7SmuzEbbW8Dsqt1ptgWmsH1t/t2r71g7g uR1hrG+NB4yGdarQqU742Gr7NGC7ABTUYzB+aqTV5kcIoUu2zd61AOisIQzkgNxqQIpd4wgDCqfO L6tY2wENI4PlYwuDqsTrgKHZcndwtA33/qTC2NqQQeW7wpYN2PrJwxsIVrEZFXPPDd8Vn1QbKrqj XsgFGkMabsB9jD3maqTbxa+Eof2Z3nZRsR0jFMSOivUERquuhtQEKj4D7eu1dqB9nP24ilplM3yE j70i3foXYh4n+dhBtdq2ld9A5bXh6/0DlnQLbdeKcrIAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Depeche Mode's _Shake The Disease_: "Shake The Disease (Remixed Extended Version)" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:oUnPyM59l5BJQDQ6/IFLK5Pasu8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130299 Archived-At: Eli Zaretskii writes: > What aspects of buffers and strings you think you might not > understand? Ask here any specific questions you have. I mainly wonder how the text in the buffer is really represented. Is it like a string (which is utf8-ish), but with a gap somewhere? >> Is there an architectural overview of the Emacs internal anywhere? > > See the "Object Internals" node in the ELisp manual. Buffers are > described there, but strings are not. Thanks; that's a helpful node. However, the node seems to, er, not match up to how functions really are written. The code is full of BEGV, PT and CHECK_STRING, which is likely somewhat mysterious to new hackers. At least I was confused. :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen