help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is there a human readable way to display syntax table?


From: Xah
Subject: Re: is there a human readable way to display syntax table?
Date: Fri, 17 Oct 2008 11:36:48 -0700 (PDT)
User-agent: G2/1.0

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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]