From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: reading the C source of Emacs Date: Sun, 12 Jan 2003 20:56:10 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84iswuta5h.fsf@lucy.is.informatik.uni-duisburg.de> References: <847kdbml8f.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042401620 26148 80.91.224.249 (12 Jan 2003 20:00:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2003 20:00:20 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18XoHJ-0006nT-00 for ; Sun, 12 Jan 2003 21:00:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18XoHd-0001Nn-01 for gnu-help-gnu-emacs@m.gmane.org; Sun, 12 Jan 2003 15:00:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!p508777c3.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: p508777c3.dip.t-dialin.net (80.135.119.195) Original-X-Trace: fu-berlin.de 1042401400 20008623 80.135.119.195 (16 [73968]) User-Agent: Gnus/5.090012 (Oort Gnus v0.12) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:yza4cZVbc2FeWiF7FxNJT3tdZ94= Original-Xref: shelby.stanford.edu gnu.emacs.help:108877 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5406 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5406 Oliver Scholz writes: > Hmm, I haven't thought of that. But it could be an idea. Many of my > wishes are far above my head at the moment, but maybe I could find or > invent something which is sufficently limited to play a bit with it > and to get a feeling for it. Thanks you. I don't understand that "above your head" part. Previously, you wanted to grok all of the C code. Now you say grokking only a small bit to implement something is too difficult. Well. Don't be offended by the previous paragraph. I was trying to be provocative. Of course, if what you have in mind is inherently difficult to do (how to extend doctor.el to pass the Turing test, say), then just grokking all of the C code of Emacs is easier. But if what you have in mind is not inherently so difficult, then I believe that having something to focus on to guide you through the code will help a lot. The feature you want to implement can be your guide through the source code. FWIW, C is quite small a language. So it's not difficult to master all of the syntax of it, except for some dark areas best left to the real gurus. The operator precedence is part of that dark area, and also the syntax for specifying certain data types. I recommoned the cdecl program: cdecl> declare f as pointer to function (int) returning pointer to char char *(*f)(int ) It accurately describes itself as a translation tool from gibberish to English and vice versa :-) -- Ambibibentists unite!