[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing syntax-table functionality
From: |
Kenichi Handa |
Subject: |
Re: Missing syntax-table functionality |
Date: |
Mon, 7 Jan 2002 13:10:51 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
Richard Stallman <address@hidden> writes:
> It would be nice to have a standard function which would report the
> syntax of a character within a buffer. The existing function char-syntax
> is no longer adequate, since it cannot take account of any syntax-table
> text property which may have been set at a buffer position.
> The function seems to make sense. I think that syntax-after is a
> better name for it.
> Would someone like to write it?
If someone write it, please also modify describe-char-after
(in international/mule-diag.el). It currently has this
code:
("syntax"
,(let ((syntax (aref (syntax-table) char)))
(with-temp-buffer
(internal-describe-syntax-value syntax)
(buffer-string))))
---
Ken'ichi HANDA
address@hidden