From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: is there a human readable way to display syntax table? Date: Fri, 17 Oct 2008 11:36:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <483eaf97-fc85-423c-8f05-ecd42a0c1507@t18g2000prt.googlegroups.com> <5e70cb60-bbe9-4e9f-8d37-5e8f2786d81b@42g2000pry.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224268852 28428 80.91.229.12 (17 Oct 2008 18:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 18:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 20:41:51 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KquGi-0006Ix-PJ for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 20:41:49 +0200 Original-Received: from localhost ([127.0.0.1]:36124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KquFd-0007Lv-Ux for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 14:40:41 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!c22g2000prc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1224268608 28930 127.0.0.1 (17 Oct 2008 18:36:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 17 Oct 2008 18:36:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c22g2000prc.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163536 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58877 Archived-At: Kevin Rodgers wrote: > From the "Syntax Basics" node of the Emacs Lisp manual: > ... Hi Kevin, Thanks for the manual pointers. I'm new in these areas so a reading with the manual didn't help. My specific question are: (1) when one create a new mode for a newLang, does he basically go thru the process of defining it using code similar to this (defvar newLang-mode-syntax-table (let ((st (make-syntax-table))) (modify-syntax-entry ?\" ". " st) (modify-syntax-entry ?\\ ". " st) ; more... st) ) and go thru each char in newLang and add a modify-syntax-entry? (2) does a syntax table supposed have a definition for every char in the unicode? This is kinda tedious as there are few thousand chars there. Where is the source code where one can see the root syntax table is defined? Xah =E2=88=91 http://xahlee.org/ =E2=98=84