From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zack Piper Newsgroups: gmane.emacs.devel Subject: Re: need help Date: Sat, 2 May 2015 19:44:09 +0200 Message-ID: <20150502174408.GA8238@apertron.net> References: 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 1430588684 27500 80.91.229.3 (2 May 2015 17:44:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2015 17:44:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 02 19:44:38 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 1YobSv-000440-42 for ged-emacs-devel@m.gmane.org; Sat, 02 May 2015 19:44:37 +0200 Original-Received: from localhost ([::1]:57547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YobSu-00043n-Cr for ged-emacs-devel@m.gmane.org; Sat, 02 May 2015 13:44:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YobSi-00043U-6M for emacs-devel@gnu.org; Sat, 02 May 2015 13:44:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YobSd-0006OM-QS for emacs-devel@gnu.org; Sat, 02 May 2015 13:44:24 -0400 Original-Received: from apertron.net ([94.23.236.101]:50129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YobSd-0006Hw-Gd for emacs-devel@gnu.org; Sat, 02 May 2015 13:44:19 -0400 Original-Received: from apertron.net (apertron.net [94.23.236.101]) by apertron.net (Postfix) with ESMTPS id 2796E604A8 for ; Sat, 2 May 2015 19:44:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=apertron.net; s=mail; t=1430588650; bh=+VyR5S18HUE2nrE9YTl77nq0/K69O4SsvDM1n8EgG54=; h=Date:From:To:Subject:References:In-Reply-To; b=R/eQUzd0yQ45ILd6aQKUpOBiVn0X6c0u2lpd+/F11Sp/+svOZU/TNeC5gq6aUyLd3 MU/hP10iysY/YYoOxX+EJyJ+ekBt9lLE3PgdTCZ4SnV5/3z1tDdQ9Csx9RJRzm438+ r+/aZ/W8/60kzYEbeZDmQUaxo7PYEPnlqc8uEyhE= Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 94.23.236.101 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:186145 Archived-At: On Sun, May 03, 2015 at 01:30:19AM +0800, =E5=93=AA=E5=A4=A9=E7=9A=84=E6=99= =9A=E9=A3=8E wrote: > I don not know where to ask my questions. > So please regret me for asking some easy questions, which I really do n= ot know. Don't worry, asking questions is how you learn. :) >=20 >=20 > In emacs source code: > 1. Where is the definition of DEFSYM, I can not find it in lisp.h now. `M-x describe-function RET defsym RET` tells me it doesn't exist at all for me, so probably not at all for anyone. > 2. Where is the definition of the struct emacs_globals, I can not find = it in all the source .c .h files=20 > in emacs-master source code which I get from github. `emacs_globals` is mentioned at: - line 116 of src/alloc.c - line 3, and 1009 of src/globals.h > 3. Can you give me some advice for reading the emacs source code ? Well, learning C and LISP is a good start, and learning to use `grep` (I assume you're on Linux or a platform like it) is great for finding thi= ngs. --=20 Zack Piper http://apertron.net