emacs-devel
[Top][All Lists]
Advanced

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

Re: Missing syntax-table functionality


From: Richard Stallman
Subject: Re: Missing syntax-table functionality
Date: Wed, 2 Jan 2002 11:01:18 -0700 (MST)

    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?

      "Return the syntax of the character at position BUFPOS in BUFFER
    \(default: the current buffer \).
    This may be due to a setting of the syntax-table property on the
    character or be read directly from the current syntax table."

That doc string seems reasonable.



reply via email to

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