From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: is there a human readable way to display syntax table? Date: Sun, 12 Oct 2008 18:13:41 +0200 Message-ID: References: <483eaf97-fc85-423c-8f05-ecd42a0c1507@t18g2000prt.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223828079 10823 80.91.229.12 (12 Oct 2008 16:14:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Oct 2008 16:14:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 12 18:15:36 2008 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 1Kp3bQ-00089o-Ps for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Oct 2008 18:15:33 +0200 Original-Received: from localhost ([127.0.0.1]:46335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kp3aM-0000ks-CW for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Oct 2008 12:14:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kp3Zi-0000Wg-QF for help-gnu-emacs@gnu.org; Sun, 12 Oct 2008 12:13:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kp3Zg-0000Ve-R6 for help-gnu-emacs@gnu.org; Sun, 12 Oct 2008 12:13:46 -0400 Original-Received: from [199.232.76.173] (port=57751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kp3Zg-0000VZ-M4 for help-gnu-emacs@gnu.org; Sun, 12 Oct 2008 12:13:44 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:36629) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kp3Zg-0002oF-Ci for help-gnu-emacs@gnu.org; Sun, 12 Oct 2008 12:13:44 -0400 Original-Received: from thursday (BAH4860.bah.pppool.de [77.135.72.96]) by dd18200.kasserver.com (Postfix) with ESMTP id C46F718074837; Sun, 12 Oct 2008 18:13:46 +0200 (CEST) In-Reply-To: <483eaf97-fc85-423c-8f05-ecd42a0c1507@t18g2000prt.googlegroups.com> (Xah's message of "Sun\, 12 Oct 2008 07\:52\:27 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58707 Archived-At: Xah wrote: > when creating a syntax table while writing a new mode, i need to pick > a syntax table to inherit. You don't need to. You can (if that saves you work). > I'm mostly interested in seeing which of the ascii chars's classes, in > the standard-syntax-table, text-mode- syntaxt-table, or > c-mode-syntax-table. (with-syntax-table c-mode-syntax-table (let ((c 0)) (while (< c ?~) (insert (format "%c: %c\n" c (char-syntax c))) (incf c)))) regards, Nikolaj Schumacher