all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: is there a human readable way to display syntax table?
Date: Fri, 17 Oct 2008 11:36:48 -0700 (PDT)	[thread overview]
Message-ID: <c00706ca-3898-459a-874d-071c25942670@c22g2000prc.googlegroups.com> (raw)
In-Reply-To: mailman.1336.1224251466.25473.help-gnu-emacs@gnu.org

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
∑ http://xahlee.org/

      parent reply	other threads:[~2008-10-17 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12 14:52 is there a human readable way to display syntax table? Xah
2008-10-12 16:13 ` Nikolaj Schumacher
2008-10-12 16:18 ` Drew Adams
     [not found] ` <mailman.885.1223828028.25473.help-gnu-emacs@gnu.org>
2008-10-16 21:21   ` Xah
2008-10-17 13:50     ` Kevin Rodgers
     [not found]     ` <mailman.1336.1224251466.25473.help-gnu-emacs@gnu.org>
2008-10-17 18:36       ` Xah [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c00706ca-3898-459a-874d-071c25942670@c22g2000prc.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.