all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: Xah <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: is there a human readable way to display syntax table?
Date: Sun, 12 Oct 2008 18:13:41 +0200	[thread overview]
Message-ID: <m2myh9aj0q.fsf@nschum.de> (raw)
In-Reply-To: <483eaf97-fc85-423c-8f05-ecd42a0c1507@t18g2000prt.googlegroups.com> (Xah's message of "Sun\, 12 Oct 2008 07\:52\:27 -0700 \(PDT\)")

Xah <xahlee@gmail.com> 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




  reply	other threads:[~2008-10-12 16:13 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 [this message]
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

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=m2myh9aj0q.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xahlee@gmail.com \
    /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.